403Webshell
Server IP : 172.67.214.6  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /proc/self/root/home/redwjova/sort.llc/wp-content/plugins/ultimate-post/assets/js/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /proc/self/root/home/redwjova/sort.llc/wp-content/plugins/ultimate-post/assets/js/editor.blocks.js
/*! For license information please see editor.blocks.js.LICENSE.txt */
(()=>{var e={9160:(e,t,l)=>{"use strict";l.d(t,{Z:()=>c});var o=l(7294),a=l(7763),i=l(3049);const{useState:n}=wp.element,{__}=wp.i18n,{Dropdown:r,ToolbarButton:s,ToolbarGroup:p}=wp.components,c=({store:e,handleAddAccordion:t})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p,null,(0,o.createElement)(s,{label:"add new Accordion",onClick:()=>t()},(0,o.createElement)("div",{className:"ultp-toolbar-add-new"},"Add Accordion"))),(0,o.createElement)(p,null,(0,o.createElement)(i.lj,{store:e,attrKey:"barContentAlignment",options:i.M9,label:__("Bar Content Alignment","ultimate-post")})),(0,o.createElement)(r,{contentClassName:"ultp-menu-toolbar-drop",focusOnMount:!0,renderToggle:({onToggle:e})=>(0,o.createElement)(s,{label:"Style",icon:a.Z.styleIcon,onClick:()=>e()}),renderContent:({onClose:t})=>(0,o.createElement)(i.df,{title:!1,include:[{position:5,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"titleColor",label:__("Title Color","ultimate-post")},{type:"color",key:"subtitleColor",label:__("Subtitle Color","ultimate-post")},{type:"color",key:"titleIconColor",label:__("Title Icon Color","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"titleHoverColor",label:__("Title Color","ultimate-post")},{type:"color",key:"subtitleHoverColor",label:__("Subtitle Color","ultimate-post")},{type:"color",key:"iconHoverColor",label:__("Title Icon Color","ultimate-post")}]},{name:"active",title:__("Active","ultimate-post"),options:[{type:"color",key:"titleActiveColor",label:__("Title Color","ultimate-post")},{type:"color",key:"subtitleActiveColor",label:__("Subtitle Color","ultimate-post")},{type:"color",key:"iconActiveColor",label:__("Title Icon Color","ultimate-post")}]}]}}],initialOpen:!0,store:e})}),(0,o.createElement)(r,{focusOnMount:!0,contentClassName:"ultp-menu-toolbar-drop",renderToggle:({onToggle:e})=>(0,o.createElement)(p,null,(0,o.createElement)(s,{label:"Spacing",icon:a.Z.spacing,onClick:()=>e()})),renderContent:({onClose:t})=>(0,o.createElement)(i.df,{title:!1,include:[{position:1,data:{type:"range",key:"barWrapGap",min:0,max:300,step:1,responsive:!0,label:__("Gap Between Accordion Bars","ultimate-post")}}],initialOpen:!0,store:e})}))},7668:(e,t,l)=>{"use strict";l.d(t,{Z:()=>T});var o=l(7462),a=l(7294),i=l(7763),n=l(5501),r=l(9160),s=l(9838),p=l(3049),c=l(1760);const{__}=wp.i18n,{useEffect:u,useState:d,Fragment:m}=wp.element,{InnerBlocks:g,InspectorControls:y,BlockControls:b}=wp.blockEditor,{insertBlocks:v,updateBlockAttributes:h}=wp.data.dispatch("core/block-editor"),{getBlockAttributes:f,getBlockRootClientId:k,getBlockOrder:w,getBlocks:x}=wp.data.select("core/block-editor");function T(e){const[t,l]=d("Content"),{setAttributes:T,name:S,attributes:P,className:C,clientId:E,attributes:{blockId:_,currentPostId:L,advanceId:I,previewImg:U,enableTitleIcon:B,enableSubtitle:M,titleIcon:A,subtitlePosition:H,titleIconPosition:N,triggerIconPosition:j,chooseTriggerIconOpen:O,chooseTriggerIconClosed:Z,triggerIcon:R,autoCollapseEnable:D,initialSelectItem:F}}=e;u((()=>{const e=E.substr(0,6),t=f(k(E));(0,p.qi)(T,t,L,E),_?_&&_!=e&&(t?.hasOwnProperty("ref")||(0,p.k0)()||t?.hasOwnProperty("theme")||T({blockId:e})):T({blockId:e})}),[E]);const z={setAttributes:T,name:S,attributes:P,setSection:l,section:t,clientId:E};let W;if(_&&(W=(0,s.Kh)(P,"ultimate-post/accordion",_,(0,p.k0)())),U)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:U});const[G,V]=d(!1);let q=w(E).length;const $=()=>{V(!G);const e=x(E);e.length>0&&e.forEach((e=>{h(e.clientId,{activeBlock:!1})}));const t={activeBlock:!0,titleIcon:A,accText:"Add Your Accordion Title",enableSubtitle:M,enableTitleIcon:B,triggerIconPosition:j,chooseTriggerIconOpen:O,chooseTriggerIconClosed:Z},l=wp.blocks.createBlock("ultimate-post/accordion-item",t);v(l,q,E,!0)};u((()=>{const e=x(E);e.length>0&&e.forEach((e=>{h(e.clientId,{titleIcon:A,triggerIcon:R,enableSubtitle:M,initSelectAcc:F,enableTitleIcon:B,autoCollapseEnable:D,triggerIconPosition:j,chooseTriggerIconOpen:O,chooseTriggerIconClosed:Z})}))}),[A,R,M,B,G,F,D,j,O,Z]);let K=[];const J=x(E);return u((()=>{J.forEach(((e,t)=>{let l={label:e.attributes.accText,value:t};K=[...K,l]})),K?.length>0&&T({accordionList:K})}),[J]),(0,a.createElement)(m,null,(0,a.createElement)(y,null,(0,a.createElement)(n.Z,{store:z})),(0,a.createElement)(b,null,(0,a.createElement)(r.Z,{store:z,handleAddAccordion:$})),(0,a.createElement)(c.Z,{include:[{type:"template"}],store:z}),(0,a.createElement)("div",(0,o.Z)({},I&&{id:I},{className:`ultp-block-${_} ${C}`}),W&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:W}}),(0,a.createElement)("div",{className:`ultp-block-wrapper ultp-accordion-wrapper ultp-accordion__subtitle-${H} ultp-accordion__icon-${N}`},(0,a.createElement)(g,{renderAppender:!1,template:[["ultimate-post/accordion-item",{activeBlock:!0,titleIcon:A,enableSubtitle:M,enableTitleIcon:B,triggerIconPosition:j,chooseTriggerIconOpen:O,chooseTriggerIconClosed:Z}]],allowedBlocks:["ultimate-post/accordion-item"]}),(0,a.createElement)("div",{className:"ultp-accordion-new"},(0,a.createElement)("span",{className:"ultp-accordion-new__wrapper",onClick:()=>$()},i.Z.plus," Add New Accordion")))))}},124:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7462),a=l(7294);const{InnerBlocks:i}=wp.blockEditor;function n(e){const{blockId:t,advanceId:l,titleIconPosition:n,subtitlePosition:r,initialSelectItem:s,autoCollapseEnable:p}=e.attributes;return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{"data-bid":t,"data-active":s,"data-autocollapse":p,className:`ultp-block-${t}`}),(0,a.createElement)("div",{className:`ultp-accordion-wrapper ultp-accordion__subtitle-${r} ultp-accordion__icon-${n}`},(0,a.createElement)(i.Content,null)))}},5501:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(2637),i=l(3049),n=l(3581);const{__}=wp.i18n,r=({store:e})=>{const{accordionList:t,triggerIcon:l}=e?.attributes;let r=t&&t.sort(((e,t)=>e.value-t.value)).map((e=>({value:`${e.value}`,label:__(`#${e.value} ${e.label} `,"ultimate-post")})));return r=[...r,{value:"None",label:__("None","ultimate-post")}],(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid8851",store:e}),(0,o.createElement)(a.Sections,null,(0,o.createElement)(a.Section,{slug:"accordion",title:__("Accordion","ultimate-post")},(0,o.createElement)(i.T,{title:"inline",include:[{position:1,data:{type:"toggle",key:"autoCollapseEnable",label:__("Enable auto-collapse","ultimate-post")}},{position:2,data:{type:"select",key:"initialSelectItem",options:r?.length>0?r:[],label:__("Initially Opened Accordion","ultimate-post")}},{position:3,data:{type:"toggle",key:"enableSubtitle",label:__("Enable Subtitle","ultimate-post")}},{position:4,data:{type:"tag",key:"subtitlePosition",label:__("Subtitle Position","ultimate-post"),options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")},{value:"top",label:__("Top","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]}},{position:5,data:{type:"toggle",key:"enableTitleIcon",label:__("Title Icon","ultimate-post")}},{position:6,data:{type:"icon",key:"titleIcon",help:"Remove individual icons to apply the same icons to all sections",label:__("Choose Icon","ultimate-post")}},{position:7,data:{type:"tag",key:"titleIconPosition",label:__("Icon Position","ultimate-post"),options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")}]}},{position:8,data:{type:"toggle",key:"triggerIcon",label:__("Accordion Trigger Icon","ultimate-post")}},{position:9,data:{type:"icon",key:"chooseTriggerIconOpen",label:__("Accordion Open","ultimate-post")}},{position:9,data:{type:"icon",key:"chooseTriggerIconClosed",label:__("Accordion Closed","ultimate-post")}},{position:10,data:{type:"tag",key:"triggerIconPosition",label:__("Icon Position","ultimate-post"),options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")}]}}],initialOpen:!0,store:e})),(0,o.createElement)(a.Section,{slug:"style",title:__("Style","ultimate-post")},(0,o.createElement)(i.T,{title:__("Bar Element Style","ultimate-post"),include:[{position:1,data:{type:"alignment",key:"barContentAlignment",disableJustify:!0,label:__("Alignment","ultimate-post")}},{position:2,data:{type:"typography",key:"titleTypo",label:__("Title Typography","ultimate-post")}},{position:3,data:{type:"typography",key:"subtextTypo",label:__("Subtitle Typography","ultimate-post")}},{position:4,data:{type:"range",key:"titleIconSize",min:0,max:300,step:1,responsive:!0,label:__("Title Icon Size","ultimate-post")}},{position:5,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"titleColor",label:__("Title Color","ultimate-post")},{type:"color",key:"subtitleColor",label:__("Subtitle Color","ultimate-post")},{type:"color",key:"titleIconColor",label:__("Title Icon Color","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"titleHoverColor",label:__("Title Color","ultimate-post")},{type:"color",key:"subtitleHoverColor",label:__("Subtitle Color","ultimate-post")},{type:"color",key:"iconHoverColor",label:__("Title Icon Color","ultimate-post")}]},{name:"active",title:__("Active","ultimate-post"),options:[{type:"color",key:"titleActiveColor",label:__("Title Color","ultimate-post")},{type:"color",key:"subtitleActiveColor",label:__("Subtitle Color","ultimate-post")},{type:"color",key:"iconActiveColor",label:__("Title Icon Color","ultimate-post")}]}]}},{position:6,data:{type:"range",key:"titleSubtextGap",min:0,max:300,step:1,responsive:!0,label:__("Gap Between Title & Subtitle","ultimate-post")}},{position:7,data:{type:"range",key:"titleIconGap",min:0,max:300,step:1,responsive:!0,label:__("Gap Between Title & Title Icon","ultimate-post")}}],initialOpen:!0,store:e}),l&&(0,o.createElement)(i.T,{title:__("Accordion Trigger Icon","ultimate-post"),include:[{position:1,data:{type:"range",key:"triIconSize",min:0,max:300,step:1,responsive:!0,label:__("Icon Size","ultimate-post")}},{position:2,data:{type:"range",key:"titleTriggerIconGap",min:0,max:300,step:1,responsive:!0,label:__("Title & Trigger Icon Gap","ultimate-post")}},{position:3,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"triIconColor",label:__("Icon Color","ultimate-post")},{type:"color2",key:"triIconBg",label:__("Icon Background Color","ultimate-post")},{type:"border",key:"triIconBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"triIconRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"triIconHoverColor",label:__("Icon Color","ultimate-post")},{type:"color2",key:"triIconHoverBg",label:__("Icon Background Color","ultimate-post")},{type:"border",key:"triIconHoverBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"triIconHoverRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]},{name:"active",title:__("Active","ultimate-post"),options:[{type:"color",key:"triIconActiveColor",label:__("Icon Color","ultimate-post")},{type:"color2",key:"triIconActiveBg",label:__("Icon Background Color","ultimate-post")},{type:"border",key:"triIconActiveBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"triIconActiveRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]}]}},{position:4,data:{type:"dimension",key:"triIconPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],store:e}),(0,o.createElement)(i.T,{title:__("Accordion Bar Wrapper","ultimate-post"),include:[{position:1,data:{type:"range",key:"barWrapGap",min:0,max:300,step:1,responsive:!0,label:__("Gap Between Accordion Bars","ultimate-post")}},{position:2,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"barWrapBg",label:__("Background","ultimate-post")},{type:"border",key:"barWrapBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"barWrapRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"barWrapShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"barWrapHoverBg",label:__("Background","ultimate-post")},{type:"border",key:"barWrapHoverBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"barWrapHoverRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"barWrapHoverShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]},{name:"active",title:__("Active","ultimate-post"),options:[{type:"color2",key:"barWrapActiveBg",label:__("Background","ultimate-post")},{type:"border",key:"barWrapActiveBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"barWrapActiveRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"barWrapActiveShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]}]}},{position:4,data:{type:"dimension",key:"barWrapperPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],store:e}),(0,o.createElement)(i.T,{title:__("Content Area","ultimate-post"),include:[{position:1,data:{type:"range",key:"contentBarGap",min:0,max:300,step:1,responsive:!0,label:__("Gap From Accordion Bar","ultimate-post")}},{position:2,data:{type:"border",key:"contentBorder",label:__("Border","ultimate-post")}},{position:3,data:{type:"dimension",key:"contentRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:4,data:{type:"dimension",key:"contentPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:5,data:{type:"color2",key:"contentBg",label:__("Background","ultimate-post")}}],store:e})),(0,o.createElement)(a.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(i.Mg,{store:e}),(0,o.createElement)(i.iv,{store:e}))))}},7288:(e,t,l)=>{"use strict";l.d(t,{Z:()=>p});var o=l(7294),a=l(7763),i=l(1557);const{Dropdown:n,Toolbar:r,ToolbarButton:s}=wp.components,p=({store:e})=>{const{itemSingleIcon:t}=e.attributes;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(r,null,(0,o.createElement)(s,{label:"Duplicate",icon:a.Z.duplicate,onClick:()=>{wp.data.dispatch("core/block-editor").duplicateBlocks([e?.clientId],!0)}})),(0,o.createElement)(n,{popoverProps:{placement:"bottom-start"},className:"ultp-social-dropdown",renderToggle:({onToggle:e})=>(0,o.createElement)(r,{className:"ultp-toolbar-title-icon"},(0,o.createElement)(s,{size:"small",className:"ultp-toolbar-add-new",label:"Icon",onClick:()=>e()},"Title Icon")),renderContent:()=>(0,o.createElement)(i.Z,{inline:!0,value:t,isSocial:!0,label:"Update Single Icon",dynamicClass:" ",onChange:t=>e.setAttributes({itemSingleIcon:t})})}))}},4370:(e,t,l)=>{"use strict";l.d(t,{Z:()=>L});var o=l(7462),a=l(7294),i=l(8189),n=l(1557),r=l(3245),s=l(9838),p=l(3049),c=l(7288);const{__}=wp.i18n,{Dropdown:u}=wp.components,{useEffect:d,useState:m,Fragment:g,useRef:y}=wp.element,{InnerBlocks:b,RichText:v,InspectorControls:h,BlockControls:f}=wp.blockEditor,{updateBlockAttributes:k}=wp.data.dispatch("core/block-editor"),{getBlocks:w,getBlockOrder:x,getBlockIndex:T,toggleSelection:S,getSelectedBlock:P,getBlockAttributes:C,getBlockRootClientId:E,getSelectedBlockClientId:_}=wp.data.select("core/block-editor");function L(e){const[t,l]=m("Content"),{setAttributes:n,name:u,attributes:v,className:S,clientId:L,attributes:{blockId:U,currentPostId:B,advanceId:M,previewImg:A,activeBlock:H,triggerIconPosition:N,chooseTriggerIconClosed:j,chooseTriggerIconOpen:O,triggerIcon:Z,autoCollapseEnable:R,initSelectAcc:D}}=e,F=y();d((()=>{const e=L.substr(0,6),t=C(E(L));(0,p.qi)(n,t,B,L),U?U&&U!=e&&(t?.hasOwnProperty("ref")||(0,p.k0)()||t?.hasOwnProperty("theme")||n({blockId:e})):n({blockId:e})}),[L]);const z={setAttributes:n,name:u,attributes:v,setSection:l,section:t,clientId:L};let W;if(U&&(W=(0,s.Kh)(v,"ultimate-post/accordion-item",U,(0,p.k0)())),A)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:A});let G=0;const V=T(L),q=P();let $=x(L).length>0;if(q){const e=q.clientId;G=T(e)}const K=E(L),J=w(K),[Y,X]=m(H),Q=!R||H,ee=E(_());d((()=>{!e.isSelected&&J.length>1&&q?.clientId!=K&&!ee&&X(!1)}),[e.isSelected]),d((()=>{D==V&&(X(!0),J.forEach(((e,t)=>{k(e.clientId,t==D?{activeBlock:!0}:{activeBlock:!1})})))}),[D]);const te=O?.length>0?O:"arrowUp2",le=j?.length>0?j:"collapse_bottom_line";return(0,a.createElement)(g,null,(0,a.createElement)(h,null,(0,a.createElement)(i.Z,{store:z})),(0,a.createElement)(f,null,(0,a.createElement)(c.Z,{store:z})),(0,a.createElement)("div",(0,o.Z)({},M&&{id:M},{className:`ultp-block-${U} ${S} ${Q&&Y?"active-accordion":""}`}),W&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:W}}),(0,a.createElement)("div",{className:`ultp-accordion-item ultp-accordion__trigger-${N}`},(0,a.createElement)("div",{className:"ultp-accordion-item__navigation ultp-acr-navigation",onClick:()=>{return e=V,X(!Y),void(R&&J.forEach(((t,l)=>{k(t.clientId,l==e?{activeBlock:!0}:{activeBlock:!1})})));var e}},Z&&(0,a.createElement)("div",{className:"ultp-accordion-item__control"},Q&&Y?r.ZP[te]:r.ZP[le]),(0,a.createElement)("div",{className:"ultp-accordion-item__nav-content"},(0,a.createElement)(I,{store:z,attributes:v,setAttributes:n}))),(0,a.createElement)("div",{ref:F,className:`ultp-accordion-item__content ${Q&&Y?"active":""} `},(0,a.createElement)("div",{className:"ultp-accordion-item__content-inside"},(0,a.createElement)(b,{renderAppender:$?void 0:()=>(0,a.createElement)(b.ButtonBlockAppender,null)}))))))}const I=({setAttributes:e,attributes:t,store:l})=>{const{accText:o,enableSubtitle:i,accSubText:n,enableTitleIcon:r,itemSingleIcon:s,titleIcon:p}=t;return(0,a.createElement)("div",{className:"ultp-accordion-item__text-content"},(0,a.createElement)("div",{className:"ultp-accordion-item__title-wrapper"},r&&(s?.length>0||p?.length>0)&&(0,a.createElement)(U,{itemSingleIcon:s,titleIcon:p,store:l}),(0,a.createElement)(v,{key:"editable",tagName:"div",className:"ultp-accordion-title",keeplaceholderonfocus:"true",allowedFormats:["ultimate-post/dynamic-content"],placeholder:__("Add Your Main Text...","ultimate-post"),onChange:t=>e({accText:t}),value:o})),i&&(0,a.createElement)(v,{key:"editable",tagName:"div",className:"ultp-accordion-subtitle",keepplaceholderonfocus:"true",allowedFormats:["ultimate-post/dynamic-content"],placeholder:__("Add some matching sub-text here....","ultimate-post"),onChange:t=>e({accSubText:t}),value:n}))},U=({itemSingleIcon:e,titleIcon:t,store:l})=>(0,a.createElement)("div",{className:"ultp-accordion-item__nav-icon"},(0,a.createElement)(u,{popoverProps:{placement:"bottom-start"},className:"ultp-listicon-dropdown",renderToggle:({onToggle:l,onClose:o})=>(0,a.createElement)("div",{onClick:()=>l(),className:"ultp-listicon-bg"},r.ZP[e&&e?.length>0?e:t]),renderContent:()=>(0,a.createElement)(n.Z,{inline:!0,value:e,label:"Update Single Icon",dynamicClass:" ",onChange:e=>l.setAttributes({itemSingleIcon:e})})}))},5057:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7462),a=l(7294);const{InnerBlocks:i}=wp.blockEditor;function n(e){const{blockId:t,advanceId:l,enableTitleIcon:n,accText:r,triggerIconPosition:s,triggerIcon:p,enableSubtitle:c,accSubText:u,titleIcon:d,chooseTriggerIconOpen:m,chooseTriggerIconClosed:g,itemSingleIcon:y}=e.attributes,b=m?.length>0?m:"arrowUp2",v=g?.length>0?g:"collapse_bottom_line";return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{"data-bid":t,className:`ultp-block-${t} ultpMenuCss`}),(0,a.createElement)("div",{className:`ultp-accordion-item ultp-accordion__trigger-${s}`},(0,a.createElement)("div",{className:"ultp-accordion-item__navigation ultp-acr-navigation"},p&&(0,a.createElement)("div",{className:"ultp-accordion-item__control"},"_ultp_aci_ic_"+b+"_ultp_aci_ic_end_","_ultp_aci_ic_"+v+"_ultp_aci_ic_end_"),(0,a.createElement)("div",{className:"ultp-accordion-item__nav-content"},(0,a.createElement)("div",{className:"ultp-accordion-item__text-content"},(0,a.createElement)("div",{className:"ultp-accordion-item__title-wrapper"},n&&(y&&y?.length||d.length>0)&&(0,a.createElement)("div",{className:"ultp-accordion-item__nav-icon"},"_ultp_aci_ic_"+(y&&y?.length>0?y:d)+"_ultp_aci_ic_end_"),(0,a.createElement)("div",{className:"ultp-accordion-title",dangerouslySetInnerHTML:{__html:r}})),c&&(0,a.createElement)("div",{className:"ultp-accordion-subtitle",dangerouslySetInnerHTML:{__html:u}})))),(0,a.createElement)("div",{className:"ultp-accordion-item__content ultp-acr-content"},(0,a.createElement)("div",{className:"ultp-accordion-item__content-inside"},(0,a.createElement)(i.Content,null)))))}},8189:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(2637),i=l(3049),n=l(3245);const{__}=wp.i18n,{selectBlock:r}=wp.data.dispatch("core/block-editor"),s=({store:e})=>{const{getBlockRootClientId:t}=wp.data.select("core/block-editor"),{clientId:l}=e;return(0,o.createElement)(a.Sections,null,(0,o.createElement)(a.Section,{slug:"accordion",title:__("Accordion","ultimate-post")},(0,o.createElement)("div",{className:"ultp-parent-selection",onClick:()=>(()=>{const e=t(l);r(e)})()},n.ZP.leftArrowLg," Go Back to Parent Settings"),(0,o.createElement)(i.T,{title:"inline",include:[{position:1,data:{type:"icon",key:"itemSingleIcon",help:"Enable Icons in the Main Settings to add Individual Icons",label:__("Individual Icon","ultimate-post")}}],initialOpen:!0,store:e})),(0,o.createElement)(a.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(i.Mg,{initialOpen:!0,store:e}),(0,o.createElement)(i.iv,{store:e})))}},9589:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},accText:{type:"string",default:"Add Your Accordion Title"},accSubText:{type:"string",default:"Add some matching sub-text here."},triggerIconPosition:{type:"string",default:"right"},enableTitleIcon:{type:"boolean",default:"true"},enableSubtitle:{type:"boolean",default:"true"},titleIcon:{type:"string",default:"rectangle_solid"},chooseTriggerIconOpen:{type:"string",default:"arrowUp2"},chooseTriggerIconClosed:{type:"string",default:"collapse_bottom_line"},triggerIcon:{type:"boolean",default:!0},activeBlock:{type:"boolean",default:!1},autoCollapseEnable:{type:"boolean",default:!0},itemSingleIcon:{type:"string",default:""},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-button-wrapper {z-index: {{advanceZindex}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},8866:(e,t,l)=>{"use strict";var o=l(7294),a=l(4370),i=l(5057),n=l(9589);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;r("ultimate-post/accordion-item",{title:__("Accordion Item","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/accordion-item.svg"}),category:"ultimate-post",description:__("Add desired blocks to inner sections.","ultimate-post"),keywords:[__("Accordion Item","ultimate-post")],parent:["ultimate-post/accordion"],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/wrapper.svg"}},edit:a.Z,save:i.Z})},6931:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},accordionList:{type:"string",default:""},autoCollapseEnable:{type:"boolean",default:!0},initialSelectItem:{type:"string",default:"none"},enableSubtitle:{type:"boolean",default:!1},subtitlePosition:{type:"string",default:"bottom",style:[{depends:[{key:"enableSubtitle",condition:"==",value:!0}]}]},enableTitleIcon:{type:"boolean",default:!1},titleIcon:{type:"string",default:"arrow_left_circle_line",style:[{depends:[{key:"enableTitleIcon",condition:"==",value:!0}]}]},titleIconPosition:{type:"string",default:"left",style:[{depends:[{key:"enableTitleIcon",condition:"==",value:!0}]}]},triggerIcon:{type:"boolean",default:!0},triggerIconPosition:{type:"string",default:"right",style:[{depends:[{key:"triggerIcon",condition:"==",value:!0}]}]},chooseTriggerIconOpen:{type:"string",default:"arrowUp2",style:[{depends:[{key:"triggerIcon",condition:"==",value:!0}]}]},chooseTriggerIconClosed:{type:"string",default:"collapse_bottom_line",style:[{depends:[{key:"triggerIcon",condition:"==",value:!0}]}]},barContentAlignment:{type:"string",default:"left",style:[{depends:[{key:"barContentAlignment",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-accordion-item__nav-content { width: 100%; display: flex; justify-content: center; }\n            {{ULTP}} .ultp-accordion-item__text-content { align-items: center; text-align: center; }"},{depends:[{key:"barContentAlignment",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-items-wrap { grid-template-columns: repeat({{columns}}, 1fr); }"},{depends:[{key:"barContentAlignment",condition:"==",value:"right"},{key:"subtitlePosition",condition:"!=",value:"bottom"},{key:"subtitlePosition",condition:"!=",value:"top"}],selector:"\n            {{ULTP}} .ultp-accordion-item__nav-content { width: 100%; display: flex; justify-content: flex-start; flex-direction: row-reverse; } \n            {{ULTP}} .ultp-accordion-item__text-content { align-items: center; text-align: right; } \n            "},{depends:[{key:"barContentAlignment",condition:"==",value:"right"},{key:"subtitlePosition",condition:"==",value:"bottom"}],selector:"\n            {{ULTP}} .ultp-accordion-item__nav-content { width: 100%; display: flex; justify-content: flex-start; flex-direction: row-reverse; } \n            {{ULTP}} .ultp-accordion-item__text-content { align-items: flex-end; text-align: right; } \n            "},{depends:[{key:"barContentAlignment",condition:"==",value:"right"},{key:"subtitlePosition",condition:"==",value:"top"}],selector:"\n            {{ULTP}} .ultp-accordion-item__nav-content { width: 100%; display: flex; justify-content: flex-start; flex-direction: row-reverse; } \n            {{ULTP}} .ultp-accordion-item__text-content { align-items: flex-end; text-align: right; } \n            "}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:18,unit:"px"},height:{lg:"22",unit:"px"},decoration:"none",family:"",weight:500},style:[{selector:"{{ULTP}} .ultp-accordion-title"}]},subtextTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:"28",unit:"px"},decoration:"none",family:"",weight:400},style:[{depends:[{key:"enableSubtitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-accordion-subtitle"}]},titleIconSize:{type:"object",default:{lg:"18",unit:"px"},style:[{depends:[{key:"enableTitleIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-accordion-item__nav-icon svg { height:{{titleIconSize}}; width:{{titleIconSize}}; }"}]},titleColor:{type:"string",default:"#070707",style:[{selector:"{{ULTP}} .ultp-accordion-title { color:{{titleColor}}; }"}]},subtitleColor:{type:"string",default:"#484848",style:[{depends:[{key:"enableSubtitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-accordion-subtitle { color:{{subtitleColor}}; }"}]},titleIconColor:{type:"string",default:"#070707",style:[{depends:[{key:"enableTitleIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-accordion-item__nav-icon svg { color:{{titleIconColor}}; }"}]},titleHoverColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation:hover .ultp-accordion-title { color:{{titleHoverColor}}; }"}]},subtitleHoverColor:{type:"string",default:"",style:[{depends:[{key:"enableSubtitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-accordion-item__navigation:hover .ultp-accordion-subtitle { color:{{subtitleHoverColor}}; }"}]},iconHoverColor:{type:"string",default:"",style:[{depends:[{key:"enableTitleIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-accordion-item__navigation:hover .ultp-accordion-item__nav-icon svg { color:{{iconHoverColor}}; }"}]},titleActiveColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation .ultp-accordion-title { color:{{titleActiveColor}}; }"}]},subtitleActiveColor:{type:"string",default:"",style:[{depends:[{key:"enableSubtitle",condition:"==",value:!0}],selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation .ultp-accordion-subtitle { color:{{subtitleActiveColor}}; }"}]},iconActiveColor:{type:"string",default:"",style:[{depends:[{key:"enableTitleIcon",condition:"==",value:!0}],selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation .ultp-accordion-item__nav-icon svg { color:{{iconActiveColor}}; }"}]},titleSubtextGap:{type:"object",default:{lg:"6",unit:"px"},style:[{depends:[{key:"enableSubtitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-accordion-item__text-content { gap:{{titleSubtextGap}}; }"}]},titleIconGap:{type:"object",default:{lg:"12",unit:"px"},style:[{depends:[{key:"enableTitleIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-accordion-item__title-wrapper { gap:{{titleIconGap}}; }"}]},triIconSize:{type:"object",default:{lg:"21",unit:"px"},style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg { width:{{triIconSize}}; height:{{triIconSize}}; }"}]},titleTriggerIconGap:{type:"object",default:{lg:"24",unit:"px"},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation { gap:{{titleTriggerIconGap}}; }"}]},triIconColor:{type:"string",default:"#070707",style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg { fill:{{triIconColor}}; }"}]},triIconBg:{type:"object",default:{openColor:0,type:"color",color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg"}]},triIconBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg"}]},triIconRadius:{type:"object",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg { border-radius: {{triIconRadius}}; }"}]},triIconHoverColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg:hover { fill: {{triIconHoverColor}}; }"}]},triIconHoverBg:{type:"object",default:{openColor:0,type:"color",color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation:hover .ultp-accordion-item__control svg"}]},triIconHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg:hover { gap:{{titleIconGap}}; }"}]},triIconHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg:hover { gap:{{triIconHoverRadius}}; }"}]},triIconActiveColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation .ultp-accordion-item__control svg { fill:{{triIconActiveColor}}; }"}]},triIconActiveBg:{type:"object",default:{openColor:0,type:"color",color:""},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation .ultp-accordion-item__control svg"}]},triIconActiveBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation .ultp-accordion-item__control svg"}]},triIconActiveRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation .ultp-accordion-item__control svg { border-radius:{{triIconActiveRadius}}; }"}]},triIconPadding:{type:"object",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-accordion-item__control svg { padding:{{triIconPadding}}; }"}]},barWrapGap:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}} > .ultp-accordion-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout,\n            .postx-page {{ULTP}} > .ultp-accordion-wrapper { gap:{{barWrapGap}}; }"}]},barWrapBg:{type:"object",default:{openColor:1,type:"color",color:"#E9E9E9"},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation"}]},barWrapBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#DEDEDE",type:"solid"},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation"}]},barWrapRadius:{type:"object",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation { border-radius:{{barWrapRadius}}; }"}]},barWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation"}]},barWrapHoverBg:{type:"object",default:{openColor:0,type:"color",color:""},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation:hover"}]},barWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation:hover"}]},barWrapHoverRadius:{type:"object",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation:hover { border-radius: {{barWrapHoverRadius}}; }"}]},barWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation:hover"}]},barWrapActiveBg:{type:"object",default:{openColor:0,type:"color",color:""},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation"}]},barWrapActiveBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation"}]},barWrapActiveRadius:{type:"object",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation { border-radius:{{barWrapActiveRadius}} }"}]},barWrapActiveShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-accordion-item.active-accordion .ultp-accordion-item__navigation"}]},barWrapperPadding:{type:"object",default:{lg:{top:20,bottom:20,left:32,right:32,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-accordion-item__navigation { padding:{{barWrapperPadding}}; }"}]},contentBarGap:{type:"object",default:{lg:"0",unit:"px"},style:[{selector:"{{ULTP}} .ultp-accordion-item { gap:{{contentBarGap}}; }"}]},contentBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-accordion-item__content"}]},contentRadius:{type:"object",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-accordion-item__content-inside { border-radius: {{contentRadius}}; }"}]},contentPadding:{type:"object",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}},style:[{selector:".postx-page {{ULTP}} .ultp-accordion-item__content-inside, \n            .block-editor-block-list__layout {{ULTP}} .ultp-accordion-item__content.active .ultp-accordion-item__content-inside { padding: {{contentPadding}}; }"}]},contentBg:{type:"object",default:{openColor:0,type:"color",color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-accordion-item__content-inside"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-wrapper {z-index: {{advanceZindex}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},2038:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(7668),n=l(124),r=l(6931);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/accordion-block/","block_docs");s("ultimate-post/accordion",{title:__("Accordion","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/accordion.svg"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Create collapsible content sections","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:p},__("Documentation","ultimate-post"))),keywords:[__("Accordion","ultimate-post"),__("postx accordion","ultimate-post"),__("fag","ultimate-post")],attributes:r.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/accordion.svg"}},edit:i.Z,save:n.Z})},3166:(e,t,l)=>{"use strict";l.d(t,{Z:()=>v});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(3599),s=l(1760);const{__}=wp.i18n,{InspectorControls:p,InnerBlocks:c}=wp.blockEditor,{useState:u,useEffect:d,useRef:m,Fragment:g}=wp.element,{getBlockAttributes:y,getBlockRootClientId:b}=wp.data.select("core/block-editor");function v(e){const t=m(null),[l,v]=u("Content"),{setAttributes:h,name:f,className:k,attributes:w,clientId:x,attributes:{previewImg:T,blockId:S,advanceId:P,layout:C,listGroupIconType:E,listCustomIcon:_,listGroupCustomImg:L,listDisableText:I,listGroupSubtextEnable:U,listGroupBelowIcon:B,enableIcon:M,listLayout:A,currentPostId:H}}=e;d((()=>{const e=x.substr(0,6),t=y(b(x));(0,i.qi)(h,t,H,x),S?S&&S!=e&&(t?.hasOwnProperty("ref")||(0,i.k0)()||t?.hasOwnProperty("theme")||h({blockId:e})):h({blockId:e})}),[x]),d((()=>{const e=t.current;var l;e?((l=e).listGroupIconType!=E||l.listCustomIcon!=_||l.listGroupBelowIcon!=B||l.listGroupCustomImg!=L||l.listDisableText!=I||l.listGroupSubtextEnable!=U||l.enableIcon!=M||l.listLayout!=A||l.layout!=C)&&((0,i.Gu)(x),t.current=w):t.current=w}),[w]);const N={setAttributes:h,name:f,attributes:w,setSection:v,section:l,clientId:x};let j;return S&&(j=(0,n.Kh)(w,"ultimate-post/advanced-list",S,(0,i.k0)())),T?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:T}):(0,a.createElement)(g,null,(0,a.createElement)(p,null,(0,a.createElement)(r.Z,{store:N})),(0,a.createElement)(s.Z,{include:[{type:"template"},{type:"layout",block:"advance-list",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/list/list1.svg",label:"Layout 1",value:"layout1"},{img:"assets/img/layouts/list/list2.svg",label:"Layout 2",value:"layout2"},{img:"assets/img/layouts/list/list3.svg",label:"Layout 3",value:"layout3"}]}],store:N}),(0,a.createElement)("div",(0,o.Z)({},P&&{id:P},{className:`ultp-block-${S} ${k}`}),j&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:j}}),(0,a.createElement)("ul",{className:`ultp-list-wrapper ultp-list-${C}`},(0,a.createElement)(c,{template:[["ultimate-post/list",{listText:"List Item"}],["ultimate-post/list",{listText:"List Item"}],["ultimate-post/list",{listText:"List Item"}]],allowedBlocks:["ultimate-post/list"]}))))}},6988:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7462),a=l(7294);const{Component:i}=wp.element,{InnerBlocks:n}=wp.blockEditor;function r(e){const{blockId:t,advanceId:l,layout:i}=e.attributes;return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t}`}),(0,a.createElement)("ul",{className:`ultp-list-wrapper ultp-list-${i}`},(0,a.createElement)(n.Content,null)))}},3599:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3049),i=l(2637),n=l(3581);const{__}=wp.i18n,r=({store:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid7994",store:e}),(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"global",title:__("Global Style","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"layout",block:"advance-list",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/list/list1.svg",label:"Layout 1",value:"layout1",pro:!1},{img:"assets/img/layouts/list/list2.svg",label:"Layout 2",value:"layout2",pro:!1},{img:"assets/img/layouts/list/list3.svg",label:"Layout 3",value:"layout3",pro:!1}]}},{position:2,data:{type:"toggle",key:"listInline",label:__("Inline View","ultimate-post")}},{position:3,data:{type:"alignment",block:"advance-list",key:"listAlignment",disableJustify:!0,label:__("Vertical Alignment (Align Items)","ultimate-post")}},{position:4,data:{type:"range",key:"listSpaceBetween",min:0,max:300,step:1,responsive:!0,label:__("Space Between Items","ultimate-post")}},{position:5,data:{type:"range",key:"listSpaceIconText",min:0,max:300,step:1,responsive:!0,label:__("Spacing Between Icon & Texts","ultimate-post")}},{position:6,data:{type:"group",key:"listPosition",justify:!0,label:__("Icon Position","ultimate-post"),options:[{value:"start",label:__("Top","ultimate-post")},{value:"center",label:__("Center","ultimate-post")},{value:"end",label:__("Bottom","ultimate-post")}]}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("Icon/Image","ultimate-post"),depend:"enableIcon",include:[{position:1,data:{type:"tag",key:"listGroupIconType",label:__("Icon Type","ultimate-post"),options:[{value:"icon",label:__("Icon","ultimate-post")},{value:"image",label:__("Image","ultimate-post")},{value:"default",label:__("Default","ultimate-post")},{value:"",label:__("None","ultimate-post")}]}},{position:2,data:{type:"select",key:"listLayout",label:__("List Style","ultimate-post"),options:[{label:__("Select","ultimate-post"),value:""},{label:__("By Abc","ultimate-post"),value:"abc"},{label:__("By Roman Number","ultimate-post"),value:"roman"},{label:__("By 123","ultimate-post"),value:"number"},{label:__("By Bullet","ultimate-post"),value:"bullet"}]}},{position:3,data:{type:"icon",key:"listCustomIcon",label:__("Icon Store","ultimate-post")}},{position:4,data:{type:"media",key:"listGroupCustomImg",label:__("Upload Custom Image","ultimate-post")}},{position:5,data:{type:"dimension",key:"listImgRadius",step:1,unit:!0,responsive:!0,label:__("Image Radius","ultimate-post")}},{position:6,data:{type:"typography",key:"listIconTypo",label:__("Typography","ultimate-post")}},{position:7,data:{type:"range",key:"listGroupIconSize",label:__("Icon/Image Size","ultimate-post")}},{position:8,data:{type:"range",key:"listGroupBgSize",label:__("Background Size","ultimate-post"),help:"Icon Background Color Required"}},{position:9,data:{type:"separator",label:__("Icon Style","ultimate-post")}},{position:10,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"listGroupIconColor",label:__("Icon Color","ultimate-post")},{type:"color",key:"listGroupIconbg",label:__("Icon  Background","ultimate-post")},{type:"border",key:"listGroupIconBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"listGroupIconRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"listGroupHoverIconColor",label:__("Icon Color","ultimate-post")},{type:"color",key:"listGroupHoverIconbg",label:__("Icon  Background","ultimate-post")},{type:"border",key:"listGroupHoverIconBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"listGroupHoverIconRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]}]}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Content","ultimate-post"),include:[{position:1,data:{type:"toggle",key:"listDisableText",label:__("Disable Text","ultimate-post")}},{position:2,data:{type:"typography",key:"listTextTypo",label:__("Title Typography","ultimate-post")}},{position:3,data:{type:"color",key:"listGroupTitleColor",label:__("Title Color","ultimate-post")}},{position:4,data:{type:"color",key:"listGroupTitleHoverColor",label:__("Title Hover Color","ultimate-post")}},{position:5,data:{type:"toggle",key:"listGroupSubtextEnable",label:__("Enable Subtext","ultimate-post")}},{position:6,data:{type:"typography",key:"listGroupSubtextTypo",label:__("Subtext Typography","ultimate-post")}},{position:7,data:{type:"range",key:"listGroupSubtextSpace",unit:!0,responsive:!0,label:__("Space Between  Text & Subtext","ultimate-post")}},{position:8,data:{type:"color",key:"listGroupSubtextColor",label:__("Subtext Color","ultimate-post")}},{position:9,data:{type:"color",key:"listGroupSubtextHoverColor",label:__("Subtext Hover Color","ultimate-post")}},{position:10,data:{type:"toggle",key:"listGroupBelowIcon",help:"Layout One/Two Required ",label:__("Midpoint Subtext","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Content Wrap","ultimate-post"),include:[{position:1,data:{type:"dimension",key:"listGroupPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:2,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"listGroupBg",label:__("Background Color","ultimate-post")},{type:"border",key:"listGroupborder",label:__("Border","ultimate-post")},{type:"dimension",key:"listGroupRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"listGroupHoverBg",label:__("Icon  Background","ultimate-post")},{type:"border",key:"listGroupHovborder",label:__("Border","ultimate-post")},{type:"dimension",key:"listGroupHovRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]}]}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Separator","ultimate-post"),depend:"enableSeparator",include:[{position:1,data:{type:"color",key:"listGroupSepColor",label:__("Border Color","ultimate-post")}},{position:2,data:{type:"range",key:"listGroupSepSize",min:0,max:30,label:__("Separator Size","ultimate-post")}},{position:3,data:{type:"select",key:"listGroupSepStyle",options:[{value:"none",label:__("None","ultimate-post")},{value:"dotted",label:__("Dotted","ultimate-post")},{value:"solid",label:__("Solid","ultimate-post")},{value:"dashed",label:__("Dashed","ultimate-post")},{value:"groove",label:__("Groove","ultimate-post")}],label:__("Border Style","ultimate-post")}}],initialOpen:!1,store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:e}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))),(0,a.dH)())},5839:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1",style:[{depends:[{key:"layout",condition:"==",value:"layout1"}]},{depends:[{key:"layout",condition:"==",value:"layout2"}]},{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!1},{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} li .ultp-list-content { display: block !important; }"},{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout3"}]}]},listLayout:{type:"string",default:"number",style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}  ul,\n                {{ULTP}}  ul li { list-style-type: none; }"},{depends:[{key:"listGroupBelowIcon",condition:"==",value:!1},{key:"listLayout",condition:"==",value:"roman"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:'{{ULTP}} .ultp-list-wrapper { counter-reset: roman-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list { display: flex; align-items: center; position: relative; counter-increment: roman-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list .ultp-list-texticon:before { content: counter(roman-counter, upper-roman) "."; display: flex; align-items: center; justify-content: center; transition: .3s; box-sizing: border-box;}'},{depends:[{key:"listGroupBelowIcon",condition:"==",value:!1},{key:"listLayout",condition:"==",value:"number"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:'{{ULTP}} .ultp-list-wrapper { counter-reset: number-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list { display: flex; align-items: center; position: relative; counter-increment: number-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list .ultp-list-texticon:before { content: counter(number-counter) "."; display: flex; align-items: center; justify-content: center; transition: .3s; box-sizing: border-box; }'},{depends:[{key:"listLayout",condition:"==",value:"abc"},{key:"listGroupIconType",condition:"==",value:"default"},{key:"listGroupBelowIcon",condition:"==",value:!1}],selector:'{{ULTP}} .ultp-list-wrapper { counter-reset: alpha-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list { display: flex; align-items: center; position: relative; counter-increment: alpha-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list .ultp-list-texticon:before { content: counter(alpha-counter, lower-alpha) "."; display: flex; align-items: center; justify-content: center; transition: .3s; box-sizing: border-box;}'},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"},{key:"listGroupBelowIcon",condition:"==",value:!1}],selector:'{{ULTP}} .ultp-list-wrapper { counter-reset: alpha-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list { display: flex; align-items: center; position: relative;  }\n                {{ULTP}} .ultp-list-texticon { line-height: 0px; }\n                {{ULTP}} .ultp-list-texticon:before {   content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background-color: black; transition: .3s; box-sizing: border-box; }'},{depends:[{key:"listGroupBelowIcon",condition:"==",value:!0},{key:"listLayout",condition:"==",value:"roman"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:'{{ULTP}} .ultp-list-wrapper { counter-reset: roman-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list { display: flex; align-items: center; position: relative; counter-increment: roman-counter; }\n                {{ULTP}} .ultp-list-texticon:before { content: counter(roman-counter, upper-roman) "."; display: flex; align-items: center; justify-content: center; transition: .3s; box-sizing: border-box;}'},{depends:[{key:"listGroupBelowIcon",condition:"==",value:!0},{key:"listLayout",condition:"==",value:"number"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:'{{ULTP}} .ultp-list-wrapper { counter-reset: number-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list { display: flex; align-items: center; position: relative; counter-increment: number-counter; }\n                {{ULTP}} .ultp-list-texticon:before { content: counter(number-counter) "."; display: flex; align-items: center;  justify-content: center; transition: .3s; box-sizing: border-box;}'},{depends:[{key:"listGroupBelowIcon",condition:"==",value:!0},{key:"listLayout",condition:"==",value:"abc"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:'{{ULTP}} .ultp-list-wrapper { counter-reset: alpha-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list { display: flex; align-items: center;  position: relative; counter-increment: alpha-counter; }\n                {{ULTP}} .ultp-list-texticon:before { content: counter(alpha-counter, lower-alpha) "."; display: flex; align-items: center; justify-content: center; transition: .3s; box-sizing: border-box; }'},{depends:[{key:"listGroupBelowIcon",condition:"==",value:!0},{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:'{{ULTP}} .ultp-list-wrapper { counter-reset: alpha-counter; }\n                {{ULTP}} .wp-block-ultimate-post-list { display: flex; align-items: center; position: relative; counter-increment: alpha-counter; }\n                {{ULTP}} .ultp-list-texticon { line-height: 0px; }\n                {{ULTP}} .ultp-list-texticon:before {   content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background-color: black; transition: .3s; box-sizing: border-box; }'}]},listInline:{type:"boolean",default:!1,style:[{depends:[{key:"listInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n            {{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list) { display: flex;}\n            {{ULTP}} .ultp-list-wrapper > li:last-child { padding-right: 0px; margin-right: 0px; }\n            {{ULTP}} .block-editor-block-list__layout > div,\n            {{ULTP}} .wp-block-ultimate-post-list { width: auto !important; }"},{depends:[{key:"listInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-list-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n            {{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list) { display: block;} \n            {{ULTP}} .block-editor-block-list__layout > div,\n            {{ULTP}} .wp-block-ultimate-post-list { width: 100%; }"},{depends:[{key:"layout",condition:"==",value:"layout2"},{key:"enableSeparator",condition:"==",value:!0},{key:"listInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n            {{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list) { display: flex;}\n            {{ULTP}} .block-editor-block-list__layout>div:last-child li{ padding-right: 0px; margin-right: 0px;} \n            {{ULTP}} .block-editor-block-list__layout > div,\n            {{ULTP}} .wp-block-ultimate-post-list { width: auto !important; }"},{depends:[{key:"layout",condition:"==",value:"layout2"},{key:"enableSeparator",condition:"==",value:!0},{key:"listInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-list-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n            {{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list) { display: block;} \n            {{ULTP}} .block-editor-block-list__layout > div,\n            {{ULTP}} .wp-block-ultimate-post-list{ width: 100%; }"}]},listAlignment:{type:"string",default:"left",style:[{depends:[{key:"listAlignment",condition:"==",value:"left"},{key:"listInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list ),\n                {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin-right:  auto; display: flex; flex-direction: column; align-items: flex-start;}"},{depends:[{key:"listAlignment",condition:"==",value:"right"},{key:"listInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list ),\n                {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end;}"},{depends:[{key:"listInline",condition:"==",value:!1},{key:"listAlignment",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list ),\n                {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin: auto auto; display: flex; flex-direction: column; align-items: center;}"},{depends:[{key:"listInline",condition:"==",value:!0},{key:"listAlignment",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list ),\n                {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin: auto auto; display: flex; flex-wrap: wrap; justify-content: center;}\n                {{ULTP}} .ultp-list-wrapper .ultp-list-content { justify-content: center; }"},{depends:[{key:"listAlignment",condition:"==",value:"left"},{key:"listInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list ),\n                {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin-right:  auto; display: flex; justify-content: flex-start; flex-wrap: wrap;}"},{depends:[{key:"listAlignment",condition:"==",value:"right"},{key:"listInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list ),\n                {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin-left:  auto; display: flex; justify-content: flex-end; flex-wrap: wrap;}"}]},listSpaceBetween:{type:"object",default:{lg:"17",unit:"px"},style:[{depends:[{key:"enableSeparator",condition:"==",value:!0},{key:"listInline",condition:"==",value:!0}],selector:"{{ULTP}} .wp-block-ultimate-post-list { margin-right:calc({{listSpaceBetween}}/ 2); padding-right:calc({{listSpaceBetween}}/ 2);}\n                {{ULTP}} .wp-block-ultimate-post-list{ margin-top: 0px !important; margin-bottom: 0px !important;}"},{depends:[{key:"listInline",condition:"==",value:!0},{key:"enableSeparator",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-list-wrapper:has( > .wp-block-ultimate-post-list),\n                {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { gap:{{listSpaceBetween}}; }\n                {{ULTP}} .wp-block-ultimate-post-list{ margin: 0px !important; }"},{depends:[{key:"listInline",condition:"==",value:!1}],selector:"{{ULTP}} .wp-block-ultimate-post-list { margin-bottom: calc({{listSpaceBetween}}/ 2); padding-bottom:calc({{listSpaceBetween}}/ 2);}"}]},listSpaceIconText:{type:"object",default:{lg:"12",ulg:"px"},style:[{depends:[{key:"layout",condition:"!=",value:"layout3"},{key:"listGroupBelowIcon",condition:"==",value:!1}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { column-gap:{{listSpaceIconText}}; }"},{depends:[{key:"layout",condition:"!=",value:"layout3"},{key:"listGroupBelowIcon",condition:"==",value:!0}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-heading { column-gap:{{listSpaceIconText}}; }"},{depends:[{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-listicon-bg,\n                {{ULTP}} .wp-block-ultimate-post-list .ultp-list-texticon { margin-bottom:{{listSpaceIconText}}; }"}]},enableIcon:{type:"boolean",default:!0},listPosition:{type:"string",default:"center",style:[{depends:[{key:"enableIcon",condition:"==",value:!0}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { align-items:{{listPosition}}; }"}]},listGroupIconType:{type:"string",default:"icon",style:[{depends:[{key:"enableIcon",condition:"==",value:!0}]}]},listCustomIcon:{type:"string",default:"right_circle_line",style:[{depends:[{key:"listGroupIconType",condition:"==",value:"icon"}]}]},listGroupCustomImg:{type:"object",default:"",style:[{depends:[{key:"enableIcon",condition:"==",value:!0},{key:"listGroupIconType",condition:"==",value:"image"}]}]},listImgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"listGroupIconType",condition:"==",value:"image"}],selector:"{{ULTP}} .wp-block-ultimate-post-list img { border-radius: {{listImgRadius}}; }"}]},listGroupIconSize:{type:"string",default:"16",style:[{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list svg,\n                {{ULTP}} .wp-block-ultimate-post-list .ultp-listicon-bg img { height:{{listGroupIconSize}}px; width:{{listGroupIconSize}}px; }"},{depends:[{key:"listLayout",condition:"==",value:"bullet"}],selector:"{{ULTP}} .ultp-list-texticon:before { height:{{listGroupIconSize}}px; width:{{listGroupIconSize}}px; }"}]},listIconTypo:{type:"object",default:{openTypography:0,size:{lg:16,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:"",weight:700},style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .ultp-list-texticon:before "}]},listGroupBgSize:{type:"string",default:"",style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .ultp-list-texticon:before { height:{{listGroupBgSize}}px; width:{{listGroupBgSize}}px; }"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-texticon { height:{{listGroupBgSize}}px; width:{{listGroupBgSize}}px; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-listicon-bg { height:{{listGroupBgSize}}px; width:{{listGroupBgSize}}px; min-width:{{listGroupBgSize}}px; }"}]},listGroupIconColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"},{key:"listLayout",condition:"!=",value:"bullet"}],selector:"{{ULTP}} .ultp-list-texticon:before { color:{{listGroupIconColor}}; }"},{depends:[{key:"listGroupIconType",condition:"==",value:"default"},{key:"listLayout",condition:"==",value:"bullet"}],selector:"{{ULTP}} .ultp-list-texticon:before { background-color:{{listGroupIconColor}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"},{key:"listGroupIconType",condition:"!=",value:"image"}],selector:"{{ULTP}} .ultp-listicon-bg svg { fill:{{listGroupIconColor}};}"}]},listGroupIconbg:{type:"string",default:"",style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .ultp-list-texticon:before { background: {{listGroupIconbg}};}"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-texticon { background: {{listGroupIconbg}};}"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-listicon-bg { background: {{listGroupIconbg}};}"}]},listGroupIconBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .ultp-list-texticon:before"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-texticon"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-listicon-bg"}]},listGroupIconRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .ultp-list-texticon:before { border-radius: {{listGroupIconRadius}}; }"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-texticon { border-radius: {{listGroupIconRadius}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-listicon-bg { border-radius: {{listGroupIconRadius}}; }"}]},listGroupHoverIconColor:{type:"string",default:"",style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-list-texticon:before  { color:{{listGroupHoverIconColor}}; }"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-list-texticon:before  { background-color:{{listGroupHoverIconColor}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"},{key:"listGroupIconType",condition:"!=",value:"image"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-listicon-bg svg { fill:{{listGroupHoverIconColor}};}"}]},listGroupHoverIconbg:{type:"string",default:"",style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .block-editor-block-list__block:hover .wp-block-ultimate-post-list .ultp-list-texticon:before ,\n                {{ULTP}} .ultp-list-wrapper  > .wp-block-ultimate-post-list:hover .ultp-list-texticon:before  { background: {{listGroupHoverIconbg}}; }"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-list-texticon { background: {{listGroupHoverIconbg}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-listicon-bg { background: {{listGroupHoverIconbg}}; }"}]},listGroupHoverIconBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .block-editor-block-list__block:hover .wp-block-ultimate-post-list .ultp-list-texticon:before, \n                {{ULTP}} .ultp-list-wrapper  > .wp-block-ultimate-post-list:hover .ultp-list-texticon:before "},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-list-texticon"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-listicon-bg"}]},listGroupHoverIconRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .block-editor-block-list__block:hover .wp-block-ultimate-post-list .ultp-list-texticon:before , \n                {{ULTP}} .ultp-list-wrapper  > .wp-block-ultimate-post-list:hover .ultp-list-texticon:before  { border-radius: {{listGroupHoverIconRadius}}; }"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-list-texticon { border-radius: {{listGroupHoverIconRadius}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list:hover .ultp-listicon-bg { border-radius: {{listGroupHoverIconRadius}}; }"}]},listDisableText:{type:"boolean",default:!1,style:[{depends:[{key:"listDisableText",condition:"==",value:!1}]},{depends:[{key:"listDisableText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-content { display: block !important; }"}]},listTextTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:"24",unit:"px"},decoration:"none",family:"",weight:400},style:[{selector:"{{ULTP}}  .ultp-list-title,\n            {{ULTP}}  .ultp-list-title a"}]},listGroupTitleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-list-title,\n            {{ULTP}} .ultp-list-title a { color: {{listGroupTitleColor}}; }"}]},listGroupTitleHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-list-wrapper  > .wp-block-ultimate-post-list:hover .ultp-list-title,\n            {{ULTP}} .ultp-list-wrapper  > .wp-block-ultimate-post-list:hover .ultp-list-title a,\n            {{ULTP}} .block-editor-block-list__block:hover > .wp-block-ultimate-post-list .ultp-list-title,\n            {{ULTP}} .block-editor-block-list__block:hover > .wp-block-ultimate-post-list .ultp-list-title a { color: {{listGroupTitleHoverColor}}; }"}]},listGroupSubtextEnable:{type:"boolean",default:!1,style:[{depends:[{key:"layout",condition:"==",value:"layout1"}],selector:'{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { display: grid; grid-template-areas: "a b" "a c"; align-items: center; }'},{depends:[{key:"layout",condition:"==",value:"layout2"}],selector:'{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { display: grid; grid-template-areas: "b a" "c a"; align-items: center; justify-content: flex-end; }'},{depends:[{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { display: block !important; }"}]},listGroupSubtextTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",family:"",weight:400},style:[{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-subtext"}]},listGroupSubtextSpace:{type:"object",default:{lg:"5",ulg:"px"},style:[{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .ultp-list-subtext { margin-top:{{listGroupSubtextSpace}}; }"},{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0},{key:"listGroupBelowIcon",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout3"}],selector:"{{ULTP}} .ultp-list-subtext { margin-top:{{listGroupSubtextSpace}}; }"},{depends:[{key:"listGroupBelowIcon",condition:"==",value:!1},{key:"layout",condition:"!=",value:"layout3"},{key:"listGroupSubtextEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-content { row-gap:{{listGroupSubtextSpace}}; }\n                {{ULTP}} .ultp-list-title,\n                {{ULTP}} .ultp-list-content a { align-self: self-end; }\n                {{ULTP}} .ultp-list-subtext { align-self: self-start; }"}]},listGroupSubtextColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-subtext { color:{{listGroupSubtextColor}}; }"}]},listGroupSubtextHoverColor:{type:"string",default:"",style:[{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-wrapper  > .wp-block-ultimate-post-list:hover .ultp-list-subtext, \n            {{ULTP}} .block-editor-block-list__block:hover > .wp-block-ultimate-post-list .ultp-list-subtext  { color:{{listGroupSubtextHoverColor}}; }"}]},listGroupBelowIcon:{type:"boolean",default:!1,style:[{depends:[{key:"listGroupBelowIcon",condition:"==",value:!0},{key:"listGroupSubtextEnable",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { display: block !important; }"},{depends:[{key:"listGroupBelowIcon",condition:"==",value:!0},{key:"listGroupSubtextEnable",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout3"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { display: block !important; }"},{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0},{key:"listGroupBelowIcon",condition:"==",value:!1},{key:"layout",condition:"!=",value:"layout3"}]}]},listGroupBg:{type:"object",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)",size:"cover",repeat:"no-repeat"},style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content"}]},listGroupborder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content"}]},listGroupRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"},unit:"px"},style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { border-radius: {{listGroupRadius}};}"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { border-radius: {{listGroupRadius}};}"}]},listGroupPadding:{type:"object",default:{lg:{top:"2",bottom:"2",left:"6",right:"6",unit:"px"}},style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list  .ultp-list-content { padding: {{listGroupPadding}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content { padding: {{listGroupPadding}}; }"}]},listGroupHoverBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content:hover"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content:hover"}]},listGroupHovborder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content:hover"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content:hover"}]},listGroupHovRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content:hover { border-radius: {{listGroupHovRadius}};}"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .wp-block-ultimate-post-list .ultp-list-content:hover { border-radius: {{listGroupHovRadius}};}"}]},enableSeparator:{type:"boolean",default:!1},listGroupSepColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"enableSeparator",condition:"==",value:!0}],selector:"{{ULTP}} ul li { border-color: {{listGroupSepColor}}; }"}]},listGroupSepSize:{type:"string",default:"",style:[{depends:[{key:"listInline",condition:"==",value:!0},{key:"enableSeparator",condition:"==",value:!0}],selector:"{{ULTP}} ul  li { border-right-width: {{listGroupSepSize}}px; }"},{depends:[{key:"enableSeparator",condition:"==",value:!0},{key:"listInline",condition:"==",value:!1}],selector:"{{ULTP}} ul  li { border-bottom-width: {{listGroupSepSize}}px; }"}]},listGroupSepStyle:{type:"string",default:"solid",style:[{depends:[{key:"listInline",condition:"==",value:!0},{key:"enableSeparator",condition:"==",value:!0}],selector:"{{ULTP}} ul li { border-right-style: {{listGroupSepStyle}}; }"},{depends:[{key:"listInline",condition:"==",value:!1},{key:"enableSeparator",condition:"==",value:!0}],selector:"{{ULTP}} ul li { border-bottom-style: {{listGroupSepStyle}}; }"}]},wrapBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5"},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list),\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout"}]},wrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list),\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout"}]},wrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list),\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout"}]},wrapRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list),\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { border-radius:{{wrapRadius}}; }"}]},wrapHoverBackground:{type:"object",default:{openColor:0,type:"color",color:"#037fff"},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list):hover,\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout:hover"}]},wrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list):hover,\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout:hover"}]},wrapHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list):hover,\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout:hover { border-radius:{{wrapHoverRadius}}; }"}]},wrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list):hover,\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout:hover"}]},wrapMargin:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list),\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin:{{wrapMargin}}; }"}]},wrapOuterPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-list-wrapper:has(> .wp-block-ultimate-post-list),\n            {{ULTP}} .ultp-list-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { padding:{{wrapOuterPadding}}; }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-list-wrapper { z-index:{{advanceZindex}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},3053:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(3166),n=l(6988),r=l(5839);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/list-block/","block_docs");s("ultimate-post/advanced-list",{title:__("List - PostX","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/advanced-list.svg",alt:"List PostX"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Create & customize bullets and numbered lists.","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:p},__("Documentation","ultimate-post"))),keywords:[__("list","ultimate-post"),__("list postx","ultimate-post"),__("advanced list","ultimate-post"),__("icon list","ultimate-post")],attributes:r.Z,supports:{html:!1,reusable:!1},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/list.svg"}},edit:i.Z,save:n.Z})},7532:(e,t,l)=>{"use strict";l.d(t,{Z:()=>w});var o=l(7462),a=l(7294),i=l(9838),n=l(1557),r=l(3245),s=l(3049),p=l(7151),c=l(9735);const{__}=wp.i18n,{InspectorControls:u,RichText:d}=wp.blockEditor,{useState:m,useEffect:g,Fragment:y}=wp.element,{Dropdown:b}=wp.components,{createBlock:v}=wp.blocks,{select:h}=wp.data,{getBlockAttributes:f,getBlockRootClientId:k}=wp.data.select("core/block-editor");function w(e){const[t,l]=m("Content"),{setAttributes:w,className:x,name:T,attributes:S,clientId:P,attributes:{blockId:C,advanceId:E,listText:_,listCustomImg:L,listIconType:I,subtext:U,listSinleCustomIcon:B,dcEnabled:M,currentPostId:A}}=e;g((()=>{const e=P.substr(0,6),t=f(k(P));(0,s.qi)(w,t,A,P),C?C&&C!=e&&(t?.hasOwnProperty("ref")||(0,s.k0)()||t?.hasOwnProperty("theme")||w({blockId:e})):w({blockId:e})}),[P]);const H={setAttributes:w,name:T,attributes:S,setSection:l,section:t,clientId:P};let N;C&&(N=(0,i.Kh)(S,"ultimate-post/list",C,(0,s.k0)()));const j=h("core/block-editor").getBlockParents(P),O=h("core/block-editor").getBlockAttributes(j[j.length-1]),{listGroupCustomImg:Z,listGroupIconType:R,listDisableText:D,layout:F,listGroupSubtextEnable:z,listGroupBelowIcon:W,listCustomIcon:G,enableIcon:V,listLayout:q}=O;w({listGroupCustomImg:Z,listGroupIconType:R,listDisableText:D,listGroupBelowIcon:W,listGroupSubtextEnable:z,listCustomIcon:G,layout:F,enableIcon:V,listLayout:q});const $=W&&"layout3"!=F?"div":y;function K(e){return"default"!=R&&(I==e||"inherit"==I&&R==e)||""==I&&R==e}const J=K("image"),Y=K("icon");return(0,a.createElement)(y,null,(0,a.createElement)(u,null,(0,a.createElement)(p.Z,{store:H})),(0,a.createElement)("li",(0,o.Z)({},E&&{id:E},{className:`ultp-block-${C} ${x}`}),N&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:N}}),(0,a.createElement)("div",{className:"ultp-list-content"},(0,a.createElement)($,W&&"layout3"!=F&&{class:"ultp-list-heading"},"default"==R&&V&&(0,a.createElement)("div",{className:"ultp-list-texticon ultp-listicon-bg"}),J&&V&&(0,a.createElement)("div",{className:"ultp-listicon-bg"},(0,a.createElement)("img",{src:L.url&&"inherit"!=I?L.url:Z.url,alt:"List Image"})),Y&&V&&(0,a.createElement)(b,{popoverProps:{placement:"bottom-start"},className:"ultp-listicon-dropdown",renderToggle:({onToggle:e,onClose:t})=>(0,a.createElement)("div",{onClick:()=>e(),className:"ultp-listicon-bg"},r.ZP[B.length>0&&"inherit"!=I?B:G]),renderContent:()=>(0,a.createElement)(n.Z,{inline:!0,value:B,label:"Update Single Icon",dynamicClass:" ",onChange:e=>H.setAttributes({listSinleCustomIcon:e,listIconType:"icon"})})}),!D&&(0,a.createElement)(d,{key:"editable",tagName:"div",className:"ultp-list-title",keepPlaceholderOnFocus:!0,placeholder:__("List Text...","ultimate-post"),onChange:e=>w({listText:e}),allowedFormats:(0,c.o6)()&&M?["ultimate-post/dynamic-content"]:void 0,onReplace:(e,t,l)=>wp.data.dispatch("core/block-editor").replaceBlocks(P,e,t,l),onSplit:(e,t)=>v("ultimate-post/list",{...S,listText:e}),value:_})),!D&&z&&(0,a.createElement)("div",{className:"ultp-list-subtext"},(0,a.createElement)(d,{key:"editable",tagName:"span",placeholder:__("List Subtext Text...","ultimate-post"),onChange:e=>w({subtext:e}),value:U})))))}},6681:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7462),a=l(7294),i=l(3245);const{Fragment:n}=wp.element;function r(e){const{attributes:{blockId:t,advanceId:l,listText:r,listCustomImg:s,listIconType:p,listGroupSubtextEnable:c,subtext:u,listGroupCustomImg:d,listGroupIconType:m,listDisableText:g,listGroupBelowIcon:y,listCustomIcon:b,listSinleCustomIcon:v,layout:h,enableIcon:f}}=e,k=y&&"layout3"!=h?"div":n;function w(e){return"default"!=m&&(p==e||"inherit"==p&&m==e)||""==p&&m==e}const x=w("image"),T=w("icon");return(0,a.createElement)("li",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t}`}),(0,a.createElement)("div",{className:"ultp-list-content"},(0,a.createElement)(k,y&&"layout3"!=h&&{class:"ultp-list-heading"},"default"==m&&f&&(0,a.createElement)("div",{className:"ultp-list-texticon ultp-listicon-bg"}),x&&f&&(0,a.createElement)("div",{className:"ultp-listicon-bg"},(0,a.createElement)("img",{src:s.url?s.url:d.url,alt:"List Image"})),T&&f&&(0,a.createElement)("div",{className:"ultp-listicon-bg"},i.ZP[v.length>0&&"inherit"!=p?v:b]),!g&&(0,a.createElement)("div",{className:"ultp-list-title",dangerouslySetInnerHTML:{__html:r}})),!g&&c&&(0,a.createElement)("div",{className:"ultp-list-subtext",dangerouslySetInnerHTML:{__html:u}})))}},7151:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"button",title:__("Button","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"tag",key:"listIconType",label:__("Icon Type","ultimate-post"),options:[{value:"icon",label:__("Icon","ultimate-post")},{value:"image",label:__("Image","ultimate-post")},{value:"inherit",label:__("Inherit","ultimate-post")},{value:"none",label:__("None","ultimate-post")}]}},{position:2,data:{type:"icon",key:"listSinleCustomIcon",label:__("Icon Store","ultimate-post")}},{position:3,data:{type:"media",key:"listCustomImg",label:__("Upload Custom Image","ultimate-post")}},{position:4,data:{type:"separator",label:__("Icon Style","ultimate-post")}},{position:5,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"listIconColor",label:__("Icon Color","ultimate-post")},{type:"color",key:"listIconBg",label:__("Icon  Background","ultimate-post")},{type:"border",key:"listIconBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"listIconHoverColor",label:__("Icon Hover Color","ultimate-post")},{type:"color",key:"listIconHoverBg",label:__("Icon Hover Background","ultimate-post")},{type:"border",key:"listIconHoverBorder",label:__("Hover Border","ultimate-post")}]}]}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("Text","ultimate-post"),include:[{position:1,data:{type:"color",key:"listTextColor",label:__("Title Color","ultimate-post")}},{position:2,data:{type:"color",key:"listTextHoverColor",label:__("Title Hover Color","ultimate-post")}},{position:3,data:{type:"separator",key:"separator",label:__("Subtext","ultimate-post")}},{position:4,data:{type:"range",key:"subTextSpace",min:0,max:400,step:1,responsive:!0,label:__("Space Between Text & Subtext","ultimate-post"),unit:["px"]}},{position:5,data:{type:"color",key:"subTextColor",label:__("Subtext Color","ultimate-post")}},{position:9,data:{type:"color",key:"listSubtextHoverColor",label:__("Subtext Hover Color","ultimate-post")}}],initialOpen:!1,store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e})))},7383:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:""},listGroupCustomImg:{type:"object",default:""},listGroupIconType:{type:"string",default:""},listDisableText:{type:"boolean",default:!0},listCustomIcon:{type:"string",default:""},listGroupSubtextEnable:{type:"boolean",default:!0},listGroupBelowIcon:{type:"boolean",default:!1},enableIcon:{type:"boolean",default:!0},listLayout:{type:"string",default:"number"},listText:{type:"string",default:""},listIconType:{type:"string",default:"",style:[{depends:[{key:"enableIcon",condition:"==",value:!0},{key:"listGroupIconType",condition:"!=",value:"default"}]}]},listSinleCustomIcon:{type:"string",default:"",style:[{depends:[{key:"listGroupIconType",condition:"!=",value:"default"},{key:"listIconType",condition:"==",value:"icon"}]}]},listCustomImg:{type:"object",default:"",style:[{depends:[{key:"listGroupIconType",condition:"!=",value:"default"},{key:"listIconType",condition:"==",value:"image"}]}]},listIconColor:{type:"string",default:"",style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon:before { color:{{listIconColor}}; }"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon:before { background-color:{{listIconColor}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}} .ultp-listicon-bg svg { fill:{{listIconColor}}; }"}]},listIconBg:{type:"string",default:"",style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon:before { background: {{listIconBg}};}"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon { background: {{listIconBg}};}"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list .ultp-listicon-bg { background: {{listIconBg}};}"}]},listIconBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon:before"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list .ultp-listicon-bg"}]},listIconHoverColor:{type:"string",default:"",style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-texticon:before { color:{{listIconHoverColor}}; }"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-texticon:before { background-color:{{listIconHoverColor}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list:hover .ultp-listicon-bg svg { fill:{{listIconHoverColor}}; }"}]},listIconHoverBg:{type:"string",default:"",style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:".block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon:before,\n                .ultp-list-wrapper > {{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-texticon:before { background: {{listIconHoverBg}};}"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-texticon { background-color:{{listIconHoverBg}}; }"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:"{{ULTP}}.wp-block-ultimate-post-list:hover .ultp-listicon-bg { background: {{listIconHoverBg}};}"}]},listIconHoverBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{depends:[{key:"listLayout",condition:"!=",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:".block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon:before,  \n                .ultp-list-wrapper > {{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-texticon:before"},{depends:[{key:"listLayout",condition:"==",value:"bullet"},{key:"listGroupIconType",condition:"==",value:"default"}],selector:".block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-list .ultp-list-texticon, \n                .ultp-list-wrapper > {{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-texticon"},{depends:[{key:"listGroupIconType",condition:"!=",value:"default"}],selector:".block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-list .ultp-listicon-bg, \n                .ultp-list-wrapper > {{ULTP}}.wp-block-ultimate-post-list:hover .ultp-listicon-bg"}]},listTextColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-list-title,\n            {{ULTP}} .ultp-list-title a { color:{{listTextColor}}; } "}]},listTextHoverColor:{type:"string",default:"",style:[{selector:"\n            .ultp-list-wrapper > {{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-title, \n            .ultp-list-wrapper > {{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-title a, \n            .block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-list .ultp-list-title, \n            .block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-list .ultp-list-title a { color:{{listTextHoverColor}}; } "}]},subtext:{type:"string",default:""},subTextSpace:{type:"object",default:{lg:"",ulg:"px"},style:[{depends:[{key:"layout",condition:"==",value:"layout3"},{key:"listGroupSubtextEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-subtext { margin-top:{{subTextSpace}}; }"},{depends:[{key:"layout",condition:"!=",value:"layout3"},{key:"listGroupSubtextEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-list-content { row-gap:{{subTextSpace}}; }"}]},subTextColor:{type:"string",default:"",style:[{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0}],selector:"{{ULTP}}  .ultp-list-subtext { color:{{subTextColor}}; }"}]},listSubtextHoverColor:{type:"string",default:"",style:[{depends:[{key:"listGroupSubtextEnable",condition:"==",value:!0}],selector:".ultp-list-wrapper > {{ULTP}}.wp-block-ultimate-post-list:hover .ultp-list-subtext, \n            .block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-list .ultp-list-subtext { color:{{listSubtextHoverColor}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"div:has(>\n            {{ULTP}}) {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"div:has(>\n            {{ULTP}}) {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"div:has(>\n            {{ULTP}}) {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]},...l(9735).KF}},2738:(e,t,l)=>{"use strict";var o=l(7294),a=(l(9735),l(7532)),i=l(6681),n=l(7383);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;r("ultimate-post/list",{title:__("List","ultimate-post"),parent:["ultimate-post/advanced-list"],icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/single-list.svg",alt:"List"}),category:"ultimate-post",description:__("Create & customize a list item.","ultimate-post"),keywords:[__("list","ultimate-post"),__("advanced List","ultimate-post"),__("icon list","ultimate-post")],attributes:n.Z,supports:{reusable:!1,html:!1},edit:a.Z,save:i.Z})},4902:(e,t,l)=>{"use strict";l.d(t,{Z:()=>y});var o=l(7294),a=l(3049),i=l(9838),n=l(9242);const{useBlockProps:r,useInnerBlocksProps:s}=wp.blockEditor,{useEffect:p}=wp.element,{useSelect:c}=wp.data,u=[["ultimate-post/filter-select",{type:"tags",allText:"All Tags"},[]],["ultimate-post/filter-select",{type:"category",allText:"All Categories"},[]],["ultimate-post/filter-select",{type:"order"},[]]],d=["ultimate-post/filter-select","ultimate-post/filter-clear","ultimate-post/filter-search-adv"],m=["ultimate-post/filter-select/tags","ultimate-post/filter-select/categories","ultimate-post/filter-select/order","ultimate-post/filter-clear","ultimate-post/filter-select/search","ultimate-post/filter-select/adv_sort"],g=new Set(["filter-select/adv_sort","filter-select/order_by","filter-select/order","filter-select/author","filter-clear","filter-search-adv"].map((e=>"editor-block-list-item-ultimate-post-"+e)));function y({attributes:e,setAttributes:t,clientId:l,context:y,isSelected:b}){const{blockId:v,currentPostId:h}=e;p((()=>{(0,a.qi)(t,"",h,l),t({blockId:l.slice(-6),clientId:l})}),[l]);const f=c((e=>e("core/block-editor").getBlocks(l)||[]));p((()=>{const{selectBlock:e}=wp.data.dispatch("core/block-editor");e(l)}),[f.length,l]),p((()=>{if(!b)return;const e=wp.data.subscribe((()=>{wp.data.select("core/block-editor").getBlocks(l).map((e=>"editor-block-list-item-"+e.name.replace("/","-")+(e.name.includes("filter-select")?"/"+e.attributes.type:""))).forEach((e=>{g.has(e)&&Array.from(document.getElementsByClassName(e)).forEach((e=>{e.ariaDisabled="true",e.style.pointerEvents="none"}))}))}));return()=>e()}),[b]);const k=s(r({className:`ultp-block-${v} ultp-filter-block`,"data-postid":y.postId}),{orientation:"horizontal",template:u,templateLock:!1,allowedBlocks:d,prioritizedInserterBlocks:m,templateInsertUpdatesSelection:!1});let w;return v&&(w=(0,i.Kh)(e,"ultimate-post/advanced-filter",v,(0,a.k0)())),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.Z,{attributes:e,setAttributes:t,name:"ultimate-post/advanced-filter",clientId:l}),w&&(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:w}}),(0,o.createElement)("div",k))}},9060:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294);const{useBlockProps:a,useInnerBlocksProps:i}=wp.blockEditor;function n({attributes:e}){const{blockId:t}=e,l=i.save(a.save({className:`ultp-block-${t} ultp-filter-block`}));return(0,o.createElement)("div",l)}},9242:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(3049),i=l(2637),n=l(1760);const{__}=wp.i18n,{InspectorControls:r}=wp.blockEditor;function s({name:e,attributes:t,setAttributes:l,clientId:s}){const p={setAttributes:l,name:e,attributes:t,clientId:s};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.Z,{store:p,include:[{type:"adv_filter"},{type:"inserter",label:__("Add Filters","ultimate-post"),clientId:s}]}),(0,o.createElement)(r,null,(0,o.createElement)(i.SectionsNoTab,null,(0,o.createElement)(i.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:a.wK,store:p,initialOpen:!0}))),(0,a.dH)()))}},766:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},relation:{type:"string",default:"AND"},align:{type:"object",default:{lg:"flex-start"},style:[{selector:"{{ULTP}} { justify-content: {{align}}; }"}]},gapChild:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}} { gap: {{gapChild}}; }"}]},spacingTop:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}} { margin-top: {{spacingTop}} !important; }"}]},spacingBottom:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}} { margin-bottom: {{spacingBottom}} !important; }"}]}}},44:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);function a({attributes:e,onChange:t}){const{clearButtonText:l}=e;return(0,o.createElement)("button",{className:"ultp-clear-button",onClick:t},l)}},4585:(e,t,l)=>{"use strict";l.d(t,{Z:()=>b});var o=l(7462),a=l(7294),i=l(9838),n=l(3049),r=l(7774),s=l(44),p=l(7025),c=l(5291);const{__}=wp.i18n,{useEffect:u}=wp.element,{useBlockProps:d}=wp.blockEditor,{useSelect:m}=wp.data,{selectBlock:g}=wp.data.dispatch("core/block-editor"),y="ultimate-post/filter-clear";function b({attributes:e,setAttributes:t,clientId:l,context:b,isSelected:v}){const{blockId:h}=e,f=b["advanced-filter/cId"],k=m((e=>{const t=e("core/block-editor").getBlocks(f);return(0,p.FL)(t).filter((e=>"ultimate-post/filter-select"===e.name))}),[f]),w=(0,p.NH)(k)||[];u((()=>{t({blockId:l.slice(-6)})}),[l]);const x=d({className:`ultp-block-${h} ultp-filter-clear`});let T;return h&&(T=(0,i.Kh)(e,y,h,(0,n.k0)())),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(r.Z,{name:y,attributes:e,setAttributes:t,clientId:l}),T&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:T}}),(0,a.createElement)("div",{className:`ultp-block-${h}-wrapper`},(0,a.createElement)(a.Fragment,null,w.map(((e,t)=>Object.keys(e).map((t=>(0,a.createElement)("div",(0,o.Z)({},x,{key:t}),(0,a.createElement)(c.Z,{text:e[t],clientId:t,onChange:e=>(0,p.Dg)(e)})))))),(0,a.createElement)("div",x,(0,a.createElement)(s.Z,{attributes:e,onChange:()=>{w.forEach((e=>{Object.keys(e).forEach((e=>{(0,p.Dg)(e)}))})),g(l)}})))))}},5291:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(3245);function i({text:e,clientId:t,onChange:l}){return(0,o.createElement)("div",{className:"ultp-selected-filter"},(0,o.createElement)("span",{className:"ultp-selected-filter-icon",role:"button",onClick:()=>l(t)},a.ZP.close_line),(0,o.createElement)("span",{className:"ultp-selected-filter-text"},e))}},7774:(e,t,l)=>{"use strict";l.d(t,{Z:()=>b});var o=l(7294),a=l(3049),i=l(7763),n=l(2637),r=l(1760);const{__}=wp.i18n,{InspectorControls:s}=wp.blockEditor,p=[{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-alignleft"}),value:"start",label:__("Left","ultimate-post")},{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-justify"}),value:"center",label:__("Normal","ultimate-post")},{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-alignright"}),value:"end",label:__("Right","ultimate-post")}],c=[{data:{type:"toggle",key:"cAlignEnable",label:__("Enable Alignement Controls","ultimate-post")}},{data:{type:"alignment",key:"cAlign",disableIf:e=>!e.cAlignEnable,responsive:!0,label:__("Alignment","ultimate-post"),options:p.map((e=>e.value))}},{data:{type:"tag",key:"clearButtonPosition",label:__("Position","ultimate-post"),options:[{value:"auto",label:__("Inline","ultimate-post")},{value:"100%",label:__("Block","ultimate-post")}]}},{data:{type:"text",key:"clearButtonText",label:__("Text","ultimate-post")}}],u=[{data:{type:"typography",key:"cbTypo",label:__("Typography","ultimate-post")}},{data:{type:"color",key:"cbColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"cbColorHover",label:__("Hover Color","ultimate-post")}},{data:{type:"color",key:"cbBgColor",label:__("Background Color","ultimate-post")}},{data:{type:"color",key:"cbBgHoverColor",label:__("Background Hover Color","ultimate-post")}},{data:{type:"border",key:"cbBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"cbBorderRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"boxshadow",key:"cbBoxShadow",label:__("BoxShadow","ultimate-post")}},{data:{type:"range",key:"gap",min:0,max:500,step:1,responsive:!0,unit:["px","em","rem"],label:__("Gap Between Items","ultimate-post")}},{data:{type:"dimension",key:"cbPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}],d=[{data:{type:"typography",key:"sfTypo",label:__("Typography","ultimate-post")}},{data:{type:"range",key:"sfIconSize",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Icon Size","ultimate-post")}},{data:{type:"color",key:"sfColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"sfColorHover",label:__("Hover Color","ultimate-post")}},{data:{type:"color",key:"sfBgColor",label:__("Background Color","ultimate-post")}},{data:{type:"color",key:"sfBgHoverColor",label:__("Background Hover Color","ultimate-post")}},{data:{type:"border",key:"sfBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"sfBorderRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"boxshadow",key:"sfBoxShadow",label:__("BoxShadow","ultimate-post")}},{data:{type:"dimension",key:"sfPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}],m=e=>e.map((e=>e.data)),g=()=>[{isToolbar:!0,data:{type:"tab_toolbar",content:[{name:"clear_button_set",title:__("Clear Button Settings","ultimate-post"),options:m(c)}]}}],y=()=>[{isToolbar:!0,data:{type:"tab_toolbar",content:[{name:"clear_button_sty",title:__("Clear Button Styles","ultimate-post"),options:m(u)},{name:"selected_filter_sty",title:__("Selected Filter Styles","ultimate-post"),options:m(d)}]}}];function b({attributes:e,setAttributes:t,name:l,clientId:p}){const m={setAttributes:t,name:l,attributes:e,clientId:p};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(r.Z,{store:m,include:[{type:"custom",icon:i.Z.setting,label:__("Clear Filter Settings","ultimate-post")}]},(0,o.createElement)(a.B3,{store:m,include:g()})),(0,o.createElement)(r.Z,{store:m,include:[{type:"custom",icon:i.Z.styleIcon,label:__("Clear Filter Styles","ultimate-post")}]},(0,o.createElement)(a.B3,{store:m,include:y()})),(0,o.createElement)(s,null,(0,o.createElement)(n.Sections,null,(0,o.createElement)(n.Section,{slug:"setting",title:__("Settings","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",store:m,include:c})),(0,o.createElement)(n.Section,{slug:"style",title:__("Styles","ultimate-post")},(0,o.createElement)(a.T,{title:__("Clear Button Style","ultimate-post"),initialOpen:!0,store:m,include:u}),(0,o.createElement)(a.T,{title:__("Selected Filter Style","ultimate-post"),store:m,include:d,initialOpen:!0}))),(0,a.dH)()))}},1102:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},clearButtonText:{type:"string",default:"Clear Filter"},clearButtonPosition:{type:"string",default:"auto",style:[{selector:"{{ULTP}}-wrapper { flex-basis: {{clearButtonPosition}} ; }"}]},cAlignEnable:{type:"boolean",default:!1},cAlign:{type:"string",default:{lg:"start",sm:"start",xs:"start"},style:[{selector:"{{ULTP}}-wrapper { justify-content:{{cAlign}} ; display:flex;flex-wrap:wrap; }"},{depends:[{key:"cAlignEnable",condition:"==",value:!0}],selector:"{{ULTP}}-wrapper { justify-content:{{cAlign}} ; display:flex;flex-wrap:wrap;flex-grow:1; }"}]},gap:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}}-wrapper { gap: {{gap}}; }"}]},cbTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",transform:"",family:"",weight:"400"},style:[{selector:"{{ULTP}} .ultp-clear-button"}]},cbColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-clear-button { color:{{cbColor}}; } "}]},cbColorHover:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-clear-button:hover { color:{{cbColorHover}}; } "}]},cbBgColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-clear-button { background-color:{{cbBgColor}}; } "}]},cbBgHoverColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{selector:"{{ULTP}} .ultp-clear-button:hover { background-color:{{cbBgHoverColor}}; } "}]},cbBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Contrast_1_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-clear-button"}]},cbBorderRadius:{type:"object",default:{lg:{top:"3",bottom:"3",left:"3",right:"3",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-clear-button { border-radius: {{cbBorderRadius}}; }"}]},cbBoxShadow:{type:"object",default:{openShadow:0,width:{top:0,right:0,bottom:0,left:0},color:"var(--postx_preset_Secondary_color)"},style:[{selector:"{{ULTP}} .ultp-clear-button"}]},cbPadding:{type:"object",default:{lg:{top:"8",bottom:"8",left:"10",right:"10",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-clear-button { padding:{{cbPadding}}; }"}]},sfTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",transform:"",family:"",weight:"400"},style:[{selector:"{{ULTP}} .ultp-selected-filter-text"}]},sfIconSize:{type:"object",default:{lg:"13",unit:"px"},style:[{selector:"{{ULTP}} .ultp-selected-filter-icon svg { width: {{sfIconSize}}; height:{{sfIconSize}} }"}]},sfColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-selected-filter-text { color:{{sfColor}}; }  \n                    {{ULTP}} .ultp-selected-filter-icon svg { fill:{{sfColor}}; }"}]},sfColorHover:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-selected-filter:hover .ultp-selected-filter-text { color:{{sfColorHover}}; }  \n                    {{ULTP}} .ultp-selected-filter:hover .ultp-selected-filter-icon svg { fill:{{sfColorHover}}; }"}]},sfBgColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{selector:"{{ULTP}} .ultp-selected-filter { background-color:{{sfBgColor}}; } "}]},sfBgHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-selected-filter:hover { background-color:{{sfBgHoverColor}}; } "}]},sfBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Contrast_1_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-selected-filter"}]},sfBorderRadius:{type:"object",default:{lg:"3",unit:"px"},style:[{selector:"{{ULTP}} .ultp-selected-filter { border-radius:{{sfBorderRadius}}; }"}]},sfBoxShadow:{type:"object",default:{openShadow:1,width:{top:0,right:0,bottom:0,left:0},color:"var(--postx_preset_Secondary_color)"},style:[{selector:"{{ULTP}} .ultp-selected-filter"}]},sfPadding:{type:"object",default:{lg:{top:"5",bottom:"5",left:"6",right:"6",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-selected-filter { padding:{{sfPadding}}; }"}]}}},223:(e,t,l)=>{"use strict";var o=l(7294),a=l(4585),i=l(3100),n=l(1102);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks,s=(0,i.Z)("https://wpxpo.com/docs/postx/postx-features/advanced-post-filter/","block_docs"),p=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/clear-filter.svg"});r("ultimate-post/filter-clear",{apiVersion:2,title:__("Clear Filter","ultimate-post"),icon:p,category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Clears all the selected filter","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:s},__("Documentation","ultimate-post"))),keywords:[__("Filter","ultimate-post"),__("Post Filter","ultimate-post")],supports:{},usesContext:["post-grid-parent/postBlockClientId","advanced-filter/cId"],edit:a.Z,ancestor:["ultimate-post/advanced-filter"],attributes:n.Z})},7402:(e,t,l)=>{"use strict";l.d(t,{Z:()=>c});var o=l(7294),a=l(9838),i=l(3049),n=l(3658),r=l(3245);const{__}=wp.i18n,{useEffect:s}=wp.element,{useBlockProps:p}=wp.blockEditor;function c({attributes:e,setAttributes:t,clientId:l,context:c}){const{blockId:u}=e;s((()=>{t({blockId:l.slice(-6)})}),[l]);const d=p({className:`ultp-block-${u} ultp-filter-search`});let m="";return u&&(m=(0,a.Kh)(e,"ultimate-post/filter-search-adv",u,(0,i.k0)())),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.Z,{name:"ultimate-post/filter-search-adv",attributes:e,setAttributes:t,clientId:l}),m&&(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:m}}),(0,o.createElement)("div",d,(0,o.createElement)("div",{className:"ultp-filter-search-input"},(0,o.createElement)("input",{"aria-label":"search",type:"search",placeholder:e.placeholder}),(0,o.createElement)("span",{className:"ultp-filter-search-input-icon"},r.ZP.search_line))))}},3658:(e,t,l)=>{"use strict";l.d(t,{Z:()=>y});var o=l(7294),a=l(3049),i=l(7763),n=l(2637),r=l(1760);const{__}=wp.i18n,{InspectorControls:s}=wp.blockEditor,p=[{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-alignleft"}),value:"margin-right: auto !important;margin-left:0px !important",label:__("Left","ultimate-post")},{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-justify"}),value:"margin-left:0px !important;margin-right:0px !important",label:__("Normal","ultimate-post")},{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-alignright"}),value:"margin-left: auto !important;margin-right:0px !important",label:__("Right","ultimate-post")}],c=[{data:{type:"alignment",key:"searchAlign",responsive:!0,label:__("Alignment","ultimate-post"),options:p.map((e=>e.value)),icons:["left","flow","right"]}},{data:{type:"tag",key:"sWidthType",label:__("Input Width","ultimate-post"),options:[{value:"auto",label:__("Auto","ultimate-post")},{value:"fit-content",label:__("Fixed","ultimate-post")},{value:"100%",label:__("Full","ultimate-post")}]}},{data:{type:"range",key:"sWidth",min:0,max:500,step:1,responsive:!0,unit:["px","em","rem"],label:__("Max Width","ultimate-post")}},{data:{type:"text",key:"placeholder",label:__("Placeholder Text","ultimate-post")}}],u=[{data:{type:"typography",key:"sTypo",label:__("Typography","ultimate-post")}},{data:{type:"range",key:"sIconSize",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Icon Size","ultimate-post")}},{data:{type:"color",key:"sColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"sColorHover",label:__("Hover Color","ultimate-post")}},{data:{type:"color",key:"sBgColor",label:__("Background Color","ultimate-post")}},{data:{type:"border",key:"sBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"sBorderRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"boxshadow",key:"sBoxShadow",label:__("BoxShadow","ultimate-post")}},{data:{type:"dimension",key:"sPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}],d=e=>e.map((e=>e.data)),m=()=>[{isToolbar:!0,data:{type:"tab_toolbar",content:[{name:"settings",title:__("Search Filter Settings","ultimate-post"),options:d(c)}]}}],g=()=>[{isToolbar:!0,data:{type:"tab_toolbar",content:[{name:"style",title:__("Search Filter Style","ultimate-post"),options:d(u)}]}}];function y({attributes:e,setAttributes:t,name:l,clientId:p}){const d={setAttributes:t,name:l,attributes:e,clientId:p};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(r.Z,{store:d,include:[{type:"custom",label:__("Search Filter Settings","ultimate-post"),icon:i.Z.setting}]},(0,o.createElement)(a.B3,{store:d,include:m()})),(0,o.createElement)(r.Z,{store:d,include:[{type:"custom",label:__("Search Filter Style","ultimate-post"),icon:i.Z.styleIcon}]},(0,o.createElement)(a.B3,{store:d,include:g()})),(0,o.createElement)(s,null,(0,o.createElement)(n.Sections,null,(0,o.createElement)(n.Section,{slug:"setting",title:__("Settings","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",store:d,include:c})),(0,o.createElement)(n.Section,{slug:"style",title:__("Styles","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",store:d,include:u}))),(0,a.dH)()))}},7878:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},placeholder:{type:"string",default:"Search..."},searchAlign:{type:"object",default:{lg:"margin-left:0px !important;margin-right:0px !important"},style:[{selector:"{{ULTP}} { {{searchAlign}} ; }"}]},sWidthType:{type:"string",default:"auto",style:[{selector:"{{ULTP}} { width: {{sWidthType}} ; }"}]},sWidth:{type:"object",default:{lg:"200",unit:"px"},style:[{depends:[{key:"sWidthType",condition:"==",value:"fit-content"}],selector:"{{ULTP}} .ultp-filter-search-input input {width:{{sWidth}} !important;}"}]},sTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",transform:"",family:"",weight:"400"},style:[{selector:"{{ULTP}} .ultp-filter-search-input input"}]},sIconSize:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}} .ultp-filter-search-input-icon svg { width: {{sIconSize}}; height:{{sIconSize}} }"}]},sColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-filter-search-input input, {{ULTP}} .ultp-filter-search-input input::placeholder { color:{{sColor}}; } {{ULTP}} .ultp-filter-search-input-icon svg { fill:{{sColor}}; } "}]},sColorHover:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-filter-search-input:hover input { color:{{sColorHover}}; } {{ULTP}} .ultp-filter-search-input:hover .ultp-filter-search-input-icon svg { fill:{{sColorHover}}; } "}]},sBgColor:{type:"string",default:"var(--postx_preset_Base_1_color)",style:[{selector:"{{ULTP}} .ultp-filter-search-input { background-color:{{sBgColor}}; } "}]},sBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Contrast_1_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-filter-search-input"}]},sBorderRadius:{type:"object",default:{lg:"2",unit:"px"},style:[{selector:"{{ULTP}} .ultp-filter-search-input { border-radius:{{sBorderRadius}}; }"}]},sBoxShadow:{type:"object",default:{openShadow:0,width:{top:0,right:0,bottom:0,left:0},color:"var(--postx_preset_Secondary_color)"},style:[{selector:"{{ULTP}} .ultp-filter-search-input"}]},sPadding:{type:"object",default:{lg:{top:"3",bottom:"3",left:"4",right:"14",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-filter-search-input { padding:{{sPadding}}; }"}]}}},1184:(e,t,l)=>{"use strict";var o=l(7294),a=l(7402),i=l(3100),n=l(7878);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks,s=(0,i.Z)("https://wpxpo.com/docs/postx/all-blocks/adv-filter/","block_docs"),p=(0,o.createElement)("div",{className:"ultp-block-inserter-icon-section"},(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/search-filter.svg"}),!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-pro-block"},"Pro"));r("ultimate-post/filter-search-adv",{apiVersion:2,title:__("Search Filter","ultimate-post"),icon:p,category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Search Filter","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:s},__("Documentation","ultimate-post"))),keywords:[__("Filter","ultimate-post"),__("Post Filter","ultimate-post")],supports:{},usesContext:["post-grid-parent/postBlockClientId"],edit:a.Z,ancestor:["ultimate-post/advanced-filter"],attributes:n.Z})},5968:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7462),a=l(7294);const{useBlockProps:i}=wp.blockEditor,{useState:n}=wp.element;function r({text:e,blockId:t,status:l}){const[r,s]=n(!1),p=i({className:`ultp-block-${t} ultp-filter-button ${r?"ultp-filter-button-active":""}`,role:"button"});return(0,a.createElement)("div",(0,o.Z)({},p,{onClick:()=>s((e=>!e))}),"loading"===l&&"Loading...","none"===l&&"None","error"===l&&"Error","success"===l&&e)}},9887:(e,t,l)=>{"use strict";l.d(t,{Z:()=>y});var o=l(7294),a=l(3049),i=l(9838),n=l(7025),r=l(5968),s=l(5975),p=l(2692);const{__}=wp.i18n,{useEffect:c,useMemo:u,useState:d}=wp.element,{useSelect:m,useDispatch:g}=wp.data;function y({attributes:e,setAttributes:t,clientId:l,context:g,isSelected:y}){const{blockId:b,type:v,allText:h,filterStyle:f,filterValues:k,selectedValue:w,selectedLabel:x,dropdownOptionsType:T,dropdownOptions:S}=e;c((()=>{t({blockId:l.slice(-6)})}),[l]);const P=g["post-grid-parent/postBlockClientId"],C=m((e=>{if(P){const t=e("core/block-editor").getBlocks(P).filter((e=>(0,n.M5)(e.name)));return JSON.stringify(t.filter((e=>e.attributes.queryType)).map((e=>e.attributes.queryType)))}return[]}),[P]),[E,_]=d(new Map),[L,I]=d("loading");c((()=>{"custom_tax"===v&&C&&(I("loading"),wp.apiFetch({path:"ultp/v2/custom_tax",method:"POST",data:{postTypes:JSON.parse(C)}}).then((e=>{if(0===e.length)return void I("none");const l=new Map;e.forEach((e=>{l.set(e.id,{label:e.name})})),t({postTypes:C}),_(l),I("success")})).catch((e=>{console.log(e),I("error")})))}),[C]);const[U,B]=(0,n.FW)(v,h,e);c((()=>{t({selectedValue:"_all",selectedLabel:""})}),[]);let M=u((()=>"inline"===f||"dropdown"===f&&"specific"===T?Array.from(("custom_tax"===v?"success"===L?E:new Map:"success"===U?B:new Map).entries()).map((([e,t])=>({value:e,label:t.label}))):[]),[L,f,T,U,E,B]);const A=u((()=>{if("dropdown"===f&&"specific"===T){const e=JSON.parse(S),t=new Map,l="custom_tax"===v?"success"===L?E:new Map:"success"===U?B:new Map;return e.forEach((e=>{if(l.has(e)){const o=l.get(e);t.set(e,{...o})}})),t}return"custom_tax"===v?E:B}),[T,S,B,E,v,L,U,f]),H=u((()=>JSON.parse(k)),[k]);let N;return b&&(N=(0,i.Kh)(e,"ultimate-post/filter-select",b,(0,a.k0)())),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.Z,{name:"ultimate-post/filter-select",attributes:e,setAttributes:t,clientId:l,inlineOptions:M}),N&&(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:N}}),"dropdown"===f&&(0,o.createElement)(s.Z,{name:v,options:A,status:"custom_tax"===v?L:U,blockId:b,clientId:l,value:w,openDropdown:y,onChange:(e,l)=>{t({selectedValue:String(e),selectedLabel:l})},isSearchEnabled:e.searchEnabled,searchPlaceholder:e.sPlaceholderText}),"inline"===f&&(0,o.createElement)("div",{className:`ultp-block-${b}-wrapper`},H.map((e=>{let l=M.filter((t=>t.value===e)).map((e=>e.label));return 0===l.length&&M[0]&&M[0].value&&t({filterValues:JSON.stringify([M[0].value])}),(0,o.createElement)(r.Z,{key:e,text:l[0]||"Select a Value",status:"custom_tax"===v?L:U,blockId:b})}))))}},5975:(e,t,l)=>{"use strict";l.d(t,{Z:()=>p});var o=l(7462),a=l(7294),i=l(3245),n=l(7025);const{useBlockProps:r}=wp.blockEditor,{useEffect:s}=wp.element;function p({name:e,value:t,options:l,status:p,blockId:c,clientId:u,onChange:d,openDropdown:m,isSearchEnabled:g=!1,searchPlaceholder:y=""}){const b=!l.has(t)&&l.size>0&&"success"===p&&t;s((()=>{if(b){const e=l.keys().next().value;d(e,"")}}),[b,d,l]);const v=r({className:`ultp-block-${c} ultp-filter-select`});return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",(0,o.Z)({},v,{"aria-expanded":m}),(0,a.createElement)("div",{className:"ultp-filter-select-field ultp-filter-select__parent"},(0,a.createElement)("span",{className:"ultp-filter-select-field-selected ultp-filter-select__parent-inner","aria-label":e},"loading"===p&&"Loading...","none"===p&&"None","error"===p&&"Error","success"===p&&(l.has(t)?l.get(t).label:"...")),(0,a.createElement)("span",{className:"ultp-filter-select-field-icon "+(m?"ultp-dropdown-icon-rotate":"")},i.ZP.collapse_bottom_line)),m&&(0,a.createElement)("ul",{className:"ultp-filter-select-options ultp-filter-select__dropdown"},g&&(0,a.createElement)("input",{className:"ultp-filter-select-search",type:"search",placeholder:y}),"success"===p&&Array.from(l.entries()).map((([t,l])=>(0,a.createElement)("li",{className:"ultp-filter-select__dropdown-inner "+(l.disabled?"disabled":""),key:t,onClick:o=>{if(l.disabled)return;const a=`${(0,n.DX)(e)}: ${l.label}`;d(t,"_all"===t?"":a)}},l.label))))))}},2692:(e,t,l)=>{"use strict";l.d(t,{Z:()=>v});var o=l(7294),a=l(3049),i=l(7763),n=l(2637),r=l(1760);const{__}=wp.i18n,{InspectorControls:s}=wp.blockEditor,p=[{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-alignleft"}),value:"margin-right: auto !important;margin-left:0px !important",label:__("Left","ultimate-post")},{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-justify"}),value:"margin-left:0px !important;margin-right:0px !important",label:__("Normal","ultimate-post")},{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-alignright"}),value:"margin-left: auto !important;margin-right:0px !important",label:__("Right","ultimate-post")}],c=(e,t)=>{const{filterStyle:l,type:o,dropdownOptionsType:a}=e,i="dropdown"===l&&["category","tags","author","custom_tax"].includes(o),n=i&&"specific"===a,r=["category","tags","author","custom_tax"].includes(o);return[{data:{type:"alignment",key:"align",responsive:!0,label:__("Alignment","ultimate-post"),options:p.map((e=>e.value)),icons:["left","flow","right"]}},{data:{type:"tag",key:"filterStyle",label:__("Filter Style","ultimate-post"),options:[{value:"dropdown",label:"Dropdown"},{value:"inline",label:"Inline"}]}},{data:{disableIf:e=>"inline"!==e.filterStyle,type:"select",key:"filterValues",multiple:!0,label:__("Filter Values","ultimate-post"),options:t}},{data:i?{type:"tag",key:"dropdownOptionsType",label:__("Available Options","ultimate-post"),options:[{value:"all",label:__("All","ultimate-post")},{value:"specific",label:__("Specific","ultimate-post")}]}:{}},{data:n?{type:"select",key:"dropdownOptions",multiple:!0,label:__("Select Specific Options","ultimate-post"),options:t,help:__("First selected option will be the default value.","ultimate-post")}:{}},{data:{type:"text",key:"allText",label:__("All Content Text","ultimate-post")}},{data:r?{type:"toggle",key:"searchEnabled",label:__("Enable Searching in Dropdown","ultimate-post")}:{}}]},u=e=>{const{filterStyle:t}=e;return[{data:{type:"typography",key:"pTypo",label:__("Typography","ultimate-post")}},{depend:"dropdown"===t,data:{type:"range",key:"pIconSize",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Icon Size","ultimate-post")}},{data:{type:"color",key:"pColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"pColorHover",label:__("Hover Color","ultimate-post")}},{data:{type:"color",key:"pBgColor",label:__("Background Color","ultimate-post")}},{data:{type:"color",key:"pBgColorHover",label:__("Background Hover Color","ultimate-post")}},{data:{type:"border",key:"pBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"pBorderRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"boxshadow",key:"pBoxShadow",label:__("BoxShadow","ultimate-post")}},{data:{disableIf:e=>"inline"!==e.filterStyle,type:"range",key:"iGap",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Gap Between Inline Items","ultimate-post")}},{data:{type:"dimension",key:"pPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}]},d=()=>[{data:{type:"alignment",key:"dAlign",responsive:!0,label:__("Alignment","ultimate-post"),disableJustify:!0}},{data:{type:"tag",key:"dWidthType",label:__("Width","ultimate-post"),options:[{value:"auto",label:__("Auto","ultimate-post")},{value:"fixed",label:__("Fixed","ultimate-post")}]}},{data:{disableIf:e=>"fixed"!==e.dWidthType,type:"range",key:"dWidth",min:0,max:500,step:1,responsive:!0,unit:["px","em","rem"],label:__("Fixed Width","ultimate-post")}},{data:{type:"typography",key:"dTypo",label:__("Typography","ultimate-post")}},{data:{type:"color",key:"dColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"dColorHover",label:__("Hover Color","ultimate-post")}},{data:{type:"color",key:"dBgColor",label:__("Background Color","ultimate-post")}},{data:{type:"color",key:"dBgColorHover",label:__("Background Hover Color","ultimate-post")}},{data:{type:"border",key:"dBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"dBorderRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"boxshadow",key:"dBoxShadow",label:__("BoxShadow","ultimate-post")}},{data:{type:"range",key:"dSpace",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Space between Menu","ultimate-post")}},{data:{type:"dimension",key:"dPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}],m=e=>[{data:{type:"typography",key:"sTypo",label:__("Typography","ultimate-post")}},{data:{type:"text",key:"sPlaceholderText",label:__("Placeholder Text","ultimate-post")}},{data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"sColor",label:__("Color","ultimate-post")},{type:"color",key:"sBgColor",label:__("Background Color","ultimate-post")},{type:"color",key:"sPlaceholderColor",label:__("Placeholder Color","ultimate-post")},{type:"border",key:"sBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"sBorderRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"sBoxShadow",label:__("Box Shadow","ultimate-post")}]},{name:"hover",title:__("Hover/Active","ultimate-post"),options:[{type:"color",key:"sColorHover",label:__("Color","ultimate-post")},{type:"color",key:"sBgColorHover",label:__("Background Color","ultimate-post")},{type:"color",key:"sPlaceholderColorHover",label:__("Placeholder Color","ultimate-post")},{type:"border",key:"sBorderHover",label:__("Border","ultimate-post")},{type:"dimension",key:"sBorderRadiusHover",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"sBoxShadowHover",label:__("Box Shadow","ultimate-post")}]}]}},{data:{type:"dimension",key:"sPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"sMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0}}],g=e=>e.map((e=>e.data)),y=(e,t)=>[{isToolbar:!0,data:{type:"tab_toolbar",content:[{name:"general",title:__("Select Filter Settings","ultimate-post"),options:g(c(e,t))}]}}],b=(e,t)=>{const{filterStyle:l,type:o}=e,a=[{name:"field_style",title:__("dropdown"===l?"Field Style":"Style","ultimate-post"),options:g(u(e))}];return"dropdown"===l&&a.push({name:"dropdown_style",title:__("Dropdown Style","ultimate-post"),options:g(d())}),[{isToolbar:!0,data:{type:"tab_toolbar",content:a}}]};function v({attributes:e,setAttributes:t,name:l,clientId:p,inlineOptions:g}){const v={setAttributes:t,name:l,attributes:e,clientId:p},{filterStyle:h,type:f}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(r.Z,{store:v,include:[{type:"custom",icon:i.Z.setting,label:__("Select Filter Settings","ultimate-post")}]},(0,o.createElement)(a.B3,{store:v,include:y(e,g)})),(0,o.createElement)(r.Z,{store:v,include:[{type:"custom",icon:i.Z.styleIcon,label:__("Select Filter Style","ultimate-post")}]},(0,o.createElement)(a.B3,{store:v,include:b(e,g)})),(0,o.createElement)(s,null,(0,o.createElement)(n.Sections,null,(0,o.createElement)(n.Section,{slug:"setting",title:__("Settings","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",store:v,include:c(e,g)})),(0,o.createElement)(n.Section,{slug:"style",title:__("Styles","ultimate-post")},(0,o.createElement)(a.T,{title:"dropdown"===h?__("Field Style","ultimate-post"):"inline",store:v,include:u(e),initialOpen:!0}),"dropdown"===h&&(0,o.createElement)(a.T,{title:__("Dropdown Style","ultimate-post"),store:v,include:d()}),["category","tags","author","custom_tax"].includes(f)&&(0,o.createElement)(a.T,{title:__("Search Input Style","ultimate-post"),store:v,include:m(e)}))),(0,a.dH)()))}},8501:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},type:{type:"string",default:""},dropdownOptionsType:{type:"string",default:"all"},dropdownOptions:{type:"string",default:'["_all"]'},filterStyle:{type:"string",default:"dropdown"},filterValues:{type:"string",default:'["_all"]'},allText:{type:"string",default:"All"},selectedValue:{type:"string",default:"_all"},selectedLabel:{type:"string",default:""},postTypes:{type:"string",default:"[]"},searchEnabled:{type:"boolean",default:!1},queryOrder:{type:"string",default:"desc"},align:{type:"object",default:{lg:"margin-left:0px !important;margin-right:0px !important"},style:[{selector:"{{ULTP}}.ultp-filter-select { {{align}} ; } {{ULTP}}-wrapper { {{align}}; display:flex; flex-wrap:wrap; }"}]},iGap:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}}-wrapper  { gap: {{iGap}}; }"}]},pTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",transform:"",family:"",weight:"400"},style:[{selector:"{{ULTP}} .ultp-filter-select__parent-inner, {{ULTP}}.ultp-filter-button"}]},pIconSize:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"filterStyle",condition:"==",value:"dropdown"}],selector:"{{ULTP}} .ultp-filter-select-field-icon svg { width: {{pIconSize}}; height:{{pIconSize}} }"}]},pColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-filter-select__parent-inner,{{ULTP}}.ultp-filter-button { color:{{pColor}}; } {{ULTP}} .ultp-filter-select-field-icon { fill:{{pColor}}; } "}]},pColorHover:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-filter-select__parent:hover .ultp-filter-select__parent-inner { color:{{pColorHover}}; } {{ULTP}} .ultp-filter-select__parent:hover .ultp-filter-select-field-icon svg { fill:{{pColorHover}}; } {{ULTP}}.ultp-filter-button:hover{ color:{{pColorHover}}; } {{ULTP}}.ultp-filter-button-active{ color:{{pColorHover}}; }"}]},pBgColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{selector:"{{ULTP}} .ultp-filter-select__parent, {{ULTP}}.ultp-filter-button { background-color:{{pBgColor}}; } "}]},pBgColorHover:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-filter-select__parent:hover,{{ULTP}}.ultp-filter-button:hover { background-color:{{pBgColorHover}}; } {{ULTP}}.ultp-filter-button-active { background-color:{{pBgColorHover}}; }"}]},pBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Contrast_1_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-filter-select__parent, {{ULTP}}.ultp-filter-button"}]},pBorderRadius:{type:"object",default:{lg:"2",unit:"px"},style:[{selector:"{{ULTP}} .ultp-filter-select__parent,{{ULTP}}.ultp-filter-button { border-radius:{{pBorderRadius}}; }"}]},pBoxShadow:{type:"object",default:{openShadow:1,width:{top:0,right:0,bottom:0,left:0},color:"var(--postx_preset_Secondary_color)"},style:[{selector:"{{ULTP}} .ultp-filter-select__parent, {{ULTP}}.ultp-filter-button"}]},pPadding:{type:"object",default:{lg:{top:"8",bottom:"8",left:"14",right:"14",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-filter-select__parent, {{ULTP}}.ultp-filter-button { padding:{{pPadding}}; }"}]},dAlign:{type:"string",default:"left",style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown-inner{ text-align:{{dAlign}}; }"}]},dWidthType:{type:"string",default:"auto"},dWidth:{type:"object",default:{lg:"200",unit:"px"},style:[{depends:[{key:"dWidthType",condition:"==",value:"fixed"}],selector:"{{ULTP}} .ultp-filter-select__dropdown { width: {{dWidth}}; }"}]},dTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",transform:"",family:"",weight:"400"},style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown-inner"}]},dColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown-inner { color:{{dColor}}; }  {{ULTP}} .ultp-filter-select-options::-webkit-scrollbar-thumb{ background: {{dColor}}; }"}]},dColorHover:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown-inner:hover { color:{{dColorHover}}; }"}]},dBgColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown { background-color:{{dBgColor}}; } "}]},dBgColorHover:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown-inner:hover { background-color:{{dBgColorHover}}; } "}]},dBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Contrast_1_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown"}]},dBorderRadius:{type:"object",default:{lg:"2",unit:"px"},style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown { border-radius:{{dBorderRadius}}; }"}]},dBoxShadow:{type:"object",default:{openShadow:0,width:{top:0,right:0,bottom:0,left:0},color:"var(--postx_preset_Secondary_color)"},style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown"}]},dSpace:{type:"object",default:{lg:"0",unit:"px"},style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown-inner { margin-bottom: {{dSpace}}; }"}]},dPadding:{type:"object",default:{lg:{top:"5",bottom:"5",left:"5",right:"5",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-filter-select__dropdown { padding:{{dPadding}}; }"}]},sTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",transform:"",family:"",weight:"400"},style:[{selector:"{{ULTP}} .ultp-filter-select-search"}]},sPlaceholderText:{type:"string",default:"Search..."},sColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-filter-select-search { color: {{sColor}}; } }"}]},sColorHover:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"\n                    {{ULTP}} .ultp-filter-select-search:hover,\n                    {{ULTP}} .ultp-filter-select-search:focus { \n                        color:{{sColorHover}}; \n                    }"}]},sPlaceholderColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{selector:"{{ULTP}} .ultp-filter-select-search::placeholder { color: {{sPlaceholderColor}}; } }"}]},sPlaceholderColorHover:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{selector:"\n                    {{ULTP}} .ultp-filter-select-search::placeholder:hover {\n                        color:{{sPlaceholderColorHover}}; \n                    }"},{selector:"\n                    {{ULTP}} .ultp-filter-select-search::placeholder:focus { \n                        color:{{sPlaceholderColorHover}}; \n                    }"}]},sBgColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{selector:"{{ULTP}} .ultp-filter-select-search { background-color:{{sBgColor}}; } "}]},sBgColorHover:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{selector:"\n                    {{ULTP}} .ultp-filter-select-search:hover,\n                    {{ULTP}} .ultp-filter-select-search:focus { \n                        background-color: {{sBgColorHover}}; \n                    }"}]},sBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Contrast_1_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-filter-select-search"}]},sBorderHover:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Primary_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-filter-select-search:hover, {{ULTP}} .ultp-filter-select-search:focus"}]},sBorderRadius:{type:"object",default:{lg:{top:"2",bottom:"2",left:"2",right:"2",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-filter-select-search { border-radius: {{sBorderRadius}}; }"}]},sBorderRadiusHover:{type:"object",default:{lg:{top:"2",bottom:"2",left:"2",right:"2",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-filter-select-search:focus { border-radius: {{sBorderRadiusHover}}; }"},{selector:"{{ULTP}} .ultp-filter-select-search:hover { border-radius: {{sBorderRadiusHover}}; }"}]},sBoxShadow:{type:"object",default:{openShadow:0,width:{top:0,right:0,bottom:0,left:0},color:"var(--postx_preset_Primary_color)"},style:[{selector:"{{ULTP}} .ultp-filter-select-search"}]},sBoxShadowHover:{type:"object",default:{openShadow:1,width:{top:0,right:0,bottom:0,left:1},color:"var(--postx_preset_Primary_color)"},style:[{selector:"{{ULTP}} .ultp-filter-select-search:focus"}]},sPadding:{type:"object",default:{lg:{top:"0",bottom:"0",left:"8",right:"8",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-filter-select-search { padding:{{sPadding}}; }"}]},sMargin:{type:"object",default:{lg:{top:"0",bottom:"5",left:"0",right:"0",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-filter-select-search { margin:{{sMargin}}; }"}]}}},2177:(e,t,l)=>{"use strict";var o=l(7294),a=l(9887),i=l(8501),n=l(3100),r=l(3180);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=(0,n.Z)("https://wpxpo.com/docs/postx/postx-features/advanced-post-filter/","block_docs");s("ultimate-post/filter-select",{apiVersion:2,title:__("Select Filter","ultimate-post"),icon:r.L_,category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Post Block from PostX","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:p},__("Documentation","ultimate-post"))),keywords:[__("Post Filter","ultimate-post")],attributes:i.Z,variations:r.iQ,isDefault:!1,usesContext:["post-grid-parent/postBlockClientId"],ancestor:["ultimate-post/advanced-filter"],supports:{},edit:a.Z})},3180:(e,t,l)=>{"use strict";l.d(t,{L_:()=>n,iQ:()=>u});var o=l(7294);const{__}=wp.i18n,a=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/author-filter.svg"}),i=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/tags-filter.svg"}),n=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/category-filter.svg"}),r=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/order-by-filter.svg"}),s=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/order-filter.svg"}),p=(0,o.createElement)("div",{className:"ultp-block-inserter-icon-section"},(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/advanced-sort-filter.svg"}),!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-pro-block"},"Pro")),c=(0,o.createElement)("div",{className:"ultp-block-inserter-icon-section"},(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/taxonomy-sort-filter.svg"}),!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-pro-block"},"Pro")),u=[{name:"tags",icon:i,title:__("Tags Filter","ultimate-post"),description:__("Filter posts by Tags","ultimate-post"),attributes:{type:"tags",allText:"All Tags"},isActive:["type"]},{name:"category",icon:n,title:__("Category Filter","ultimate-post"),description:__("Filter posts by Category","ultimate-post"),isDefault:!0,attributes:{type:"category",allText:"All Categories"},isActive:["type"]},{name:"author",title:__("Author Filter","ultimate-post"),icon:a,description:__("Filter posts by Author","ultimate-post"),attributes:{type:"author",allText:"All Authors"},isActive:["type"]},{name:"order",icon:s,title:__("Order Filter (Asc/Desc)","ultimate-post"),description:__("Orders posts","ultimate-post"),attributes:{type:"order"},isActive:["type"]},{name:"order_by",icon:r,title:__("Order By Filter","ultimate-post"),description:__("Orders posts by a Attribute","ultimate-post"),attributes:{type:"order_by"},isActive:["type"]},{name:"adv_sort",icon:p,title:__("Advanced Sort Filter","ultimate-post"),description:__("Orders posts (Advanced)","ultimate-post"),attributes:{type:"adv_sort",allText:"Advanced Sort"},isActive:["type"]},{name:"custom_tax",icon:c,title:__("Custom Taxonomy","ultimate-post"),description:__("Filter posts by Custom Taxonomy","ultimate-post"),attributes:{type:"custom_tax"},isActive:["type"]}];u.map((e=>"filter-select/"+e.name))},9544:(e,t,l)=>{"use strict";var o=l(7294),a=l(4902),i=l(9060),n=l(766),r=l(3100);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=(0,r.Z)("https://wpxpo.com/docs/postx/postx-features/advanced-post-filter/","block_docs"),c=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/filter-icon.svg"});s("ultimate-post/advanced-filter",{apiVersion:2,title:__("Advanced Post Filter","ultimate-post"),icon:c,category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Allow users to find specific posts using filters","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:p},__("Documentation","ultimate-post"))),keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],attributes:n.Z,providesContext:{"advanced-filter/cId":"clientId"},usesContext:["postId"],supports:{inserter:!1},edit:a.Z,save:i.Z})},2021:(e,t,l)=>{"use strict";l.d(t,{Z:()=>f});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(3245),s=l(1760),p=l(3100),c=l(6130);const{__}=wp.i18n,{InspectorControls:u,RichText:d}=wp.blockEditor,{useEffect:m,useState:g,useRef:y,Fragment:b}=wp.element,{getBlockAttributes:v,getBlockRootClientId:h}=wp.data.select("core/block-editor");function f(e){const t=y(null),[l,f]=g("Content"),[k,w]=g({postsList:"",emptyList:!1,viewAll:!1,loading:!1,error:!1,searchVal:"",searchNavPopup:!1,loadmore:1,totalPost:null}),{setAttributes:x,className:T,name:S,clientId:P,attributes:C,attributes:{blockId:E,currentPostId:_,searchAjaxEnable:L,moreResultsbtn:I,resImageEnable:U,resAuthEnable:B,resDateEnable:M,resCatEnable:A,resExcerptEnable:H,resExcerptLimit:N,moreResultPosts:j,searchPostType:O,searchButtonText:Z,searchInputPlaceholder:R,previewImg:D,advanceId:F,searchFormStyle:z,searchPopupIconStyle:W,searchnoresult:G,searchPopup:V,searchBtnText:q,searchBtnIcon:$,popupAnimation:K,moreResultsText:J,windowpopupHeading:Y,windowpopupText:X,blockPubDate:Q}}=e;function ee(e,t=!1,l=1){let o=j;I||(o=10,l=1,w({...k,postsList:""})),w({...k,postsList:t?"":k.postsList,loading:!0,emptyList:!1}),e&&e.length>2&&L?wp.apiFetch({path:"/ultp/ultp_search_data",method:"POST",data:{searchText:e,postPerPage:o,paged:l,image:U,author:B,category:A,date:M,excerpt:H,excerptLimit:N,exclude:O.length>0&&JSON.parse(O)}}).then((e=>{e.post_data.length>0?(w({...k,postsList:e.post_data,loading:!1,error:!1,emptyList:!1,totalPost:e.post_count}),w(t?{...k,postsList:e.post_data,loadmore:1}:{...k,postsList:k.postsList+e.post_data})):e.post_data.length<1&&w({...k,loading:!1,error:!1,loadmore:1,emptyList:!0})})).catch((e=>{console.log("error",e.message),w({...k,loading:!0,error:!0})})):w({...k,loading:!1,error:!1,viewAll:!1,loadmore:1})}function te(e,t=!0,l=!0){const o=t&&"popup-icon1"!=e;return(0,a.createElement)("div",{className:e?"ultp-searchpopup-icon ultp-searchbtn-"+e:"ultp-search-button"},l&&r.ZP.search_line,o&&(0,a.createElement)(d,{key:"editable",tagName:"span",className:"ultp-search-button__text",keepPlaceholderOnFocus:!0,placeholder:__("Change Text...","ultimate-post"),onChange:e=>x({searchButtonText:e}),value:Z}))}function le(e,t,l,o){const i=e?.length>0||k.loading&&k.totalPost!=k.postsList.length||k.emptyList&&0!=k.searchVal||t&&k.postsList.length>0&&0!=k.searchVal.length&&!(k.totalPost<k.loadmore*j);return(0,a.createElement)("div",{className:"ultp-search-result "+(i?"ultp-result-show":"")},(0,a.createElement)("div",{className:"ultp-result-data  "+(e?.length>0?"ultp-result-show":""),dangerouslySetInnerHTML:{__html:e}}),k.loading&&k.totalPost!=k.postsList.length&&(0,a.createElement)("div",{className:"ultp-search-result__item ultp-result-loader active"}),k.emptyList&&0!=k.searchVal&&(0,a.createElement)("div",{className:"ultp-search-result__item ultp-search-noresult active"},(0,a.createElement)(d,{key:"editable",tagName:"span",className:"ultp-search-button__text",keepPlaceholderOnFocus:!0,placeholder:__("Change Text...","ultimate-post"),onChange:e=>x({searchnoresult:e}),value:o})),t&&k.postsList.length>0&&0!=k.searchVal.length&&!(k.totalPost<k.loadmore*j)&&k.totalPost-k.loadmore*j!=0&&(0,a.createElement)("div",{className:"ultp-backend-viewmore ultp-search-result__item ultp-viewall-results active",onClick:()=>w({...k,viewAll:!k.viewAll,loadmore:Number(k.loadmore)+1,loading:!0})},(0,a.createElement)(d,{key:"editable",tagName:"span",className:"",keepPlaceholderOnFocus:!0,placeholder:__("Change Text...","ultimate-post"),onChange:e=>x({moreResultsText:e}),value:l}),"(",k.totalPost-k.loadmore*j,")"))}function oe(e,t,l){return(0,a.createElement)("div",{className:`ultp-searchform-content ultp-searchform-${e}`},(0,a.createElement)("div",{className:"ultp-search-inputwrap"},(0,a.createElement)("input",{type:"text",className:"ultp-searchres-input",value:k.searchVal,placeholder:R,onChange:e=>w({...k,searchVal:e.target.value})}),k.searchVal.length>2&&(0,a.createElement)("span",{className:"ultp-search-clear active","data-blockid":E,onClick:()=>w({...k,searchVal:"",postsList:"",loadmore:1})},r.ZP.close_line)),te(!1,t,l))}m((()=>{const e=P.substr(0,6),t=v(h(P));(0,i.qi)(x,t,_,P),E?E&&E!=e&&(t?.hasOwnProperty("ref")||(0,i.k0)()||t?.hasOwnProperty("theme")||x({blockId:e})):x({blockId:e}),"empty"==Q&&x({blockPubDate:(new Date).toISOString()})}),[P]),m((()=>{const e=t.current;if(e){const t=e.moreResultPosts!==C.moreResultPosts||C.moreResultsbtn!==e.moreResultsbtn||e.resExcerptLimit!=C.resExcerptLimit||C.resExcerptEnable!=e.resExcerptEnable||e.searchPostType!=C.searchPostType;(e.searchVal!==k.searchVal||t)&&ee(k.searchVal,!0),e.loadmore!=k.loadmore&&ee(k.searchVal,!1,k.loadmore)}else t.current=C}),[C]);const ae={setAttributes:x,name:S,attributes:C,setSection:f,section:l,clientId:P};let ie;if(E&&(ie=(0,n.Kh)(C,"ultimate-post/advanced-search",E,(0,i.k0)())),D)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:D});const ne=0==k.searchVal.length?[]:k?.postsList,re=(0,p.Z)("","advanced_search",ultp_data.affiliate_id);return(0,a.createElement)(b,null,(0,a.createElement)(u,null,(0,a.createElement)(c.Z,{store:ae})),(0,a.createElement)(s.Z,{include:[{type:"template"}],store:ae}),(0,a.createElement)("div",(0,o.Z)({},F&&{id:F},{className:`ultp-block-${E} ${T}`}),ie&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:ie}}),!ultp_data.active&&(0,a.createElement)("div",{className:"ultp-pro-helper"},(0,a.createElement)("div",{className:"ultp-pro-helper__upgrade"},(0,a.createElement)("span",null,"To Unlock Search - PostX Block"),(0,a.createElement)("a",{className:"ultp-upgrade-pro",href:re,target:"_blank"}," Upgrade to Pro "),(0,a.createElement)("a",{href:"https://www.wpxpo.com/postx/blocks/#demoid8233",target:"_blank"}," View Demo"))),(0,a.createElement)("div",{className:"ultp-block-wrapper "+(ultp_data.active?"":" ultp-wrapper-pro")},(0,a.createElement)("div",{className:"ultp-search-container "+(V?" popup-active ultp-search-animation-"+K:"")},V&&(0,a.createElement)("div",{onClick:()=>w({...k,searchNavPopup:!k.searchNavPopup,postsList:"",loading:!1})},te(W)),V&&(0,a.createElement)("div",{className:"ultp-search-popup"},(0,a.createElement)("div",{className:"ultp-canvas-wrapper "+(k.searchNavPopup?"canvas-popup-active":"")},(0,a.createElement)("div",{className:"ultp-search-canvas"},Y&&(0,a.createElement)(d,{key:"editable",tagName:"div",className:"ultp-search-popup-heading",keepPlaceholderOnFocus:!0,placeholder:__("Change Text...","ultimate-post"),onChange:e=>x({windowpopupText:e}),value:X}),oe(z,q,$),L&&le(ne,I,J,G))),V&&"popup"!=K&&k.searchNavPopup&&(0,a.createElement)("div",{className:"ultp-popupclose-icon",onClick:()=>w({...k,searchVal:"",searchNavPopup:!1,postsList:"",loading:!1})},r.ZP.close_line)),!V&&oe(z,q,$)),L&&!V&&(0,a.createElement)("div",{className:"ultp-search-dropdown"},le(ne,I,J,G)))))}},6130:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3049),i=l(2637),n=l(3581);const{__}=wp.i18n,r=e=>{const{store:t}=e,{searchPopup:l,searchAjaxEnable:r,moreResultsbtn:s}=t.attributes;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid8233",store:t}),(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.T,{store:t,initialOpen:!0,title:__("Structure Setting","ultimate-post"),include:[{position:1,data:{type:"toggle",key:"searchAjaxEnable",label:__("Ajax Search","ultimate-post")}},{position:2,data:{type:"select",key:"searchFormStyle",image:!0,defaultMedia:!0,label:__("Choose Search Form Style","ultimate-post"),options:[{label:"Input Style 1",value:"input1",img:"assets/img/layouts/search/inputform/input-form1.svg"},{label:"Input Style 2",value:"input2",img:"assets/img/layouts/search/inputform/input-form2.svg"},{label:"Input Style 3",value:"input3",img:"assets/img/layouts/search/inputform/input-form3.svg"}]}},{position:3,data:{type:"text",key:"searchnoresult",label:__("No Result Found Text","ultimate-post")}},{position:4,data:{type:"toggle",key:"searchPopup",label:__("Enable Search Popup","ultimate-post")}},{position:5,data:{type:"select",key:"searchPopupIconStyle",defaultMedia:!0,image:!0,label:__("Choose Popup Icon Style","ultimate-post"),options:[{label:"Popup Style 1",value:"popup-icon1",img:"assets/img/layouts/search/popupicon/search.svg"},{label:"Popup Style 2",value:"popup-icon2",img:"assets/img/layouts/search/popupicon/leftsearch.svg"},{label:"Popup Style 3",value:"popup-icon3",img:"assets/img/layouts/search/popupicon/rightsearch.svg"}]}},{position:6,data:{type:"search",key:"searchPostType",label:__("Post Type Exclude","ultimate-post"),multiple:!0,search:"allPostType",pro:!0}},{position:6,data:{type:"alignment",key:"searchIconAlignment",label:__("Popup Icon Alignment","ultimate-post"),disableJustify:!0}}]}),l&&(0,o.createElement)(a.T,{store:t,initialOpen:!1,title:__("Icon","ultimate-post"),include:[{position:1,data:{type:"range",key:"popupIconGap",min:0,max:300,step:1,responsive:!0,label:__("Gap Between Text and Icon","ultimate-post")}},{position:2,data:{type:"range",key:"popupIconSize",min:0,max:300,step:1,responsive:!0,label:__("Icon Size","ultimate-post")}},{position:3,data:{type:"typography",key:"popupIconTextTypo",label:__("Search Text Typography","ultimate-post")}},{position:4,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"popupIconColor",label:__("Color","ultimate-post")},{type:"color",key:"popupIconTextColor",label:__("Text Color","ultimate-post")},{type:"color2",key:"popupIconBg",label:__("Background Color","ultimate-post")},{type:"border",key:"popupIconBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"popupIconHoverColor",label:__("Hover Color","ultimate-post")},{type:"color",key:"popupIconTextHoverColor",label:__("Text Color","ultimate-post")},{type:"color2",key:"popupIconHoverBg",label:__("Hover Background Color","ultimate-post")},{type:"border",key:"IconHoverBorder",label:__("Hover Border","ultimate-post")}]}]}},{position:5,data:{type:"dimension",key:"popupIconPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:7,data:{type:"dimension",key:"popupIconRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}}]}),(0,o.createElement)(a.T,{store:t,initialOpen:!1,title:__("Search Button","ultimate-post"),include:[{position:1,data:{type:"toggle",key:"enableSearchPage",label:__("Click to go Search Result Page","ultimate-post")}},{position:2,data:{type:"toggle",key:"btnNewTab",label:__("Open In New Tab","ultimate-post")}},{position:3,data:{type:"toggle",key:"searchBtnText",label:__("Enable Text","ultimate-post")}},{position:4,data:{type:"toggle",key:"searchBtnIcon",label:__("Enable Icon","ultimate-post")}},{position:5,data:{type:"toggle",key:"searchIconAfterText",label:__("Icon After Text","ultimate-post")}},{position:6,data:{type:"toggle",key:"searchBtnReverse",label:__("Search Button Reverse","ultimate-post")}},{position:7,data:{type:"text",key:"searchButtonText",label:__("Search Button Text","ultimate-post")}},{position:8,data:{type:"range",key:"searchButtonPosition",min:0,max:300,step:1,responsive:!0,label:__("Button Gap","ultimate-post")}},{position:9,data:{type:"range",key:"searchTextGap",min:0,max:300,step:1,responsive:!0,label:__("Search Text Gap","ultimate-post")}},{position:10,data:{type:"range",key:"searchBtnIconSize",min:0,max:300,step:1,responsive:!0,label:__("Icon Size","ultimate-post")}},{position:11,data:{type:"typography",key:"searchBtnTextTypo",label:__("Search Text Typography","ultimate-post")}},{position:12,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"searchBtnIconColor",label:__("Icon Color","ultimate-post")},{type:"color",key:"searchBtnTextColor",label:__("Text Color","ultimate-post")},{type:"color2",key:"searchBtnBg",label:__("Background Color","ultimate-post")},{type:"border",key:"btnBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"searchBtnIconHoverColor",label:__("Icon Hover Color","ultimate-post")},{type:"color",key:"searchBtnTextHoverColor",label:__("Text Color","ultimate-post")},{type:"color2",key:"searchBtnHoverBg",label:__("Hover Background Color","ultimate-post")},{type:"border",key:"btnHoverBorder",label:__("Hover Border","ultimate-post")}]}]}},{position:13,data:{type:"dimension",key:"searchBtnPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:14,data:{type:"dimension",key:"searchBtnRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}}]}),l&&(0,o.createElement)(a.T,{store:t,initialOpen:!1,title:__("Popup Canvas","ultimate-post"),include:[{position:1,data:{type:"select",key:"popupAnimation",image:!0,defaultMedia:!0,label:__("Popup  Type","ultimate-post"),options:[{label:"Popup",value:"popup",img:"assets/img/layouts/search/popuptype/popup.svg"},{label:"Top Window",value:"top",img:"assets/img/layouts/search/popuptype/topView.svg"},{label:"Full Window",value:"fullwidth",img:"assets/img/layouts/search/popuptype/fullWindow.svg"}]}},{position:2,data:{type:"separator",label:__("Search Popup Heading","ultimate-post")}},{position:3,data:{type:"toggle",key:"windowpopupHeading",label:__("Search Heading","ultimate-post")}},{position:4,data:{type:"alignment",key:"windowpopupHeadingAlignment",disableJustify:!0,label:__("Heading Alignment","ultimate-post")}},{position:5,data:{type:"text",key:"windowpopupText",label:__("Heading Text","ultimate-post")}},{position:6,data:{type:"typography",key:"windowpopupHeadingTypo",label:__("Search Heading Typography","ultimate-post")}},{position:7,data:{type:"color",key:"windowpopupHeadingColor",label:__("Search Heading Color","ultimate-post")}},{position:8,data:{type:"range",key:"popupHeadingSpacing",min:0,max:300,step:1,responsive:!0,label:__("Heading Spacing","ultimate-post")}},{position:9,data:{type:"separator",key:"popupCloseIconSeparator",label:__("Close Icon Style","ultimate-post")}},{position:10,data:{type:"range",key:"popupCloseSize",min:0,max:300,step:1,responsive:!0,label:__("Close Icon Size","ultimate-post")}},{position:11,data:{type:"color",key:"popupCloseColor",label:__("Close Icon Color","ultimate-post")}},{position:12,data:{type:"color",key:"popupCloseHoverColor",label:__("Close Icon Hover Color","ultimate-post")}},{position:13,data:{type:"separator",label:__("Canvas Wrapper Style","ultimate-post")}},{position:14,data:{type:"color2",key:"popupBG",label:__("Canvas Background","ultimate-post")}},{position:15,data:{type:"range",key:"canvasWidth",min:0,max:1e3,step:1,unit:!0,responsive:!0,label:__("Canvas Width","ultimate-post")}},{position:16,data:{type:"dimension",key:"popupPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:17,data:{type:"dimension",key:"popupRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:18,data:{type:"boxshadow",key:"popupShadow",step:1,unit:!0,responsive:!0,label:__("Box Shadow","ultimate-post")}},{position:19,data:{type:"tag",key:"searchPopupPosition",label:__("Position Left/Right","ultimate-post"),options:[{value:"left",label:__("Start Left","ultimate-post")},{value:"right",label:__("Start Right","ultimate-post")}]}},{position:20,data:{type:"range",key:"popupPositionX",min:0,max:300,step:1,responsive:!0,label:__("Dropdown Position X","ultimate-post")}},{position:21,data:{type:"range",key:"popupPositionY",min:0,max:300,step:1,responsive:!0,label:__("Dropdown Position Y","ultimate-post")}}]}),(0,o.createElement)(a.T,{store:t,initialOpen:!1,title:__("Search Form","ultimate-post"),include:[{position:1,data:{type:"text",key:"searchInputPlaceholder",label:__("Input Placeholder","ultimate-post")}},{position:2,data:{type:"typography",key:"inputTypo",label:__("Search Input Typography","ultimate-post")}},{position:3,data:{type:"range",key:"searchFormWidth",min:0,max:900,step:1,unit:!0,responsive:!0,label:__("Search Form Width","ultimate-post")}},{position:4,data:{type:"range",key:"inputHeight",min:0,max:300,step:1,responsive:!0,label:__("Input Height","ultimate-post")}},{position:5,data:{type:"color",key:"inputColor",label:__("Input Color","ultimate-post")}},{position:6,data:{type:"color2",key:"inputBg",label:__("Input Background","ultimate-post")}},{position:7,data:{type:"border",key:"inputFocusBorder",label:__("Input Focus Border","ultimate-post")}},{position:8,data:{type:"border",key:"inputBorder",label:__("Input Border","ultimate-post")}},{position:9,data:{type:"dimension",key:"inputPadding",step:1,unit:!0,responsive:!0,label:__("Input Padding","ultimate-post")}},{position:10,data:{type:"dimension",key:"inputRadius",step:1,unit:!0,responsive:!0,label:__("Input Radius","ultimate-post")}},{position:11,data:{type:"range",key:"searchClear",min:0,max:300,step:1,responsive:!0,label:__("Search Clear Icon Position","ultimate-post")}}]}),r&&(0,o.createElement)(a.T,{store:t,initialOpen:!1,title:__("Search Result","ultimate-post"),include:[{position:1,data:{type:"range",key:"resColumn",min:0,max:3,step:1,responsive:!0,label:__("Result Column","ultimate-post")}},{position:2,data:{type:"range",key:"resultGap",min:0,max:300,step:1,responsive:!0,label:__("Gap","ultimate-post")}},{position:3,data:{type:"toggle",key:"resExcerptEnable",label:__("Excerpt Enable","ultimate-post")}},{position:4,data:{type:"toggle",key:"resCatEnable",label:__("Category Enable","ultimate-post")}},{position:5,data:{type:"toggle",key:"resAuthEnable",label:__("Author Enable","ultimate-post")}},{position:6,data:{type:"toggle",key:"resDateEnable",label:__("Publish Date Enable","ultimate-post")}},{position:7,data:{type:"toggle",key:"resImageEnable",label:__("Image Enable","ultimate-post")}},{position:8,data:{type:"range",key:"resImageSize",min:0,max:300,step:1,responsive:!0,label:__("Image Size","ultimate-post")}},{position:9,data:{type:"dimension",key:"resImageRadius",step:1,unit:!0,responsive:!0,label:__("Image Radius","ultimate-post")}},{position:10,data:{type:"range",key:"resImageSpace",min:0,max:300,step:1,responsive:!0,label:__("Image Gap","ultimate-post")}},{position:11,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"resTitleColor",label:__("Title Color","ultimate-post")},{type:"color",key:"resExcerptColor",label:__("Excerpt Color","ultimate-post")},{type:"color",key:"resMetaColor",label:__("Meta  Color","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"resTitleHoverColor",label:__("Title Hover Color","ultimate-post")},{type:"color",key:"resMetaHoverColor",label:__("Meta Hover Color","ultimate-post")}]}]}},{position:12,data:{type:"typography",key:"resTitleTypo",label:__("Title Typography","ultimate-post")}},{position:13,data:{type:"typography",key:"resMetaTypo",label:__("Meta Typography","ultimate-post")}},{position:14,data:{type:"typography",key:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}},{position:15,data:{type:"range",key:"resExcerptLimit",min:0,max:400,step:1,label:__("Excerpt Limit","ultimate-post")}},{position:16,data:{type:"separator",label:__("Meta Separator Style","ultimate-post")}},{position:17,data:{type:"range",key:"resultMetaSpace",min:0,max:300,step:1,responsive:!0,label:__("Meta Spacing","ultimate-post")}},{position:18,data:{type:"range",key:"resultMetaSeparatorSize",min:0,max:300,step:1,responsive:!0,label:__("Meta Separator Size","ultimate-post")}},{position:19,data:{type:"color",key:"resMetaSeparatorColor",label:__("Meta Separator Color","ultimate-post")}},{position:20,data:{type:"toggle",key:"resultHighlighter",label:__("Enable Highlighter","ultimate-post")}},{position:21,data:{type:"color",key:"resultHighlighterColor",label:__("Highlighter Color","ultimate-post")}},{position:22,data:{type:"separator",label:__("Wrapper Style","ultimate-post")}},{position:23,data:{type:"color2",key:"resultBg",label:__("Background Color","ultimate-post")}},{position:24,data:{type:"range",key:"resultMaxHeight",min:0,max:900,step:1,responsive:!0,label:__("Result Box Height","ultimate-post")}},{position:25,data:{type:"dimension",key:"resultPadding",unit:!0,responsive:!0,label:__("Item Padding","ultimate-post")}},{position:26,data:{type:"border",key:"resultBorder",label:__("Border","ultimate-post")}},{position:27,data:{type:"dimension",key:"resultBorderRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:28,data:{type:"boxshadow",key:"resultShadow",step:1,unit:!0,responsive:!0,label:__("Box Shadow","ultimate-post")}},{position:29,data:{type:"range",key:"resultSpacingX",min:0,max:300,step:1,responsive:!0,label:__("Horizontal Position","ultimate-post")}},{position:30,data:{type:"range",key:"resultSpacingY",min:0,max:300,step:1,responsive:!0,label:__("Vertical Position","ultimate-post")}},{position:31,data:{type:"toggle",key:"resultSeparatorEnable",label:__("Enable Separator","ultimate-post")}},{position:32,data:{type:"color",key:"resultSeparatorColor",label:__("Separator Color","ultimate-post")}},{position:33,data:{type:"range",key:"resultSeparatorWidth",min:0,max:30,step:1,responsive:!0,label:__("Separator Width","ultimate-post")}},{position:34,data:{type:"toggle",key:"resMoreResultDevider",label:__("Disable Result Item Separator","ultimate-post")}}]}),r&&(0,o.createElement)(a.T,{store:t,initialOpen:!1,title:__("More Result's","ultimate-post"),depend:"moreResultsbtn",include:[{position:1,data:{type:"range",key:"moreResultPosts",min:0,max:100,step:1,label:__("Show Initial Post","ultimate-post")}},{position:2,data:{type:"text",key:"moreResultsText",label:__("View More Results","ultimate-post")}},{position:3,data:{type:"typography",key:"moreResultsTypo",label:__("Typography","ultimate-post")}},{position:4,data:{type:"color",key:"moreResultsColor",label:__("Color","ultimate-post")}},{position:5,data:{type:"color",key:"moreResultsHoverColor",label:__("Hover Color","ultimate-post")}}]})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.T,{store:t,initialOpen:!0,title:__("Adavnced Settings","ultimate-post"),include:[{position:1,data:{type:"text",key:"advanceId",label:__("ID","ultimate-post")}},{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}},{position:3,data:{type:"range",key:"advanceZindex",min:-100,max:1e4,step:1,label:__("z-index","ultimate-post")}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())}},5258:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},blockPubDate:{type:"string",default:"empty"},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},searchAjaxEnable:{type:"boolean",default:!0},searchFormStyle:{type:"string",default:"input1",style:[{depends:[{key:"searchBtnReverse",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-searchres-input { padding-left: 16px; }"},{depends:[{key:"searchBtnReverse",condition:"==",value:!0}]}]},searchnoresult:{type:"string",default:"No Results Found",style:[{depends:[{key:"searchAjaxEnable",condition:"==",value:!0}]}]},searchPopup:{type:"boolean",default:!1},searchPopupIconStyle:{type:"string",default:"popup-icon1",style:[{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"searchPopupIconStyle",condition:"==",value:"popup-icon1"}]},{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"searchPopupIconStyle",condition:"==",value:"popup-icon2"}]},{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"searchPopupIconStyle",condition:"==",value:"popup-icon3"}],selector:"{{ULTP}} .ultp-searchpopup-icon { flex-direction: row-reverse }"}]},searchPostType:{type:"string",default:""},searchIconAlignment:{type:"string",default:"left",style:[{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"searchIconAlignment",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-searchpopup-icon { margin: 0 auto; }"},{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"searchIconAlignment",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-searchpopup-icon,  \n                {{ULTP}} .ultp-search-animation-popup .ultp-search-canvas { margin-right: auto; }"},{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"searchIconAlignment",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-searchpopup-icon, \n                {{ULTP}} .ultp-search-animation-popup .ultp-search-canvas { margin-left: auto; }"}]},popupIconGap:{type:"object",default:{lg:"17",unit:"px"},style:[{depends:[{key:"searchPopupIconStyle",condition:"!=",value:"popup-icon1"}],selector:"{{ULTP}} .ultp-searchpopup-icon { gap:{{popupIconGap}}; }"}]},popupIconSize:{type:"object",default:{lg:"17",unit:"px"},style:[{selector:"{{ULTP}} .ultp-searchpopup-icon svg { height:{{popupIconSize}}; width:{{popupIconSize}}; }"}]},popupIconTextTypo:{type:"object",default:{openTypography:0,size:{lg:16,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:"",weight:700},style:[{depends:[{key:"searchPopupIconStyle",condition:"!=",value:"popup-icon1"}],selector:"{{ULTP}} .ultp-searchpopup-icon .ultp-search-button__text"}]},popupIconColor:{type:"string",default:"var(--postx_preset_Base_1_color)",style:[{selector:"{{ULTP}} .ultp-searchpopup-icon svg { fill:{{popupIconColor}}; }"}]},popupIconTextColor:{type:"string",default:"var(--postx_preset_Base_1_color)",style:[{depends:[{key:"searchPopupIconStyle",condition:"!=",value:"popup-icon1"}],selector:"{{ULTP}} .ultp-searchpopup-icon .ultp-search-button__text { color: {{popupIconTextColor}}; }"}]},popupIconBg:{type:"object",default:{openColor:0,type:"color",color:"var(--postx_preset_Contrast_2_color)",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} .ultp-searchpopup-icon"}]},popupIconHoverColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-searchpopup-icon:hover svg { fill: {{popupIconHoverColor}}; }"}]},popupIconTextHoverColor:{type:"string",default:"",style:[{depends:[{key:"searchPopupIconStyle",condition:"!=",value:"popup-icon1"}],selector:"{{ULTP}} .ultp-searchpopup-icon:hover .ultp-search-button__text { color: {{popupIconTextHoverColor}}; }"}]},popupIconHoverBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} .ultp-searchpopup-icon:hover"}]},popupIconPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-searchpopup-icon { padding: {{popupIconPadding}}; }"}]},popupIconBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#000"},style:[{selector:"{{ULTP}}  .ultp-searchpopup-icon"}]},IconHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#000"},style:[{selector:"{{ULTP}}  .ultp-searchpopup-icon:hover"}]},popupIconRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-searchpopup-icon { border-radius: {{popupIconRadius}}; }"}]},searchBtnEnable:{type:"boolean",default:!1},btnNewTab:{type:"boolean",default:!1},enableSearchPage:{type:"boolean",default:!0,style:[{depends:[{key:"searchBtnIcon",condition:"==",value:!0}]},{depends:[{key:"searchBtnText",condition:"==",value:!0}]}]},searchBtnText:{type:"boolean",default:!0},searchBtnIcon:{type:"boolean",default:!0},searchIconAfterText:{type:"boolean",default:!1,style:[{depends:[{key:"searchIconAfterText",condition:"==",value:!1},{key:"searchBtnIcon",condition:"==",value:!0},{key:"searchBtnText",condition:"==",value:!0}]},{depends:[{key:"searchIconAfterText",condition:"==",value:!0},{key:"searchBtnIcon",condition:"==",value:!0},{key:"searchBtnText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button { flex-direction: row-reverse }"}]},searchButtonText:{type:"text",default:"Search"},searchButtonPosition:{type:"object",default:{lg:"7",unit:"px"},style:[{depends:[{key:"searchBtnIcon",condition:"==",value:!0},{key:"searchFormStyle",condition:"==",value:"input1"}],selector:"{{ULTP}} .ultp-searchform-content.ultp-searchform-input1 { gap:{{searchButtonPosition}}; }"},{depends:[{key:"searchBtnIcon",condition:"==",value:!0},{key:"searchFormStyle",condition:"==",value:"input2"},{key:"searchBtnReverse",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-search-button { right: {{searchButtonPosition}}; left: auto; }"},{depends:[{key:"searchBtnIcon",condition:"==",value:!0},{key:"searchFormStyle",condition:"==",value:"input2"},{key:"searchBtnReverse",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button { left: {{searchButtonPosition}}; right: auto;}"},{depends:[{key:"searchBtnText",condition:"==",value:!0},{key:"searchFormStyle",condition:"==",value:"input1"}],selector:"{{ULTP}} .ultp-searchform-content.ultp-searchform-input1 { gap:{{searchButtonPosition}}; }"},{depends:[{key:"searchBtnText",condition:"==",value:!0},{key:"searchFormStyle",condition:"==",value:"input2"},{key:"searchBtnReverse",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-search-button { right: {{searchButtonPosition}}; left: auto; }"},{depends:[{key:"searchBtnText",condition:"==",value:!0},{key:"searchFormStyle",condition:"==",value:"input2"},{key:"searchBtnReverse",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button { left: {{searchButtonPosition}}; right: auto;}"}]},searchTextGap:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"searchBtnText",condition:"==",value:!0},{key:"searchBtnIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button { gap: {{searchTextGap}}; }"}]},searchBtnIconSize:{type:"object",default:{lg:"17",unit:"px"},style:[{depends:[{key:"searchBtnIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button svg { height:{{searchBtnIconSize}}; width:{{searchBtnIconSize}}; }"}]},searchBtnTextTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:400},style:[{depends:[{key:"searchBtnText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button .ultp-search-button__text"}]},searchBtnIconColor:{type:"string",default:"#fff",style:[{depends:[{key:"searchBtnIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button svg { fill:{{searchBtnIconColor}}; }"}]},searchBtnTextColor:{type:"string",default:"#fff",style:[{depends:[{key:"searchBtnText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button .ultp-search-button__text { color: {{searchBtnTextColor}}; }"}]},searchBtnBg:{type:"object",default:{openColor:1,type:"color",color:"#212121",size:"cover",repeat:"no-repeat"},style:[{depends:[{key:"searchBtnText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button"},{depends:[{key:"searchBtnIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button"}]},btnBorder:{type:"object",default:{openBorder:0,width:{top:0,right:0,bottom:0,left:0},color:"#000"},style:[{selector:"{{ULTP}} .ultp-search-button"}]},searchBtnIconHoverColor:{type:"string",default:"",style:[{depends:[{key:"searchBtnIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button:hover svg { fill:{{searchBtnIconHoverColor}}; }"}]},searchBtnTextHoverColor:{type:"string",default:"",style:[{depends:[{key:"searchBtnText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button:hover .ultp-search-button__text { color: {{searchBtnTextHoverColor}}; }"}]},searchBtnHoverBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{depends:[{key:"searchBtnText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button:hover"},{depends:[{key:"searchBtnIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button:hover"}]},btnHoverBorder:{type:"object",default:{openBorder:0,width:{top:0,right:0,bottom:0,left:0},color:"#000"},style:[{selector:"{{ULTP}} .ultp-search-button:hover"}]},searchBtnPadding:{type:"object",default:{lg:{top:"13",bottom:"13",left:"13",right:"13",unit:"px"}},style:[{depends:[{key:"searchBtnText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button { padding: {{searchBtnPadding}}; }"},{depends:[{key:"searchBtnIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button { padding: {{searchBtnPadding}}; }"}]},searchBtnRadius:{type:"object",default:{lg:{top:"5",bottom:"5",left:"5",right:"5",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-search-button { border-radius: {{searchBtnRadius}}; }"}]},searchClear:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-search-clear { right: {{searchClear}} !important; }"}]},popupAnimation:{type:"string",default:"popup"},popupCloseIconSeparator:{type:"string",default:"Close Icon Style",style:[{depends:[{key:"popupAnimation",condition:"!=",value:"popup"}]}]},popupCloseSize:{type:"object",default:{lg:"20",unit:"px"},style:[{depends:[{key:"popupAnimation",condition:"!=",value:"popup"}],selector:"{{ULTP}} .ultp-popupclose-icon svg { height:{{popupCloseSize}}; width:{{popupCloseSize}}; }"}]},popupCloseColor:{type:"string",default:"#000",style:[{depends:[{key:"popupAnimation",condition:"!=",value:"popup"}],selector:"{{ULTP}} .ultp-popupclose-icon svg { fill:{{popupCloseColor}}; }"}]},popupCloseHoverColor:{type:"string",default:"#7777",style:[{depends:[{key:"popupAnimation",condition:"!=",value:"popup"}],selector:"{{ULTP}} .ultp-popupclose-icon:hover svg { fill:{{popupCloseHoverColor}}; }"}]},windowpopupHeading:{type:"boolean",default:!0},windowpopupText:{type:"string",default:"Search The Query"},windowpopupHeadingAlignment:{type:"string",default:"center",style:[{depends:[{key:"windowpopupHeading",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-popup-heading { text-align:{{windowpopupHeadingAlignment}}; }"}]},windowpopupHeadingTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:24,unit:"px"},decoration:"none",family:"",weight:600},style:[{depends:[{key:"windowpopupHeading",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-popup-heading"}]},windowpopupHeadingColor:{type:"string",default:"#000",style:[{depends:[{key:"windowpopupHeading",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-popup-heading { color:{{windowpopupHeadingColor}}; }"}]},popupHeadingSpacing:{type:"object",default:{lg:"12"},style:[{depends:[{key:"windowpopupHeading",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-popup-heading { margin-bottom: {{popupHeadingSpacing}}px;}"}]},searchPopupPosition:{type:"string",default:"right",style:[{depends:[{key:"popupAnimation",condition:"==",value:"popup"}]}]},popupBG:{type:"object",default:{openColor:1,type:"color",color:"#FCFCFC"},style:[{selector:"{{ULTP}} .ultp-search-canvas"}]},canvasWidth:{type:"object",default:{lg:"600",xs:"100",ulg:"px",unit:"%"},style:[{depends:[{key:"popupAnimation",condition:"==",value:"popup"}],selector:"{{ULTP}} .ultp-search-canvas { width: {{canvasWidth}};}"},{depends:[{key:"popupAnimation",condition:"!=",value:"popup"}],selector:"{{ULTP}} .ultp-search-canvas > div { max-width: {{canvasWidth}} !important; width: 100% !important; }"}]},popupPadding:{type:"object",default:{lg:{top:"40",bottom:"40",left:"40",right:"40",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-search-canvas { padding: {{popupPadding}}; }"}]},popupRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-search-canvas { border-radius: {{popupRadius}}; }"}]},popupShadow:{type:"object",default:{openShadow:1,width:{top:0,right:3,bottom:6,left:0},color:"rgba(0, 0, 0, 0.16)"},style:[{depends:[{key:"searchPopup",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-canvas"}]},popupPositionX:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"popupAnimation",condition:"==",value:"popup"},{key:"searchPopupPosition",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-search-popup .ultp-search-canvas {right:{{popupPositionX}}; left: auto; } \n                body > {{ULTP}} { transform: translateX(-{{popupPositionX}}) }"},{depends:[{key:"popupAnimation",condition:"==",value:"popup"},{key:"searchPopupPosition",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-search-popup .ultp-search-canvas {  left:{{popupPositionX}}; right: auto; } \n                body > {{ULTP}}   { transform: translateX({{popupPositionX}}) }"}]},popupPositionY:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"popupAnimation",condition:"==",value:"popup"}],selector:"{{ULTP}} .ultp-search-popup .ultp-search-canvas { top:{{popupPositionY}}; } \n                body > {{ULTP}}.result-data.ultp-search-animation-popup { translate: 0px {{popupPositionY}} }"}]},searchBtnReverse:{type:"boolean",default:!1,style:[{depends:[{key:"searchFormStyle",condition:"==",value:"input1"},{key:"searchBtnReverse",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-searchform-content.ultp-searchform-input1 { flex-direction: row-reverse; } \n                {{ULTP}} .ultp-searchres-input {  padding-left: 16px; padding-right: 40px; }"},{depends:[{key:"searchFormStyle",condition:"==",value:"input2"},{key:"searchBtnReverse",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button { right: auto; } \n                {{ULTP}} .ultp-search-clear { right: 16px;  } \n                {{ULTP}} .ultp-searchres-input {  padding-left: 120px;  padding-right: 40px;}"},{depends:[{key:"searchFormStyle",condition:"==",value:"input3"},{key:"searchBtnReverse",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-button {  right: auto; left: 0px;} \n                {{ULTP}} .ultp-search-clear { right: 16px } \n                {{ULTP}} .ultp-searchres-input {  padding-left: 120px; padding-right: 40px;}"},{depends:[{key:"searchBtnReverse",condition:"==",value:!1}]}]},searchInputPlaceholder:{type:"string",default:"Search..."},inputTypo:{type:"object",default:{openTypography:0,size:{lg:16,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:"",weight:700},style:[{selector:"{{ULTP}} .ultp-search-inputwrap input.ultp-searchres-input"}]},searchFormWidth:{type:"object",default:{lg:"",sm:"100",unit:"%"},style:[{depends:[{key:"searchPopup",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-searchform-content, \n                {{ULTP}} .ultp-search-result { width: {{searchFormWidth}} !important; }"}]},inputHeight:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}}  input.ultp-searchres-input { height: {{inputHeight}}; }"}]},inputColor:{type:"string",default:"#000",style:[{selector:"{{ULTP}} .ultp-search-inputwrap input.ultp-searchres-input { color: {{inputColor}}; }"}]},inputBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} input.ultp-searchres-input"}]},inputFocusBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#000"},style:[{selector:"{{ULTP}} .ultp-search-inputwrap input.ultp-searchres-input:focus"}]},inputBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#989898"},style:[{selector:"{{ULTP}} .ultp-search-inputwrap input.ultp-searchres-input"}]},inputPadding:{type:"object",default:{lg:{}},style:[{selector:"{{ULTP}} .ultp-search-inputwrap input.ultp-searchres-input { padding:{{inputPadding}}; }"}]},inputRadius:{type:"object",default:{lg:{top:"5",bottom:"5",left:"5",right:"5",unit:"px"}},style:[{selector:"{{ULTP}} input.ultp-searchres-input { border-radius:{{inputRadius}}; }"}]},resColumn:{type:"object",default:{lg:"1"},style:[{selector:"{{ULTP}} .ultp-result-data { display: grid; grid-template-columns: repeat( {{resColumn}} , auto) } "}]},resultGap:{type:"object",default:{lg:"10"},style:[{depends:[{key:"resultSeparatorEnable",condition:"!=",value:!0},{key:"moreResultsbtn",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-result-data { gap:{{resultGap}}px; } "},{depends:[{key:"resMoreResultDevider",condition:"==",value:!0},{key:"moreResultsbtn",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-result-data { gap:{{resultGap}}px; } "},{depends:[{key:"moreResultsbtn",condition:"==",value:!1},{key:"resultSeparatorEnable",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-result-data { gap:{{resultGap}}px; } "}]},resExcerptEnable:{type:"boolean",default:!0},resCatEnable:{type:"boolean",default:!0},resAuthEnable:{type:"boolean",default:!0},resDateEnable:{type:"boolean",default:!0},resImageEnable:{type:"boolean",default:!0},resImageSize:{type:"object",default:{lg:"70",unit:"px"},style:[{depends:[{key:"resImageEnable",condition:"==",value:!0}],selector:"{{ULTP}}  img.ultp-searchresult-image { height:{{resImageSize}}; width:{{resImageSize}}; } "}]},resImageRadius:{type:"object",default:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},style:[{depends:[{key:"resImageEnable",condition:"==",value:!0}],selector:"{{ULTP}} img.ultp-searchresult-image { border-radius: {{resImageRadius}}; }"}]},resImageSpace:{type:"object",default:{lg:"20",unit:"px"},style:[{depends:[{key:"resImageEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-result__item { column-gap:{{resImageSpace}}; } "}]},resTitleColor:{type:"string",default:"#101010",style:[{selector:"{{ULTP}} .ultp-search-result .ultp-searchresult-title { color:{{resTitleColor}}; }"}]},resExcerptColor:{type:"string",default:"#000",style:[{depends:[{key:"resExcerptEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-searchresult-excerpt { color:{{resExcerptColor}}; }"}]},resMetaColor:{type:"string",default:"#000",style:[{selector:"{{ULTP}}  .ultp-searchresult-author, \n                {{ULTP}}  .ultp-searchresult-publishdate, \n                {{ULTP}} .ultp-searchresult-category a { color:{{resMetaColor}}; }"}]},resTitleHoverColor:{type:"string",default:"#037fff",style:[{selector:"{{ULTP}} .ultp-search-result .ultp-searchresult-title:hover { color:{{resTitleHoverColor}}; }"}]},resMetaHoverColor:{type:"string",default:"#037fff",style:[{selector:"{{ULTP}} .ultp-searchresult-author:hover, \n                {{ULTP}} .ultp-searchresult-publishdate:hover, \n                {{ULTP}} .ultp-searchresult-category a:hover { color:{{resMetaHoverColor}}; }"}]},resTitleTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:23,unit:"px"},decoration:"none",family:"",weight:500},style:[{selector:"{{ULTP}} .ultp-search-result  a.ultp-searchresult-title"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:300},style:[{depends:[{key:"resExcerptEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-searchresult-excerpt"}]},resMetaTypo:{type:"object",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:300},style:[{selector:"{{ULTP}} .ultp-search-result .ultp-searchresult-author, \n                {{ULTP}} .ultp-search-result .ultp-searchresult-publishdate, \n                {{ULTP}}  .ultp-searchresult-category a"}]},resExcerptLimit:{type:"string",default:"25",style:[{depends:[{key:"resExcerptEnable",condition:"==",value:!0}]}]},resultMetaSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{selector:"{{ULTP}} .ultp-rescontent-meta > div::after, \n                {{ULTP}} .ultp-rescontent-meta > .ultp-searchresult-author:after { margin: 0px {{resultMetaSpace}} }"}]},resultMetaSeparatorSize:{type:"object",default:{lg:"5",unit:"px"},style:[{selector:"{{ULTP}} .ultp-rescontent-meta > div::after, \n                {{ULTP}} .ultp-rescontent-meta > .ultp-searchresult-author:after { height:{{resultMetaSeparatorSize}}; width:{{resultMetaSeparatorSize}}; }"}]},resMetaSeparatorColor:{type:"string",default:"#4A4A4A",style:[{selector:"{{ULTP}} .ultp-rescontent-meta > div::after, \n                {{ULTP}} .ultp-rescontent-meta > .ultp-searchresult-author:after { background-color:{{resMetaSeparatorColor}}; }"}]},resultHighlighter:{type:"boolean",default:!0,style:[{depends:[{key:"resultHighlighter",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-highlight { font-weight: bold; text-decoration: underline } "},{depends:[{key:"resultHighlighter",condition:"==",value:!1}]}]},resultHighlighterColor:{type:"string",default:"#777777",style:[{depends:[{key:"resultHighlighter",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-highlight { color: {{resultHighlighterColor}}; }"}]},resultBg:{type:"object",default:{openColor:1,type:"color",color:"#FCFCFC"},style:[{selector:"{{ULTP}} .ultp-search-result"}]},resultMaxHeight:{type:"object",default:{lg:"300",unit:"px"},style:[{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"popupAnimation",condition:"==",value:"fullwidth"}],selector:"{{ULTP}} .ultp-search-result {  max-height:{{resultMaxHeight}} !important; }  \n                {{ULTP}} .ultp-search-canvas:has(.ultp-search-clear.active) .ultp-search-result { min-height:{{resultMaxHeight}} !important; }"},{depends:[{key:"searchPopup",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-search-result { max-height:{{resultMaxHeight}}; }  \n                {{ULTP}} .ultp-result-data { max-height:calc({{resultMaxHeight}} - 50px); }"},{depends:[{key:"searchPopup",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-result { max-height:{{resultMaxHeight}}; } \n                {{ULTP}} .ultp-result-data { max-height:calc({{resultMaxHeight}} - 50px); }"}]},resultPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"15",right:"15",unit:"px"}},style:[{depends:[{key:"resultSeparatorEnable",condition:"==",value:!0},{key:"resMoreResultDevider",condition:"==",value:!0},{key:"moreResultsbtn",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-dropdown .ultp-result-data.ultp-result-show, \n                {{ULTP}}.popup-active .ultp-result-data.ultp-result-show { padding:{{resultPadding}}; } \n                {{ULTP}} .ultp-search-result .ultp-result-data:has( > div) { padding:{{resultPadding}}; }  \n                {{ULTP}} .ultp-search-noresult { padding: {{resultPadding}} !important;}"},{depends:[{key:"resultSeparatorEnable",condition:"==",value:!0},{key:"moreResultsbtn",condition:"==",value:!0},{key:"resMoreResultDevider",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-search-result__item { padding:{{resultPadding}};} "},{depends:[{key:"resultSeparatorEnable",condition:"==",value:!0},{key:"moreResultsbtn",condition:"==",value:!1},{key:"resMoreResultDevider",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-search-result__item { padding:{{resultPadding}}; } "},{depends:[{key:"resultSeparatorEnable",condition:"==",value:!1},{key:"moreResultsbtn",condition:"==",value:!1},{key:"resMoreResultDevider",condition:"==",value:!1}],selector:"{{ULTP}}.popup-active .ultp-result-data.ultp-result-show, \n                {{ULTP}} .ultp-search-noresult { padding: {{resultPadding}} !important;} \n                {{ULTP}} .ultp-result-data:has( > div) { padding:{{resultPadding}}; }"},{depends:[{key:"resultSeparatorEnable",condition:"==",value:!0},{key:"moreResultsbtn",condition:"==",value:!1},{key:"resMoreResultDevider",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-result__item { padding:{{resultPadding}}; } "},{depends:[{key:"resultSeparatorEnable",condition:"==",value:!1},{key:"moreResultsbtn",condition:"==",value:!0},{key:"resMoreResultDevider",condition:"==",value:!1}],selector:"{{ULTP}}.popup-active .ultp-result-data.ultp-result-show,  \n                {{ULTP}} .ultp-search-noresult { padding: {{resultPadding}} !important;} \n                {{ULTP}} .ultp-result-data:has( > div) { padding:{{resultPadding}}; }"},{depends:[{key:"resultSeparatorEnable",condition:"==",value:!1},{key:"moreResultsbtn",condition:"==",value:!0},{key:"resMoreResultDevider",condition:"==",value:!0}],selector:"{{ULTP}}.popup-active .ultp-result-data.ultp-result-show,  \n                {{ULTP}} .ultp-search-noresult {  padding: {{resultPadding}} !important;} \n                {{ULTP}} .ultp-result-data:has( > div) { padding:{{resultPadding}}; }"},{depends:[{key:"resultSeparatorEnable",condition:"==",value:!1},{key:"moreResultsbtn",condition:"==",value:!1},{key:"resMoreResultDevider",condition:"==",value:!0}],selector:"{{ULTP}}.popup-active .ultp-result-data.ultp-result-show,  \n                {{ULTP}} .ultp-search-noresult { color: green; padding: {{resultPadding}} !important;} \n                {{ULTP}} .ultp-result-data:has( > div) { padding:{{resultPadding}}; color: red; }"}]},resultBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{selector:"{{ULTP}} .ultp-search-result"}]},resultBorderRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-search-result { border-radius: {{resultBorderRadius}}; }"}]},resultShadow:{type:"object",default:{openShadow:0,width:{top:0,right:3,bottom:6,left:0},color:"rgba(0, 0, 0, 0.16)"},style:[{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"popupAnimation",condition:"==",value:"popup"}],selector:"{{ULTP}} .ultp-search-canvas:has(.ultp-search-clear.active) .ultp-search-result"},{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"popupAnimation",condition:"==",value:"top"}],selector:"{{ULTP}} .ultp-search-result:has(.ultp-result-data > div)"},{depends:[{key:"searchPopup",condition:"==",value:!0},{key:"popupAnimation",condition:"==",value:"fullwidth"}],selector:"{{ULTP}} .ultp-search-canvas:has(.ultp-search-clear.active) .ultp-search-result"},{depends:[{key:"searchPopup",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-search-result:has(.active), \n                {{ULTP}} .ultp-search-result:has( .ultp-result-data > .ultp-search-result__item )"}]},resultSpacingX:{type:"object",default:{lg:"0",unit:"px"},style:[{depends:[{key:"searchPopup",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-search-result { left:{{resultSpacingX}}; }"}]},resultSpacingY:{type:"object",default:{lg:"0",unit:"px"},style:[{selector:"{{ULTP}} .ultp-search-result { top:{{resultSpacingY}}; }"}]},resultSeparatorEnable:{type:"boolean",default:!0},resultSeparatorColor:{type:"string",default:"#DEDEDE",style:[{depends:[{key:"resultSeparatorEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-result__item { border-color: {{resultSeparatorColor}} !important; }"}]},resultSeparatorWidth:{type:"object",default:{lg:"1",unit:"px"},style:[{depends:[{key:"moreResultsbtn",condition:"==",value:!0},{key:"resultSeparatorEnable",condition:"==",value:!0},{key:"resMoreResultDevider",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-viewall-results { border-top: {{resultSeparatorWidth}} solid !important; }"},{depends:[{key:"moreResultsbtn",condition:"==",value:!0},{key:"resMoreResultDevider",condition:"!=",value:!0},{key:"resultSeparatorEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-result__item { border-top: {{resultSeparatorWidth}} solid; } \n                {{ULTP}} .ultp-search-result__item { margin-top: -{{resultSeparatorWidth}}; }"},{depends:[{key:"moreResultsbtn",condition:"!=",value:!0},{key:"resultSeparatorEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-search-result__item { border-top: {{resultSeparatorWidth}} solid; } \n                {{ULTP}} .ultp-search-result__item { margin-top: -{{resultSeparatorWidth}}; }"}]},resMoreResultDevider:{type:"boolean",default:!0,style:[{depends:[{key:"resultSeparatorEnable",condition:"==",value:!0},{key:"moreResultsbtn",condition:"==",value:!0}]}]},moreResultsbtn:{type:"boolean",default:!0},viewMoreResultText:{type:"string",default:"View More Results"},moreResultPosts:{type:"string",default:3,style:[{depends:[{key:"moreResultsbtn",condition:"==",value:!0}]}]},moreResultsText:{type:"string",default:"View More Results"},moreResultsTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:23,unit:"px"},decoration:"none",family:"",weight:500},style:[{selector:"{{ULTP}} .ultp-viewall-results"}]},moreResultsColor:{type:"string",default:"#646464",style:[{selector:"{{ULTP}} .ultp-viewall-results { color:{{moreResultsColor}}; }"}]},moreResultsHoverColor:{type:"string",default:"#000",style:[{selector:"{{ULTP}} .ultp-viewall-results:hover { color:{{moreResultsHoverColor}}; }"}]},loadingColor:{type:"string",default:"#000",style:[{selector:"{{ULTP}} .ultp-result-loader.active:before, \n            {{ULTP}} .ultp-viewmore-loader.viewmore-active { border-color: {{loadingColor}} {{loadingColor}}  {{loadingColor}} transparent !important; }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-wrapper { z-index:{{advanceZindex}};}"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},5816:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(2021),n=l(5258);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks,s=(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/search-block/","block_docs");r("ultimate-post/advanced-search",{title:__("Search - PostX","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/advanced-search.svg"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Ensure effortless content searching.","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:s},__("Documentation","ultimate-post"))),keywords:[__("Advanced Search","ultimate-post"),__("Search Block","ultimate-post"),__("Search Result","ultimate-post"),__("Search Form","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/search.svg"}},edit:i.Z,save:()=>null})},7750:(e,t,l)=>{"use strict";l.d(t,{Z:()=>b});var o=l(7462),a=l(7294),i=l(9838),n=l(5242),r=l(1760),s=l(3049);const{__}=wp.i18n,{InspectorControls:p,InnerBlocks:c}=wp.blockEditor,{useEffect:u,useState:d,Fragment:m}=wp.element,{getBlockAttributes:g,getBlockRootClientId:y}=wp.data.select("core/block-editor");function b(e){const[t,l]=d("Content"),{setAttributes:b,name:v,attributes:h,className:f,clientId:k,attributes:{blockId:w,currentPostId:x,advanceId:T,btnAnimation:S,previewImg:P}}=e;u((()=>{const e=k.substr(0,6),t=g(y(k));(0,s.qi)(b,t,x,k),w?w&&w!=e&&(t?.hasOwnProperty("ref")||(0,s.k0)()||t?.hasOwnProperty("theme")||b({blockId:e})):b({blockId:e})}),[k]);const C={setAttributes:b,name:v,attributes:h,setSection:l,section:t,clientId:k};let E;return w&&(E=(0,i.Kh)(h,"ultimate-post/button-group",w,(0,s.k0)())),P?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:P}):(0,a.createElement)(m,null,(0,a.createElement)(p,null,(0,a.createElement)(n.Z,{store:C})),(0,a.createElement)(r.Z,{include:[{type:"template"}],store:C}),(0,a.createElement)("div",(0,o.Z)({},T&&{id:T},{className:`ultp-block-${w} ${f}`}),E&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.createElement)("div",{className:"ultp-button-wrapper"+(S?" ultp-anim-"+S:"")},(0,a.createElement)(c,{template:[["ultimate-post/button",{}]],allowedBlocks:["ultimate-post/button"]}))))}},3133:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7462),a=l(7294);const{Component:i}=wp.element,{InnerBlocks:n}=wp.blockEditor;function r(e){const{blockId:t,advanceId:l,btnAnimation:i}=e.attributes;return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t}`}),(0,a.createElement)("div",{className:`ultp-button-wrapper ultp-button-frontend ultp-anim-${i}`},(0,a.createElement)(n.Content,null)))}},5242:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3049),i=l(2637),n=l(3581);const{__}=wp.i18n,r=({store:e})=>{const{btnAnimation:t,btnVeticalPosition:l}=e.attributes;let r="";switch(t){case"style1":case"style2":r="Control The Background From Button Background";break;case"style3":case"style4":r="Control The Box-shadow From Button Background"}let s=["juststart","justcenter","justend","justbetween","justaround","justevenly"];return l&&(s=["juststart","justcenter","justend"]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid7952",store:e}),(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"global",title:__("Global Style","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"range",key:"btnItemSpace",min:0,max:300,step:1,responsive:!0,label:__("Button Gap","ultimate-post")}},{position:2,data:{type:"alignment",key:"btnJustifyAlignment",icons:s,options:["flex-start","center","flex-end","space-between","space-around","space-evenly"],label:__("Horizontal Alignment","ultimate-post")}},{position:3,data:{type:"alignment",block:"button",key:"btnVeticalAlignment",disableJustify:!0,icons:["algnStart","algnCenter","algnEnd","stretch"],options:["flex-start","center","flex-end","stretch"],label:__("Vertical Alignment","ultimate-post")}},{position:4,data:{type:"toggle",key:"btnVeticalPosition",label:__("Vertical Alignment","ultimate-post")}},{position:5,data:{type:"dimension",key:"btnWrapMargin",step:1,unit:!0,responsive:!0,label:__("Margin","ultimate-post")}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("Button Animation","ultimate-post"),include:[{position:1,data:{type:"select",key:"btnAnimation",label:__("Button Aniation","ultimate-post"),options:[{value:"none",label:__("None","ultimate-post")},{value:"style1",label:__("Style 1","ultimate-post")},{value:"style2",label:__("Style 2","ultimate-post")},{value:"style3",label:__("Style 3","ultimate-post")},{value:"style4",label:__("Style 4","ultimate-post")}],help:r}},{position:2,data:{type:"range",key:"btnTranslate",min:-20,max:20,step:.5,responsive:!0,label:__("Button Transform","ultimate-post"),unit:["px"],help:"Control Button Position"}}],initialOpen:!1,store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"text",key:"advanceId",label:__("ID","ultimate-post")}},{position:2,data:{type:"range",key:"advanceZindex",min:-100,max:1e4,step:1,label:__("z-index","ultimate-post")}}],initialOpen:!0,store:e}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))),(0,a.dH)())}},8309:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},btnJustifyAlignment:{type:"string",default:"",style:[{depends:[{key:"btnVeticalPosition",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-button-wrapper .block-editor-block-list__layout,\n                {{ULTP}} .ultp-button-wrapper.ultp-button-frontend { justify-content: {{btnJustifyAlignment}}; }"},{depends:[{key:"btnVeticalPosition",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-button-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n                {{ULTP}} .ultp-button-wrapper.ultp-button-frontend { align-items: {{btnJustifyAlignment}}; }"}]},btnVeticalAlignment:{type:"string",default:"",style:[{depends:[{key:"btnVeticalPosition",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-button-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n                {{ULTP}} .ultp-button-wrapper.ultp-button-frontend { align-items: {{btnVeticalAlignment}}; }\n                {{ULTP}} .ultp-button-wrapper .wp-block-ultimate-post-button { height: 100%; }"}]},btnVeticalPosition:{type:"boolean",default:!1,style:[{depends:[{key:"btnVeticalPosition",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-button-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n                {{ULTP}} .ultp-button-wrapper.ultp-button-frontend { flex-direction: column; }"},{depends:[{key:"btnVeticalPosition",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-button-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n                {{ULTP}} .ultp-button-wrapper.ultp-button-frontend { flex-direction: row; }"}]},btnItemSpace:{type:"object",default:{lg:"28",unit:"px"},style:[{selector:"{{ULTP}} .ultp-button-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n            {{ULTP}} .ultp-button-wrapper.ultp-button-frontend { gap:{{btnItemSpace}};  }"}]},btnWrapMargin:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-button-wrapper .block-editor-inner-blocks .block-editor-block-list__layout,\n            {{ULTP}} .ultp-button-wrapper.ultp-button-frontend { margin:{{btnWrapMargin}};  }"}]},btnAnimation:{type:"string",default:"none",style:[{depends:[{key:"btnAnimation",condition:"!=",value:"style3"}]},{depends:[{key:"btnAnimation",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-button-wrapper.ultp-anim-style3 .wp-block-ultimate-post-button:hover { box-shadow: none; }"}]},btnTranslate:{type:"object",default:{lg:"-5",unit:"px"},style:[{depends:[{key:"btnAnimation",condition:"==",value:"style4"}],selector:"{{ULTP}} .wp-block-ultimate-post-button:hover { transform: translate( {{btnTranslate}}, {{btnTranslate}});  }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-button-wrapper {z-index: {{advanceZindex}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},1400:(e,t,l)=>{"use strict";l.d(t,{Z:()=>f});var o=l(7462),a=l(7294),i=l(9838),n=l(2441),r=l(3245),s=l(1760),p=l(3049);const{__}=wp.i18n,{InspectorControls:c,InnerBlocks:u}=wp.blockEditor,{useState:d,useEffect:m,Fragment:g}=wp.element,{createBlock:y}=wp.blocks,{RichText:b}=wp.blockEditor,{getBlockAttributes:v,getBlockRootClientId:h}=wp.data.select("core/block-editor");function f(e){const[t,l]=d("Content"),{setAttributes:u,name:f,className:k,attributes:w,clientId:x,attributes:{blockId:T,advanceId:S,layout:P,btnIconEnable:C,btntextEnable:E,btnText:_,btnIcon:L,btnLink:I,dcEnabled:U}}=e;m((()=>{const e=x.substr(0,6),t=v(h(x));T?T&&T!=e&&(t?.hasOwnProperty("ref")||(0,p.k0)()||t?.hasOwnProperty("theme")||u({blockId:e})):u({blockId:e})}),[x]);const B={setAttributes:u,name:f,attributes:w,setSection:l,section:t,clientId:x};let M;return T&&(M=(0,i.Kh)(w,"ultimate-post/button",T,(0,p.k0)())),(0,a.createElement)(g,null,(0,a.createElement)(c,null,(0,a.createElement)(n.Z,{store:B})),(0,a.createElement)(s.Z,{include:[{type:"layout",block:"button",key:"layout",label:__("Style","ultimate-post"),options:[{img:"assets/img/layouts/button/layout1.svg",label:__("Layout 1","ultimate-post"),value:"layout1"},{img:"assets/img/layouts/button/layout2.svg",label:__("Layout 2","ultimate-post"),value:"layout2"},{img:"assets/img/layouts/button/layout3.svg",label:__("Layout 3","ultimate-post"),value:"layout3"},{img:"assets/img/layouts/button/layout4.svg",label:__("Layout 4","ultimate-post"),value:"layout4"}]},{type:"linkbutton",key:"btnLink",onlyLink:!0,value:I,placeholder:"Enter Button URL",label:__("Button Link","ultimate-post")}],store:B}),(0,a.createElement)("div",(0,o.Z)({},S&&{id:S},{className:`ultp-block-${T} ${k} ultp-button-${P}`}),M&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:M}}),C&&(0,a.createElement)("div",{className:"ultp-btnIcon-wrap"},r.ZP[L]),E&&(0,a.createElement)(b,{key:"editable",tagName:"div",className:"ultp-button-text",keepPlaceholderOnFocus:!0,allowedFormats:["ultimate-post/dynamic-content"],placeholder:__("Click Here...","ultimate-post"),onChange:e=>u({btnText:e}),onReplace:(e,t,l)=>wp.data.dispatch("core/block-editor").replaceBlocks(x,e,t,l),onSplit:(e,t)=>y("ultimate-post/button",{...w,btnText:e}),value:_})))}},5790:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7462),a=l(7294),i=l(9735),n=l(3245);function r(e){const{blockId:t,advanceId:l,layout:r,btnIconEnable:s,btntextEnable:p,btnText:c,btnIcon:u,btnLink:d,btnLinkTarget:m,btnLinkDownload:g,btnLinkNoFollow:y,btnLinkSponsored:b,dcEnabled:v}=e.attributes;let h="noopener";h+=y?" nofollow":"",h+=b?" sponsored":"";const f={};return(0,i.o6)()&&v?(f.href="#",f.target=m):d.url&&(f.href=d.url,f.target=m),(0,a.createElement)("a",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t} ultp-button-${r}`},f,{rel:h,download:g&&"download"}),s&&(0,a.createElement)("div",{className:"ultp-btnIcon-wrap"},n.ZP[u]),p&&(0,a.createElement)("div",{className:"ultp-button-text",dangerouslySetInnerHTML:{__html:c}}))}},2441:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"button",title:__("Button","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"layout",block:"button",key:"layout",label:__("Style","ultimate-post"),options:[{img:"assets/img/layouts/button/layout1.svg",label:__("Layout 1","ultimate-post"),value:"layout1"},{img:"assets/img/layouts/button/layout2.svg",label:__("Layout 2","ultimate-post"),value:"layout2"},{img:"assets/img/layouts/button/layout3.svg",label:__("Layout 3","ultimate-post"),value:"layout3"},{img:"assets/img/layouts/button/layout4.svg",label:__("Layout 4","ultimate-post"),value:"layout4"}]}},{position:2,data:{type:"select",key:"btnSize",label:__("Button Size","ultimate-post"),options:[{value:"sm",label:__("Small","ultimate-post")},{value:"md",label:__("Medium","ultimate-post")},{value:"lg",label:__("Large","ultimate-post")},{value:"xl",label:__("Extra Large","ultimate-post")},{value:"custom",label:__("Custom","ultimate-post")}]}},{position:3,data:{type:"dimension",key:"btnBgCustomSize",step:1,unit:!0,responsive:!0,label:__("Button Custom Size","ultimate-post")}},{position:4,data:{type:"linkbutton",key:"btnLink",onlyLink:!0,placeholder:"Enter Button URL",label:__("Button Link","ultimate-post")}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("Text","ultimate-post"),depend:"btntextEnable",include:[{position:1,data:{type:"typography",key:"btnTextTypo",label:__("Text Typography","ultimate-post")}},{position:2,data:{type:"color",key:"btnTextColor",label:__("Text Color","ultimate-post")}},{position:3,data:{type:"color",key:"btnTextHover",label:__("Text Hover Color","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Background","ultimate-post"),include:[{position:1,data:{type:"dimension",key:"btnMargin",step:1,unit:!0,responsive:!0,label:__("Margin","ultimate-post")}},{position:2,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"btnBgColor",label:__("Background Color","ultimate-post")},{type:"border",key:"btnBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"btnRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"btnShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"btnBgHover",label:__("Background Color","ultimate-post")},{type:"border",key:"btnHoverBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"btnHoverRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"btnHoverShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]}]}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Icon","ultimate-post"),depend:"btnIconEnable",include:[{position:1,data:{type:"icon",key:"btnIcon",label:__("Icon Store","ultimate-post")}},{position:2,data:{type:"toggle",key:"btnIconPosition",label:__("Icon After Text","ultimate-post")}},{position:3,data:{type:"range",key:"btnIconSize",min:0,max:300,step:1,responsive:!0,label:__("Icon Size","ultimate-post")}},{position:4,data:{type:"range",key:"btnIconGap",min:0,max:300,step:1,responsive:!0,label:__("Space Between Icon and Text","ultimate-post")}},{position:5,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"btnIconColor",label:__("Icon Color","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"btnIconHoverColor",label:__("Icon Color","ultimate-post")}]}]}}],initialOpen:!1,store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e})))},1359:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},layout:{type:"string",default:"layout1"},btnText:{type:"string",default:""},btntextEnable:{type:"boolean",default:!0},btnTextTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:"",weight:500},style:[{selector:"{{ULTP}} .ultp-button-text"}]},btnTextColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-button-text { color:{{btnTextColor}} } "}]},btnTextHover:{type:"string",default:"",style:[{selector:"{{ULTP}}:hover .ultp-button-text { color:{{btnTextHover}} } "}]},btnLink:{type:"object",default:""},btnLinkTarget:{type:"string",default:"_self"},btnLinkNoFollow:{type:"boolean",default:!1},btnLinkSponsored:{type:"boolean",default:!1},btnLinkDownload:{type:"boolean",default:!1},btnSize:{type:"string",default:"custom",style:[{depends:[{key:"btnSize",condition:"==",value:"custom"}]},{depends:[{key:"btnSize",condition:"==",value:"xl"}],selector:"{{ULTP}} { padding: 20px 40px !important; }"},{depends:[{key:"btnSize",condition:"==",value:"lg"}],selector:"{{ULTP}} { padding: 10px 20px !important; }"},{depends:[{key:"btnSize",condition:"==",value:"md"}],selector:"{{ULTP}} { padding: 8px 16px !important; }"},{depends:[{key:"btnSize",condition:"==",value:"sm"}],selector:"{{ULTP}} { padding: 6px 12px !important; }"}]},btnBgCustomSize:{type:"object",default:{lg:{top:"15",bottom:"15",left:"30",right:"30",unit:"px"}},style:[{depends:[{key:"btnSize",condition:"==",value:"custom"}],selector:"{{ULTP}} { padding:{{btnBgCustomSize}} !important; }"}]},btnMargin:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} { margin:{{btnMargin}}; }"}]},btnBgColor:{type:"object",default:{openColor:0,type:"color",color:"",gradient:{}},style:[{selector:".ultp-anim-none {{ULTP}}.wp-block-ultimate-post-button,\n            .ultp-anim-style1 {{ULTP}}.wp-block-ultimate-post-button, \n            .ultp-anim-style2 {{ULTP}}.wp-block-ultimate-post-button:before, \n            .ultp-anim-style3 {{ULTP}}.wp-block-ultimate-post-button, \n            .ultp-anim-style4 {{ULTP}}.wp-block-ultimate-post-button"}]},btnBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:".wp-block-ultimate-post-button-group .ultp-button-wrapper \n            {{ULTP}}.wp-block-ultimate-post-button"}]},btnRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:".wp-block-ultimate-post-button-group .ultp-button-wrapper \n            {{ULTP}}.wp-block-ultimate-post-button { border-radius:{{btnRadius}}; }"}]},btnShadow:{type:"object",default:{openShadow:0,width:{top:3,right:3,bottom:0,left:0},color:"#FFB714"},style:[{selector:".wp-block-ultimate-post-button-group .ultp-button-wrapper \n            {{ULTP}}.wp-block-ultimate-post-button"}]},btnBgHover:{type:"object",default:{openColor:0,type:"color",color:"",gradient:{}},style:[{selector:".ultp-anim-none {{ULTP}}.wp-block-ultimate-post-button:before, \n            .ultp-anim-style1 {{ULTP}}.wp-block-ultimate-post-button:before, \n            .ultp-anim-style2 {{ULTP}}.wp-block-ultimate-post-button, \n            .ultp-anim-style3 {{ULTP}}.wp-block-ultimate-post-button:before, \n            .ultp-anim-style4 {{ULTP}}.wp-block-ultimate-post-button:before"}]},btnHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:".wp-block-ultimate-post-button-group .ultp-button-wrapper \n            {{ULTP}}.wp-block-ultimate-post-button:hover"}]},btnHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:".wp-block-ultimate-post-button-group .ultp-button-wrapper {{ULTP}}.wp-block-ultimate-post-button:hover { border-radius:{{btnHoverRadius}}; }"}]},btnHoverShadow:{type:"object",default:{openShadow:0,width:{top:3,right:3,bottom:0,left:0},color:"#FFB714"},style:[{selector:".wp-block-ultimate-post-button-group .ultp-button-wrapper {{ULTP}}.wp-block-ultimate-post-button:hover"}]},btnIconEnable:{type:"boolean",default:!1},btnIcon:{type:"string",default:"arrow_right_circle_line"},btnIconPosition:{type:"boolean",default:!1,style:[{depends:[{key:"btnIconPosition",condition:"==",value:!1}],selector:"{{ULTP}} { flex-direction: row }"},{depends:[{key:"btnIconPosition",condition:"==",value:!0}],selector:"{{ULTP}} { flex-direction: row-reverse }"}]},btnIconSize:{type:"object",default:{lg:"17",unit:"px"},style:[{selector:"{{ULTP}} .ultp-btnIcon-wrap svg { height: {{btnIconSize}}; width: {{btnIconSize}}; }"}]},btnIconGap:{type:"object",default:{lg:"12",unit:"px"},style:[{selector:"{{ULTP}} { gap: {{btnIconGap}}; }"}]},btnIconColor:{type:"string",default:"#fff",style:[{selector:"{{ULTP}} > .ultp-btnIcon-wrap svg { fill:{{btnIconColor}}; } "}]},btnIconHoverColor:{type:"string",default:"#f2f2f2",style:[{selector:"{{ULTP}}:hover > .ultp-btnIcon-wrap svg { fill:{{btnIconHoverColor}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"div:has( > {{ULTP}}) {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"div:has( > {{ULTP}}) {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"div:has( > {{ULTP}}) {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]},...l(9735).KF}},5109:(e,t,l)=>{"use strict";var o=l(7294),a=(l(9735),l(1400)),i=l(5790),n=l(1359);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;r("ultimate-post/button",{title:__("Button","ultimate-post"),parent:["ultimate-post/button-group"],icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/button.svg",alt:"button svg"}),category:"ultimate-post",description:__("Create & customize button","ultimate-post"),keywords:[__("button","ultimate-post"),__("single button","ultimate-post"),__("btn","ultimate-post")],attributes:n.Z,supports:{reusable:!1,html:!1},edit:a.Z,save:i.Z})},4072:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(7750),n=l(3133),r=l(8309);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/button-block/","block_docs");s("ultimate-post/button-group",{title:__("Button Group","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/button-group.svg",alt:"button group"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Create & customize multiple button-styles","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:p},__("Documentation","ultimate-post"))),keywords:[__("button","ultimate-post"),__("button group","ultimate-post"),__("btn","ultimate-post")],supports:{align:["wide","full"],html:!1,reusable:!1},attributes:r.Z,example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/button.svg"}},edit:i.Z,save:n.Z})},466:(e,t,l)=>{"use strict";l.d(t,{Z:()=>y});var o=l(7462),a=l(7294),i=l(9838),n=l(3049),r=l(2637),s=l(5404);const{__}=wp.i18n,{InspectorControls:p}=wp.blockEditor,{useState:c,useEffect:u,Fragment:d}=wp.element,{getBlockAttributes:m,getBlockRootClientId:g}=wp.data.select("core/block-editor");function y(e){const[t,l]=c("Content"),{setAttributes:y,name:b,clientId:v,className:h,attributes:f,attributes:{blockId:k,previewImg:w,advanceId:x,layout:T,iconType:S,reverseSwitcher:P,lightText:C,darkText:E,enableText:_,textAppears:L,previewDark:I,currentPostId:U,blockPubDate:B}}=e;u((()=>{const e=v.substr(0,6),t=m(g(v));(0,n.qi)(y,t,U,v),k?k&&k!=e&&(t?.hasOwnProperty("ref")||(0,n.k0)()||t?.hasOwnProperty("theme")||y({blockId:e})):y({blockId:e}),"empty"==B&&y({blockPubDate:(new Date).toISOString()})}),[v]);const M={setAttributes:y,name:b,attributes:f,setSection:l,section:t,clientId:v};let A;return k&&(A=(0,i.Kh)(f,"ultimate-post/dark-light",k,(0,n.k0)())),w?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:w}):(0,a.createElement)(d,null,(0,a.createElement)(p,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,a.createElement)(n.T,{title:"inline",include:[{position:5,data:{type:"layout",block:"dark-light",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/dark_light/dark1.svg",label:"Layout 1",value:"layout1",pro:!1},{img:"assets/img/layouts/dark_light/dark2.svg",label:"Layout 2",value:"layout2",pro:!1},{img:"assets/img/layouts/dark_light/dark3.svg",label:"Layout 3",value:"layout3",pro:!1},{img:"assets/img/layouts/dark_light/dark4.svg",label:"Layout 4",value:"layout4",pro:!1},{img:"assets/img/layouts/dark_light/dark5.svg",label:"Layout 5",value:"layout5",pro:!1},{img:"assets/img/layouts/dark_light/dark6.svg",label:"Layout 6",value:"layout6",pro:!1},{img:"assets/img/layouts/dark_light/dark7.svg",label:"Layout 7",value:"layout7",pro:!1}]}},{position:6,data:{type:"toggle",key:"previewDark",label:__("Preview Dark Design","ultimate-post")}},{position:10,data:{type:"group",key:"iconType",justify:!0,label:__("Icon Type","ultimate-post"),options:[{value:"line",label:__("Line","ultimate-post")},{value:"solid",label:__("Solid","ultimate-post")}]}},{position:15,data:{type:"range",key:"iconSize",min:10,max:300,step:1,responsive:!1,label:__("Icon Size","ultimate-post")}},{position:20,data:{type:"toggle",key:"reverseSwitcher",label:__("Reverse Switcher","ultimate-post")}},{position:25,data:{type:"toggle",key:"enableText",label:__("Enable Text","ultimate-post")}},{position:26,data:{type:"select",key:"textAppears",label:__("Text Appears","ultimate-post"),options:[{value:"left",label:__("Selected (Left)","ultimate-post")},{value:"right",label:__("Selected (Right)","ultimate-post")},{value:"both",label:__("Both","ultimate-post")}]}},{position:30,data:{type:"text",key:"lightText",label:__("Light Mode Text","ultimate-post")}},{position:35,data:{type:"text",key:"darkText",label:__("Dark Mode Text","ultimate-post")}},{position:40,data:{type:"typography",key:"textTypo",label:__("Text Typography","ultimate-post")}},{position:45,data:{type:"range",key:"textSwictherGap",min:0,max:300,step:1,responsive:!1,label:__("Text to Switcher Gap","ultimate-post")}},{position:50,data:{type:"separator",label:__("Switcher Color","ultimate-post")}},{position:55,data:{type:"tab",content:[{name:"light",title:__("Light Mode","ultimate-post"),options:[{type:"color",key:"lightTextColor",label:__("Light Color","ultimate-post")},{type:"color",key:"lightIconColor",label:__("Icon Color","ultimate-post")},{type:"color2",key:"lightIconBg",label:__("Icon Background Color","ultimate-post")},{type:"color2",key:"switcherBg",label:__("Background Color","ultimate-post")},{type:"border",key:"switcherBorder",label:__("Border","ultimate-post")},{type:"boxshadow",key:"switcherShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]},{name:"dark",title:__("Dark Mode","ultimate-post"),options:[{type:"color",key:"darkTextColor",label:__("Dark Color","ultimate-post")},{type:"color",key:"lightIconColorDark",label:__("Icon Color","ultimate-post")},{type:"color2",key:"lightIconBgDark",label:__("Icon Background Color","ultimate-post")},{type:"color2",key:"switcherBgDark",label:__("Background Color","ultimate-post")},{type:"border",key:"switcherBorderDark",label:__("Border","ultimate-post")},{type:"boxshadow",key:"switcherShadowDark",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]}]}}],initialOpen:!0,store:M})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(n.yB,{initialOpen:!0,store:M}),(0,a.createElement)(n.Mg,{store:M}),(0,a.createElement)(n.iv,{store:M})))),(0,a.createElement)("div",(0,o.Z)({},x&&{id:x},{className:`ultp-block-${k} ${h}`}),A&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:A}}),(0,a.createElement)("div",{className:"ultp-dark-light-block-wrapper ultp-block-wrapper"},!ultp_data.active&&(0,a.createElement)("div",{className:"ultp-pro-helper"},(0,a.createElement)("div",{className:"ultp-pro-helper__upgrade"},(0,a.createElement)("span",null,"To Unlock Dark Light Block"),(0,a.createElement)("a",{className:"ultp-upgrade-pro",href:"https://www.wpxpo.com/postx/pricing/?utm_source=db-postx-editor&utm_medium=darklight-pro&utm_campaign=postx-dashboard",target:"_blank"}," Upgrade to Pro "))),(0,a.createElement)("div",{className:`ultp-dark-light-block-wrapper-content ${T}`},I?(0,a.createElement)("div",{className:"ultp-dl-after-before-con ultp-dl-dark "+(P?"ultp-dl-reverse":"")},_&&"layout7"!=T&&["left","both"].includes(L)&&(0,a.createElement)("div",{className:"ultp-dl-before-after-text "+("both"!=L?"darkText":"lightText")},"both"!=L?E:C),(0,a.createElement)("div",{className:"ultp-dl-con ultp-dark-con "+(P?"ultp-dl-reverse":"")},["layout5","layout6","layout7"].includes(T)&&(0,a.createElement)("div",{className:"ultp-dl-text darkText"},"layout5"==T&&(0,a.createElement)("div",{className:"ultp-dl-democircle ultphidden"}),"layout6"==T&&(0,a.createElement)("div",{className:"ultp-dl-democircle"}),"layout7"==T&&E),(0,a.createElement)("div",{className:"ultp-dl-svg-con"},(0,a.createElement)("div",{className:"ultp-dl-svg"},s.Z["line"==S?"moon_line":"moon"]))),_&&"layout7"!=T&&["right","both"].includes(L)&&(0,a.createElement)("div",{className:"ultp-dl-before-after-text darkText"},E)):(0,a.createElement)("div",{className:"ultp-dl-after-before-con ultp-dl-light "+(P?"ultp-dl-reverse":"")},_&&"layout7"!=T&&["left","both"].includes(L)&&(0,a.createElement)("div",{className:"ultp-dl-before-after-text lightText"},C),(0,a.createElement)("div",{className:"ultp-dl-con ultp-light-con "+(P?"ultp-dl-reverse":"")},(0,a.createElement)("div",{className:"ultp-dl-svg-con"},(0,a.createElement)("div",{className:"ultp-dl-svg"},s.Z["line"==S?"sun_line":"sun"])),["layout5","layout6","layout7"].includes(T)&&(0,a.createElement)("div",{className:"ultp-dl-text lightText"},"layout5"==T&&(0,a.createElement)("div",{className:"ultp-dl-democircle ultphidden"}),"layout6"==T&&(0,a.createElement)("div",{className:"ultp-dl-democircle"}),"layout7"==T&&C)),_&&"layout7"!=T&&["right","both"].includes(L)&&(0,a.createElement)("div",{className:"ultp-dl-before-after-text "+("both"!=L?"lightText":"darkText")},"both"!=L?C:E))))))}},732:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},blockPubDate:{type:"string",default:"empty"},previewImg:{type:"string",default:""},previewDark:{type:"boolean",default:!1},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},iconType:{type:"string",default:"solid"},reverseSwitcher:{type:"boolean",default:!1,style:[{depends:[{key:"layout",condition:"==",value:"layout5"}]},{depends:[{key:"layout",condition:"==",value:"layout6"}]},{depends:[{key:"layout",condition:"==",value:"layout7"}]}]},iconSize:{type:"string",default:"24",style:[{selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-svg-con svg,\n                {{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-democircle { height: {{iconSize}}px; width: {{iconSize}}px; }"},{depends:[{key:"layout",condition:"==",value:"layout1"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-svg-con svg { height: calc({{iconSize}}px*4/6); width:calc({{iconSize}}px*4/6); }\n                {{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con { padding: calc({{iconSize}}px/3) {{iconSize}}px ; border-radius: {{iconSize}}px;  }"},{depends:[{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con { padding: calc({{iconSize}}px/3); border-radius: 100%;  }"},{depends:[{key:"layout",condition:"==",value:"layout4"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con { padding: {{iconSize}}px calc({{iconSize}}px/3); border-radius: {{iconSize}}px;  }"},{depends:[{key:"layout",condition:"==",value:"layout5"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-svg-con svg { height: calc({{iconSize}}px*4/6); width:calc({{iconSize}}px*4/6); }\n                {{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con { gap: calc({{iconSize}}px/2);  padding: calc({{iconSize}}px/6); border-radius: {{iconSize}}px; }\n                {{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con .ultp-dl-svg { padding: calc({{iconSize}}px/6); border-radius: {{iconSize}}px; }"},{depends:[{key:"layout",condition:"==",value:"layout6"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con { gap: calc({{iconSize}}px/2);  padding: calc({{iconSize}}px/6); border-radius: {{iconSize}}px; }"},{depends:[{key:"layout",condition:"==",value:"layout7"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-svg-con svg { height: calc({{iconSize}}px*4/6); width:calc({{iconSize}}px*4/6); }\n                {{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con { padding: calc({{iconSize}}px/6); border-radius: {{iconSize}}px; }\n                {{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con .ultp-dl-svg { padding: calc({{iconSize}}px/6); border-radius: {{iconSize}}px; }\n                {{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con .ultp-dl-text {margin: 0px calc({{iconSize}}px/2); }"}]},enableText:{type:"boolean",default:!1,style:[{depends:[{key:"layout",condition:"!=",value:"layout7"}]}]},textAppears:{type:"string",default:"both",style:[{depends:[{key:"layout",condition:"!=",value:"layout7"},{key:"enableText",condition:"==",value:!0}]}]},lightText:{type:"string",default:"Light Mode",style:[{depends:[{key:"enableText",condition:"==",value:!0}]},{depends:[{key:"layout",condition:"==",value:"layout7"}]}]},darkText:{type:"string",default:"Dark Mode",style:[{depends:[{key:"enableText",condition:"==",value:!0}]},{depends:[{key:"layout",condition:"==",value:"layout7"}]}]},textTypo:{type:"object",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"14",unit:"px"},decoration:"none",family:"",weight:400},style:[{depends:[{key:"enableText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-before-after-text"},{depends:[{key:"layout",condition:"==",value:"layout7"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-text"}]},textSwictherGap:{type:"string",default:"10",style:[{depends:[{key:"enableText",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout7"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-after-before-con { gap: {{textSwictherGap}}px; }"}]},lightTextColor:{type:"string",default:"#2E2E2E",style:[{depends:[{key:"enableText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-light .ultp-dl-before-after-text.lightText { color: {{lightTextColor}}; }"},{depends:[{key:"textAppears",condition:"==",value:"both"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-light .ultp-dl-before-after-text.darkText { color: {{lightTextColor}}; opacity: 0.4; }"},{depends:[{key:"layout",condition:"==",value:"layout7"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-light .ultp-dl-text.lightText { color: {{lightTextColor}}; }"}]},lightIconColor:{type:"string",default:"#2E2E2E",style:[{selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-light-con svg { fill: {{lightIconColor}}; }"}]},lightIconBg:{type:"object",default:{openColor:1,type:"color",color:"#9A9A9A",size:"cover",repeat:"no-repeat"},style:[{depends:[{key:"layout",condition:"==",value:"layout5"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-light-con .ultp-dl-svg"},{depends:[{key:"layout",condition:"==",value:"layout6"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-light-con .ultp-dl-democircle"},{depends:[{key:"layout",condition:"==",value:"layout7"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-light-con .ultp-dl-svg"}]},switcherBg:{type:"object",default:{openColor:1,type:"color",color:"#C3C3C3",size:"cover",repeat:"no-repeat"},style:[{depends:[{key:"layout",condition:"!=",value:"layout2"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con.ultp-light-con"}]},switcherBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#9A9A9A"},style:[{depends:[{key:"layout",condition:"!=",value:"layout2"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con.ultp-light-con"}]},switcherShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"!=",value:"layout2"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con.ultp-light-con"}]},darkTextColor:{type:"string",default:"#F4F4F4",style:[{depends:[{key:"enableText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-dark .ultp-dl-before-after-text.darkText { color: {{darkTextColor}}; }"},{depends:[{key:"textAppears",condition:"==",value:"both"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-dark .ultp-dl-before-after-text.lightText { color: {{darkTextColor}}; opacity: 0.4; }"},{depends:[{key:"layout",condition:"==",value:"layout7"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-dark .ultp-dl-text.darkText { color: {{darkTextColor}}; }"}]},lightIconColorDark:{type:"string",default:"#F4F4F4",style:[{selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dark-con svg { fill: {{lightIconColorDark}}; }"}]},lightIconBgDark:{type:"object",default:{openColor:1,type:"color",color:"#9D9D9D",size:"cover",repeat:"no-repeat"},style:[{depends:[{key:"layout",condition:"==",value:"layout5"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dark-con .ultp-dl-svg"},{depends:[{key:"layout",condition:"==",value:"layout6"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dark-con .ultp-dl-democircle"},{depends:[{key:"layout",condition:"==",value:"layout7"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dark-con .ultp-dl-svg"}]},switcherBgDark:{type:"object",default:{openColor:1,type:"color",color:"#646464",size:"cover",repeat:"no-repeat"},style:[{depends:[{key:"layout",condition:"!=",value:"layout2"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con.ultp-dark-con"}]},switcherBorderDark:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#9D9D9D"},style:[{depends:[{key:"layout",condition:"!=",value:"layout2"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con.ultp-dark-con"}]},switcherShadowDark:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"!=",value:"layout2"}],selector:"{{ULTP}} .ultp-dark-light-block-wrapper .ultp-dl-con.ultp-dark-con"}]},...(0,l(2165).t)(["advanceAttr"])}},5404:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294);const a={};a.moon=(0,o.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M22 14.27A10.14 10.14 0 1 1 9.73 2 8.84 8.84 0 0 0 22 14.27Z"})),a.moon_line=(0,o.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M8.17 4.53A9.54 9.54 0 0 0 19.5 15.69a8.26 8.26 0 0 1-7.76 4.29 8.36 8.36 0 0 1-7.71-7.7 8.23 8.23 0 0 1 4.15-7.76m1-2.52c-.16 0-.32.03-.48.09a10.28 10.28 0 0 0 3.56 19.9c4.47 0 8.27-2.85 9.67-6.84a1.36 1.36 0 0 0-1.27-1.82c-.15 0-.31.03-.47.1a7.48 7.48 0 0 1-3.41.43 7.59 7.59 0 0 1-6.33-10.04A1.36 1.36 0 0 0 9.17 2Z"})),a.sun=(0,o.createElement)("svg",{viewBox:"0 0 24 24"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M12 18.36a6.36 6.36 0 1 0 0-12.72 6.36 6.36 0 0 0 0 12.72ZM12.98.96V2.8c0 .53-.43.95-.97.95h-.02a.96.96 0 0 1-.97-.95V.96c0-.53.43-.96.96-.96h.05c.53 0 .96.43.96.96ZM4.89 3.5l1.3 1.3c.38.38.37.98 0 1.36h-.01l-.01.02a.96.96 0 0 1-1.37 0l-1.3-1.3a.96.96 0 0 1 0-1.35l.04-.04a.96.96 0 0 1 1.35 0ZM.96 11.02H2.8c.53 0 .95.43.95.97v.02c0 .53-.42.97-.95.97H.96a.95.95 0 0 1-.96-.96v-.05c0-.53.43-.96.96-.96ZM3.5 19.11l1.3-1.3a.96.96 0 0 1 1.36 0v.01l.02.01c.38.38.39.99 0 1.37l-1.3 1.3a.96.96 0 0 1-1.35 0l-.04-.04a.96.96 0 0 1 0-1.35ZM11.02 23.04V21.2c0-.53.43-.95.97-.95h.02c.53 0 .97.42.97.95v1.84c0 .53-.43.96-.96.96h-.05a.95.95 0 0 1-.96-.96ZM19.11 20.5l-1.3-1.3a.96.96 0 0 1 0-1.36h.01l.01-.02a.96.96 0 0 1 1.37 0l1.3 1.3c.38.37.38.98 0 1.35l-.04.04a.96.96 0 0 1-1.35 0ZM23.04 12.98H21.2a.96.96 0 0 1-.95-.97v-.02c0-.53.42-.97.95-.97h1.84c.53 0 .96.43.96.96v.05c0 .53-.43.96-.96.96ZM20.5 4.89l-1.3 1.3a.96.96 0 0 1-1.36 0v-.01l-.02-.01a.96.96 0 0 1 0-1.37l1.3-1.3a.96.96 0 0 1 1.35 0l.04.04c.37.37.37.98 0 1.35Z"})),(0,o.createElement)("defs",null)),a.sun_line=(0,o.createElement)("svg",{viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M12 7.64a4.36 4.36 0 1 1-.01 8.73A4.36 4.36 0 0 1 12 7.64Zm0-2a6.35 6.35 0 1 0 0 12.71 6.35 6.35 0 0 0 0-12.7ZM12.98.96V2.8c0 .53-.43.96-.96.96h-.03a.96.96 0 0 1-.97-.96V.96c0-.53.43-.96.96-.96h.06c.52 0 .95.43.95.96ZM4.88 3.5l1.3 1.3c.38.38.38.98 0 1.36h-.01l-.01.02a.96.96 0 0 1-1.36.01L3.5 4.9a.96.96 0 0 1 0-1.35l.03-.04a.96.96 0 0 1 1.35 0ZM.96 11.02H2.8c.53 0 .96.43.96.96v.03c0 .53-.42.97-.96.97H.96a.96.96 0 0 1-.96-.96v-.06c0-.52.43-.95.96-.95ZM3.5 19.12l1.3-1.3a.96.96 0 0 1 1.38.02c.38.38.39.99.01 1.36l-1.3 1.3a.96.96 0 0 1-1.35 0l-.04-.03a.96.96 0 0 1 0-1.35ZM11.02 23.04V21.2c0-.53.43-.96.96-.96h.03c.53 0 .97.42.97.96v1.84c0 .53-.43.96-.96.96h-.06a.96.96 0 0 1-.95-.96ZM19.12 20.5l-1.3-1.3a.96.96 0 0 1 0-1.36h.01l.01-.02a.96.96 0 0 1 1.36-.01l1.3 1.3c.38.37.38.98 0 1.35l-.03.04a.96.96 0 0 1-1.35 0ZM23.04 12.98H21.2a.96.96 0 0 1-.96-.96v-.03c0-.53.42-.97.96-.97h1.84c.53 0 .96.43.96.96v.06c0 .52-.43.95-.96.95ZM20.5 4.88l-1.3 1.3a.96.96 0 0 1-1.36 0v-.01l-.02-.01a.96.96 0 0 1-.01-1.36l1.3-1.3a.96.96 0 0 1 1.35 0l.04.03c.38.37.38.98 0 1.35Z"}));const i=a},1123:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(466),n=l(732);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/dark-light/","block_docs"),r("ultimate-post/dark-light",{title:__("Dark/Light - PostX","ultimate-post"),icon:(0,o.createElement)("div",{className:"ultp-block-inserter-icon-section"},(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/dark_light.svg"}),!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-pro-block"},"Pro")),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Switch between Dark and Light versions of your site","ultimate-post")),keywords:[__("dark","ultimate-post"),__("light","ultimate-post"),__("night mode","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/layouts/dark_light/dark7.svg"}},edit:i.Z,save:()=>null})},8065:(e,t,l)=>{"use strict";l.d(t,{Z:()=>y});var o=l(7462),a=l(7294),i=l(9838),n=l(3049),r=l(2637),s=l(5335);const{__}=wp.i18n,{InspectorControls:p}=wp.blockEditor,{useEffect:c,useState:u,Fragment:d}=wp.element,{getBlockAttributes:m,getBlockRootClientId:g}=wp.data.select("core/block-editor");function y(e){const[t,l]=u("Content"),{setAttributes:y,name:b,attributes:v,clientId:h,className:f,attributes:{blockId:k,advanceId:w,headingText:x,headingStyle:T,headingAlign:S,headingURL:P,headingBtnText:C,subHeadingShow:E,subHeadingText:_,headingTag:L,dcEnabled:I,dcText:U,currentPostId:B}}=e;c((()=>{const e=h.substr(0,6),t=m(g(h));(0,n.qi)(y,t,B,h),k?k&&k!=e&&(t?.hasOwnProperty("ref")||(0,n.k0)()||t?.hasOwnProperty("theme")||y({blockId:e})):y({blockId:e})}),[h]);const M={setAttributes:y,name:b,attributes:v,setSection:l,section:t,clientId:h};let A;return k&&(A=(0,i.Kh)(v,"ultimate-post/heading",k,(0,n.k0)())),(0,a.createElement)(d,null,(0,a.createElement)(p,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(n.Wh,{include:[{position:6,data:{type:"toggle",key:"openInTab",label:__("Links Open in New Tabs","ultimate-post")}}],initialOpen:!0,store:M})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(n.yB,{initialOpen:!0,store:M}),(0,a.createElement)(n.Mg,{store:M}),(0,a.createElement)(n.iv,{store:M}))),(0,n.dH)()),(0,a.createElement)("div",(0,o.Z)({},w&&{id:w},{className:`ultp-block-${k} ${f}`}),A&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:A}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)(s.Z,{props:{headingShow:!0,headingStyle:T,headingAlign:S,headingURL:P,headingText:x,setAttributes:y,headingBtnText:C,subHeadingShow:E,subHeadingText:_,headingTag:L,dcEnabled:I,dcText:U}}))))}},6534:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(2165),a=l(9735);l(4971);const i={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},headingText:{type:"string",default:"This is a Heading Example"},headingURL:{type:"string",default:""},openInTab:{type:"boolean",default:!1},headingBtnText:{type:"string",default:"View More",style:[{depends:[{key:"headingStyle",condition:"==",value:"style11"}]}]},headingStyle:{type:"string",default:"style9"},headingTag:{type:"string",default:"h2"},headingAlign:{type:"string",default:"left",style:[{depends:[{key:"headingAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-heading-inner,\n          {{ULTP}} .ultp-sub-heading-inner{ text-align:{{headingAlign}}; margin-right: auto !important; }"},{depends:[{key:"headingAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-heading-inner, \n          {{ULTP}} .ultp-sub-heading-inner { text-align:{{headingAlign}}; margin-left: auto !important; margin-right: auto !important; }"},{depends:[{key:"headingAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-heading-inner,\n          {{ULTP}} .ultp-sub-heading-inner { text-align:{{headingAlign}}; margin-left: auto !important;}"}]},headingTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:"700"},style:[{selector:"{{ULTP}} .ultp-heading-wrap .ultp-heading-inner, {{ULTP}} .ultp-heading-wrap .ultp-heading-inner a"}]},headingColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-heading-inner span { color:{{headingColor}}; }"}]},headingBorderBottomColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner { border-bottom-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-heading-inner { border-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-heading-inner span:before { background-color: {{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-heading-inner span:before, \n          {{ULTP}} .ultp-heading-inner span:after { background-color: {{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style10"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner { border-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style14"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style15"}],selector:"{{ULTP}} .ultp-heading-inner span:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style16"}],selector:"{{ULTP}} .ultp-heading-inner span:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style17"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style19"}],selector:"{{ULTP}} .ultp-heading-inner:before { border-color:{{headingBorderBottomColor}}; }"}]},headingBorderBottomColor2:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor2}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style10"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style14"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style19"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }"}]},headingBg:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-heading-style5 .ultp-heading-inner span:before { border-color:{{headingBg}} transparent transparent; } \n          {{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style12"}],selector:"{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style20"}],selector:"{{ULTP}} .ultp-heading-inner span:before { border-color:{{headingBg}} transparent transparent; } \n          {{ULTP}} .ultp-heading-inner { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style21"}],selector:"{{ULTP}} .ultp-heading-inner span, \n          {{ULTP}} .ultp-heading-inner span:after { background-color:{{headingBg}}; }"}]},headingBg2:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style12"}],selector:"{{ULTP}} .ultp-heading-inner { background-color:{{headingBg2}}; }"}]},headingBtnTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"headingStyle",condition:"==",value:"style11"}],selector:"{{ULTP}} .ultp-heading-wrap .ultp-heading-btn"}]},headingBtnColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style11"}],selector:"{{ULTP}} .ultp-heading-wrap .ultp-heading-btn { color:{{headingBtnColor}}; } \n          {{ULTP}} .ultp-heading-wrap .ultp-heading-btn svg { fill:{{headingBtnColor}}; }"}]},headingBtnHoverColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style11"}],selector:"{{ULTP}} .ultp-heading-wrap .ultp-heading-btn:hover { color:{{headingBtnHoverColor}}; } \n          {{ULTP}} .ultp-heading-wrap .ultp-heading-btn:hover svg { fill:{{headingBtnHoverColor}}; }"}]},headingBorder:{type:"string",default:"3",style:[{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner { border-bottom-width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-heading-inner { border-width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-heading-inner span:before { width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-heading-inner span:before, \n          {{ULTP}} .ultp-heading-inner span:after { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-heading-inner:before, \n          {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-heading-inner:before { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style10"}],selector:"{{ULTP}} .ultp-heading-inner:before, \n          {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner { border-width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style14"}],selector:"{{ULTP}} .ultp-heading-inner:before, \n          {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style15"}],selector:"{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style16"}],selector:"{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style17"}],selector:"{{ULTP}} .ultp-heading-inner:before { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style19"}],selector:"{{ULTP}} .ultp-heading-inner:after { width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner:after { width:{{headingBorder}}px; }"}]},headingSpacing:{type:"object",default:{lg:20,sm:10,unit:"px"},style:[{selector:"{{ULTP}} .ultp-heading-wrap { margin-top:0; margin-bottom:{{headingSpacing}}; }"}]},headingRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"headingStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-heading-inner span { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner span { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-heading-inner span { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style12"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style20"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"}]},headingPadding:{type:"object",default:{lg:{unit:"px"}},style:[{depends:[{key:"headingStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style12"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style19"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style20"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style21"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"}]},subHeadingShow:{type:"boolean",default:!1},subHeadingText:{type:"string",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ut sem augue. Sed at felis ut enim dignissim sodales.",style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}]}]},subHeadingTypo:{type:"object",default:{openTypography:1,size:{lg:"16",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"27",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sub-heading div"}]},subHeadingColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sub-heading div { color:{{subHeadingColor}}; }"}]},subHeadingSpacing:{type:"object",default:{lg:{top:"8",unit:"px"}},style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sub-heading-inner { margin:{{subHeadingSpacing}}; }"}]},enableWidth:{type:"toggle",default:!1,style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}]}]},customWidth:{type:"object",default:{lg:{top:"",unit:"px"}},style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0},{key:"enableWidth",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sub-heading-inner { max-width:{{customWidth}}; }"}]},...a.KF,...(0,o.t)(["advanceAttr"],["loadingColor"])}},8910:(e,t,l)=>{"use strict";var o=l(7294),a=l(8065),i=l(6534);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/heading",{title:__("Heading","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/heading.svg",alt:"Heading"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Display heading or title with the ultimate controls.","ultimate-post")),keywords:[__("heading","ultimate-post"),__("title","ultimate-post"),__("section","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"]},example:{},edit:a.Z,save:()=>null})},7283:(e,t,l)=>{"use strict";l.d(t,{Z:()=>L});var o=l(7462),a=l(7294),i=l(9838),n=l(3049),r=l(2637),s=l(8054),p=l(6687),c=l(5009),u=l(3780),d=l(6849),m=l(405),g=l(7106),y=l(9735),b=l(4971),v=l(4774);const{__}=wp.i18n,{InspectorControls:h,RichText:f}=wp.blockEditor,{useState:k,useEffect:w,Fragment:x}=wp.element,{TextControl:T,PanelBody:S,SelectControl:P,Spinner:C}=wp.components,{getBlockAttributes:E,getBlockRootClientId:_}=wp.data.select("core/block-editor");function L(e){const[t,l]=k("Content"),[L,I]=k({device:"lg",setDevice:"",postsList:[],loading:!1,error:!1,section:"Content"}),{setAttributes:U,name:B,clientId:M,attributes:A,className:H,attributes:{previewImg:N,blockId:j,advanceId:O,headingText:Z,imageUpload:R,imgLink:D,imgAlt:F,imgOverlay:z,imgOverlayType:W,imgAnimation:G,headingColor:V,headingTypo:q,headingEnable:$,headingMargin:K,linkTarget:J,alignment:Y,btnLink:X,btnText:Q,btnTarget:ee,btnPosition:te,linkType:le,darkImgEnable:oe,darkImage:ae,imgCrop:ie,dcEnabled:ne,currentPostId:re}}=e;w((()=>{const e=M.substr(0,6),t=E(_(M));(0,n.qi)(U,t,re,M),j?j&&j!=e&&(t?.hasOwnProperty("ref")||(0,n.k0)()||t?.hasOwnProperty("theme")||U({blockId:e})):U({blockId:e})}),[M]);const se={setAttributes:U,name:B,attributes:A,setSection:l,section:t,clientId:M},pe=R?.size&&R?.size[ie]?R?.size[ie]?.url?R?.size[ie]?.url:R?.size[ie]:R.url?R.url:ultp_data.url+"assets/img/ultp-placeholder.jpg";let ce;if(j&&(ce=(0,i.Kh)(A,"ultimate-post/image",j,(0,n.k0)())),N)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:N});const ue=e=>{e&&I({device:e})},de=wp.data.select("core/block-editor").getBlock(M);return(0,a.createElement)(x,null,(0,a.createElement)(h,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(S,{initialOpen:!0,title:__("","ultimate-post")},(0,a.createElement)(u.Z,{label:__("Upload Image","ultimate-post"),multiple:!1,block:"image-block",type:["image"],panel:!0,value:R,handleLoader:e=>{I({loading:e})},dcEnabled:ne.imageUpload,DynamicContent:(0,a.createElement)(b.ZP,{headingBlock:de,attrKey:"imageUpload",isActive:!1,config:{disableAdv:!0,disableLink:!0,fieldType:"image"}}),onChange:e=>{U({imageUpload:e,imgAlt:e?.alt?e.alt:"Image Not Found",headingText:e?.caption?e.caption:"This is a Image Example"})}}),(0,a.createElement)(T,{__nextHasNoMarginBottom:!0,label:__("Image Alt Text","ultimate-post"),value:F,onChange:e=>U({imgAlt:e})}),(0,a.createElement)(d.Z,{label:__("Link Type","ultimate-post"),isText:!0,options:[{label:__("Link","ultimate-post"),value:"link"},{label:__("Button","ultimate-post"),value:"button"}],value:le,onChange:e=>U({linkType:e})}),"link"==le&&(0,a.createElement)(x,null,(0,a.createElement)(v.Z,{value:D,onChange:e=>U({imgLink:e}),isTextField:!0,attr:{label:__("Link","ultimate-post"),disabled:ne.imgLink},DC:(0,y.o6)()?(0,a.createElement)(b.ZP,{headingBlock:de,isActive:!1,attrKey:"imgLink",config:{linkOnly:!0,disableAdv:!0,fieldType:"url"}}):null}),(0,a.createElement)(P,{__nextHasNoMarginBottom:!0,label:__("Link Target","ultimate-post"),value:J||"",options:[{label:__("Self","ultimate-post"),value:"_self"},{label:__("Blank","ultimate-post"),value:"_blank"}],onChange:e=>U({linkTarget:e})})),"button"==le&&(0,a.createElement)(x,null,(0,a.createElement)(T,{__nextHasNoMarginBottom:!0,label:__("Button Text","ultimate-post"),value:Q,onChange:e=>U({btnText:e})}),(0,a.createElement)(v.Z,{value:X,onChange:e=>U({btnLink:e}),isTextField:!0,attr:{label:__("Button Link","ultimate-post"),disabled:ne.btnLink},DC:(0,y.o6)()?(0,a.createElement)(b.ZP,{headingBlock:de,isActive:!1,attrKey:"btnLink",config:{linkOnly:!0,disableAdv:!0,fieldType:"url"}}):null}),(0,a.createElement)(P,{__nextHasNoMarginBottom:!0,label:__("Button Link Target","ultimate-post"),value:ee||"",options:[{label:__("Self","ultimate-post"),value:"_self"},{label:__("Blank","ultimate-post"),value:"_blank"}],onChange:e=>U({btnTarget:e})}),(0,a.createElement)(P,{__nextHasNoMarginBottom:!0,label:__("Button Position","ultimate-post"),value:te||"",options:[{label:__("Left Top","ultimate-post"),value:"leftTop"},{label:__("Right Top","ultimate-post"),value:"rightTop"},{label:__("Center Center","ultimate-post"),value:"centerCenter"},{label:__("Bottom Left","ultimate-post"),value:"bottomLeft"},{label:__("Bottom Right","ultimate-post"),value:"bottomRight"}],onChange:e=>U({btnPosition:e})})),(0,a.createElement)(m.Z,{label:__("Enable Caption","ultimate-post"),value:$,onChange:e=>U({headingEnable:e})})),(0,a.createElement)(S,{title:__("Dark Mode Image","ultimate-post")},(0,a.createElement)(m.Z,{label:__("Enable Dark Image","ultimate-post"),value:oe,onChange:e=>U({darkImgEnable:e})}),oe&&(0,a.createElement)(u.Z,{label:__("Upload Dark Mode Image","ultimate-post"),multiple:!1,type:["image"],panel:!0,value:ae,dcEnabled:ne.darkImage,DynamicContent:(0,a.createElement)(b.ZP,{headingBlock:de,attrKey:"darkImage",isActive:!1,config:{disableAdv:!0,disableLink:!0,fieldType:"image"}}),onChange:e=>{U({darkImage:e})}}))),(0,a.createElement)(r.Section,{slug:"style",title:__("Style","ultimate-post")},(0,a.createElement)(n.Hn,{store:se,initialOpen:!0,exclude:["imgCropSmall","imgAnimation"],include:[{position:0,data:{type:"select",key:"imgAnimation",label:__("Hover Animation","ultimate-post"),options:[{value:"none",label:__("No Animation","ultimate-post")},{value:"zoomIn",label:__("Zoom In","ultimate-post")},{value:"zoomOut",label:__("Zoom Out","ultimate-post")},{value:"opacity",label:__("Opacity","ultimate-post")},{value:"roateLeft",label:__("Rotate Left","ultimate-post")},{value:"rotateRight",label:__("Rotate Right","ultimate-post")}]}},{position:1,data:{type:"alignment",key:"imgAlignment",label:__("Image Align","ultimate-post"),responsive:!0,disableJustify:!0}}]}),$&&(0,a.createElement)(S,{title:__("Caption","ultimate-post")},(0,a.createElement)(s.Z,{label:__("Alignment","ultimate-post"),value:Y,onChange:e=>U({alignment:e}),disableJustify:!0,responsive:!0,device:L.device,setDevice:e=>ue(e),onDeviceChange:e=>I({device:e})}),(0,a.createElement)(p.Z,{label:__("Caption Color","ultimate-post"),value:V,onChange:e=>U({headingColor:e})}),(0,a.createElement)(g.Z,{label:__("Caption Typography","ultimate-post"),value:q,onChange:e=>U({headingTypo:e}),device:L.device,setDevice:e=>ue(e),onDeviceChange:e=>I({device:e})}),(0,a.createElement)(c.Z,{label:__("Caption Margin","ultimate-post"),value:K,min:0,max:100,unit:["px","em","rem","%"],responsive:!0,device:L.device,setDevice:e=>ue(e),onDeviceChange:e=>I({device:e}),onChange:e=>U({headingMargin:e}),clientId:e.clientId})),"button"==le&&(0,a.createElement)(n.ZJ,{store:se})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(n.yB,{store:se}),(0,a.createElement)(n.Mg,{store:se}),(0,a.createElement)(n.iv,{store:se}))),(0,n.dH)()),(0,a.createElement)("div",(0,o.Z)({},O&&{id:O},{className:`ultp-block-${j} ${H}`}),ce&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:ce}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("figure",{className:"ultp-image-block-wrapper"},(0,a.createElement)("div",{className:`ultp-image-block ultp-image-block-${G} ${!0===z?"ultp-image-block-overlay ultp-image-block-"+W:""} ${L.loading?" ultp-loading-active":""}`},pe&&!L.loading?"link"==le&&D?(0,a.createElement)("a",null,(0,a.createElement)("img",{className:"ultp-image",src:pe,alt:F||"Image"})):(0,a.createElement)("img",{className:"ultp-image",src:pe,alt:F||"Image"}):(0,a.createElement)(x,null,(0,a.createElement)("img",{className:"ultp-image",src:pe,alt:F||"Image"}),(0,a.createElement)(C,null)),"button"==le&&X&&(0,a.createElement)("div",{className:`ultp-image-button ultp-image-button-${te}`},(0,a.createElement)("a",{href:"#"},Q))),$&&Z&&(0,a.createElement)(f,{key:"editable",tagName:"figcaption",className:"ultp-image-caption",keepPlaceholderOnFocus:!0,placeholder:__("Add Text...","ultimate-post"),onChange:e=>U({headingText:e}),value:Z})))))}},4412:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(2165),a=l(9735);const i={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},imageUpload:{type:"object",default:{id:"999999",url:ultp_data.url+"assets/img/ultp-placeholder.jpg"}},darkImgEnable:{type:"boolean",default:!1},darkImage:{type:"object",default:{url:ultp_data.url+"assets/img/ultp-placeholder.jpg"}},linkType:{type:"string",default:"link"},imgLink:{type:"string",default:""},linkTarget:{type:"string",default:"_blank"},imgAlt:{type:"string",default:"Image"},imgAlignment:{type:"object",default:{lg:"left"},style:[{selector:"{{ULTP}} .ultp-image-block-wrapper {text-align: {{imgAlignment}};}"}]},imgCrop:{type:"string",default:"full"},imgWidth:{type:"object",default:{lg:"",ulg:"px"},style:[{selector:"{{ULTP}} .ultp-image-block { max-width: {{imgWidth}}; }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-image-block {object-fit: cover; height: {{imgHeight}}; } \n          {{ULTP}} .ultp-image-block .ultp-image {height: 100%;}"}]},imageScale:{type:"string",default:"cover",style:[{selector:"{{ULTP}} .ultp-image-block img {object-fit: {{imageScale}};}"}]},imgAnimation:{type:"string",default:"none"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{selector:"{{ULTP}} .ultp-image { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{selector:"{{ULTP}} .ultp-image-block:hover .ultp-image { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-image-block { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-image-block:hover { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-image-block"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-image-block:hover"}]},imgMargin:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} .ultp-image-block { margin: {{imgMargin}}; }"}]},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-image-block::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-image-block::before { opacity: {{imgOpacity}}; }"}]},imgLazy:{type:"boolean",default:!1},imgSrcset:{type:"boolean",default:!1},headingText:{type:"string",default:"This is a Image Example"},headingEnable:{type:"boolean",default:!1},headingColor:{type:"string",default:"",style:[{depends:[{key:"headingEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-caption { color:{{headingColor}}; }"}]},alignment:{type:"object",default:{lg:"left"},style:[{depends:[{key:"headingEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-caption {text-align: {{alignment}};}"}]},headingTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"",unit:"px"},decoration:"",transform:"",family:"",weight:""},style:[{depends:[{key:"headingEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-caption"}]},headingMargin:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"headingEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-image-caption { margin:{{headingMargin}}; }"}]},buttonEnable:{type:"boolean",default:!1},btnText:{type:"string",default:"Free Download"},btnLink:{type:"string",default:"#"},btnTarget:{type:"string",default:"_blank"},btnPosition:{type:"string",default:"centerCenter"},btnTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"",decoration:"none",family:""},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-button a"}]},btnColor:{type:"string",default:"#fff",style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-button a { color:{{btnColor}}; }"}]},btnBgColor:{type:"object",default:{openColor:1,type:"color",color:"#037fff"},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}}  .ultp-image-button a"}]},btnBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-button a"}]},btnRadius:{type:"object",default:{lg:"2",unit:"px"},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-button a { border-radius:{{btnRadius}}; }"}]},btnShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-button a"}]},btnHoverColor:{type:"string",default:"#fff",style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-button a:hover { color:{{btnHoverColor}}; }"}]},btnBgHoverColor:{type:"object",default:{openColor:1,type:"color",color:"#1239e2"},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-button a:hover"}]},btnHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-button a:hover"}]},btnHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-button a:hover { border-radius:{{btnHoverRadius}}; }"}]},btnHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-button a:hover"}]},btnSacing:{type:"object",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-block-wrapper .ultp-image-button a { margin:{{btnSacing}}; }"}]},btnPadding:{type:"object",default:{lg:{top:"6",bottom:"6",left:"12",right:"12",unit:"px"}},style:[{depends:[{key:"linkType",condition:"==",value:"button"}],selector:"{{ULTP}} .ultp-image-button a { padding:{{btnPadding}}; }"}]},...(0,o.t)(["advanceAttr"],["loadingColor"]),...a.dh}},2294:(e,t,l)=>{"use strict";var o=l(7294),a=l(7283),i=l(4412);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/image",{title:__("Image","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/image.svg",alt:"Image"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Display images with the ultimate controls.","ultimate-post")),keywords:[__("Image","ultimate-post"),__("Media","ultimate-post"),__("Gallery","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/image.svg"}},edit:a.Z,save:()=>null})},6343:(e,t,l)=>{"use strict";l.d(t,{Z:()=>S});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(7763),s=l(9612),p=l(960),c=l(2955);const{__}=wp.i18n,{InspectorControls:u,InnerBlocks:d,BlockControls:m}=wp.blockEditor,{Fragment:g,useState:y,useEffect:b,useRef:v,useMemo:h}=wp.element,{Spinner:f,Placeholder:k,Dropdown:w,ToolbarButton:x}=wp.components,{getBlockParentsByBlockName:T}=wp.data.select("core/block-editor");function S(e){const t=v(null),l=v(!1),S=v(""),[P,C]=y(),[E,_]=y(!1),[L,I]=y("Content"),{setAttributes:U,name:B,className:M,attributes:A,clientId:H,attributes:{previewImg:N,blockId:j,advanceId:O,hasRootMenu:Z,previewMobileView:R,menuAlign:D,menuMvInheritCss:F,mvTransformToHam:z,menuInline:W,currentPostId:G,menuHamAppear:V}}=e;b((()=>{const e=H.substr(0,6);(0,i.qi)(U,"",G,H),j?j&&j!=e&&(l.current=!0,U({blockId:e}),setTimeout((()=>{_(!E),l.current=!1}),0)):(l.current=!0,wp.apiFetch({path:"/wp/v2/pages?per_page=4&parent=0"}).then((e=>{let t=[];e&&e.length>0&&"hasRootMenu"!=S.current&&(t=e.map((e=>["ultimate-post/menu-item",{parentMenuInline:W,menuItemText:e.title?.rendered||"No Title",menuItemLink:e.link,contentHorizontalPosition:{lg:1,ulg:"px"},contentVerticalPosition:{lg:12,ulg:"px"}}]))),l.current=!1,C(t)})).catch((e=>{l.current=!1,C([]),console.error(e)})),U({blockId:e}))}),[H]),b((()=>{const e=t.current;if(e?(e=>{const{menuInline:t,dropIcon:l,iconAfterText:o}=A;if(e.menuInline!=t||e.iconAfterText!=o||e.dropIcon!=l)return!0})(e)&&(0,i.Gu)(H):t.current=A,T(H,["ultimate-post/menu"])?.length>0&&"hasRootMenu"!=Z&&(U({hasRootMenu:"hasRootMenu"}),S.current="hasRootMenu"),e?.hasRootMenu!=Z||e?.mvTransformToHam!=z||e?.menuHamAppear!=V){let e="";V&&z>0&&"hasRootMenu"!=Z&&(e=`\n                    @media (max-width: ${z}px) {\n                        .postx-page {{ULTP}}[data-mv="enable"] > .ultp-menu-wrapper {\n                            display: none;\n                        }\n                        .postx-page {{ULTP}}[data-mv="enable"] > .ultp-mv-ham-icon.ultp-active {\n                            display: block;\n                        }\n                    }\n                `),U({menuMvResCss:e})}t.current=A}),[A]);const q={setAttributes:U,name:B,attributes:A,setSection:I,section:L,clientId:H},$=h((e=>(0,n.Kh)(A,"ultimate-post/menu",j,!1)),[A,H]);if(N)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:N});const K={name:"ultimate-post/menu-item",attributes:{parentMenuInline:W,menuItemText:"Menu Item",contentHorizontalPosition:{lg:1,ulg:"px"},contentVerticalPosition:{lg:12,ulg:"px"}}},J="hasRootMenu"!=Z&&R&&!F?"":"ultpMenuCss";return(0,a.createElement)(g,null,(0,a.createElement)(m,null,(0,a.createElement)(c.j,{isSelected:e.isSelected,menuInline:W,clientId:H,menuAlign:D,store:q})),(0,a.createElement)(u,null,(0,a.createElement)(c.H,{store:q,hasRootMenu:Z,menuInline:W,menuHamAppear:V})),l.current?(0,a.createElement)(k,{className:"ultp-backend-block-loading ultp-menu-block",label:__("Loading...","ultimate-post")},(0,a.createElement)(f,null)):(0,a.createElement)("div",(0,o.Z)({},O&&{id:O},{"data-menuinline":W,className:`ultp-block-${j} ${M} ${J}`}),$&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:$}}),"hasRootMenu"!=Z&&R?(0,a.createElement)(p.n,{attributes:A}):(0,a.createElement)("div",{className:`ultp-menu-wrapper _${D}`},(0,a.createElement)("div",{className:"ultp-menu-content"},(0,a.createElement)(d,{template:P?.length?P:[["ultimate-post/menu-item",{parentMenuInline:!0,menuItemText:"Menu #1",contentHorizontalPosition:{lg:1,ulg:"px"},contentVerticalPosition:{lg:12,ulg:"px"}}],["ultimate-post/menu-item",{parentMenuInline:!0,menuItemText:"Menu #2",contentHorizontalPosition:{lg:1,ulg:"px"},contentVerticalPosition:{lg:12,ulg:"px"}}],["ultimate-post/menu-item",{parentMenuInline:!0,menuItemText:"Menu #3",contentHorizontalPosition:{lg:1,ulg:"px"},contentVerticalPosition:{lg:12,ulg:"px"}}]],defaultBlock:K,allowedBlocks:["ultimate-post/menu-item"],directInsert:!0,renderAppender:!!e.isSelected&&(()=>(0,a.createElement)("div",{className:"ultp-menu-block-appender"},(0,a.createElement)(w,{contentClassName:"ultp-menu-toolbar-drop",renderToggle:({onToggle:e})=>(0,a.createElement)(x,{label:"Add Item",icon:r.Z.plus,onClick:()=>e()}),renderContent:({onClose:e})=>(0,a.createElement)(s.k,{hasStep:!0,callback:t=>{const{_title:l,_url:o,_target:a}=t;e(),wp.data.dispatch("core/block-editor").insertBlock(wp.blocks.createBlock("ultimate-post/menu-item",{parentMenuInline:W,menuItemText:l,menuItemLink:o,menuLinkTarget:a,contentHorizontalPosition:{lg:1,ulg:"px"},contentVerticalPosition:{lg:12,ulg:"px"}}),999,H,!1)}})})))})))))}},3283:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7462),a=l(7294);const{InnerBlocks:i}=wp.blockEditor;function n(e){const{blockId:t,advanceId:l,menuMvInheritCss:n,menuResStructure:r,hasRootMenu:s,menuAlign:p,mvTransformToHam:c,backIcon:u,closeIcon:d,mvHamIcon:m,naviExpIcon:g,naviIcon:y,mvHeadtext:b,menuHamAppear:v,mvAnimationDuration:h,mvDrawerPosition:f,menuInline:k}=e.attributes,w=v&&"hasRootMenu"!=s?{"data-mvtoham":c,"data-rcsstype":n?"own":"custom","data-rstr":r,"data-mv":"hasRootMenu"!=s?"enable":"disable"}:{"data-hasrootmenu":s},x=Object.keys(w),T={"data-animationduration":h,"data-headtext":b};return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{"data-bid":t,"data-menuinline":k,className:`ultp-block-${t} ultpMenuCss`},x&&w),v&&"hasRootMenu"!=s&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",(0,o.Z)({},T,{className:"ultp-mv-ham-icon ultp-active"}),"_ultp_mn_ic_"+(m||"hamicon_3")+"_ultp_mn_ic_end_"),(0,a.createElement)("div",{"data-drawerpos":f,className:"ultp-mobile-view-container ultp-mv-trigger"},(0,a.createElement)("div",{className:"ultp-mobile-view-wrapper"},(0,a.createElement)("div",{className:"ultp-mobile-view-head"},(0,a.createElement)("div",{className:"ultp-mv-back-label-con ultpmenu-dnone"},"_ultp_mn_ic_"+(u||"leftAngle2")+"_ultp_mn_ic_end_",(0,a.createElement)("div",{className:"ultp-mv-back-label"},b)),(0,a.createElement)("div",{className:"ultp-mv-close"},"_ultp_mn_ic_"+(d||"close_line")+"_ultp_mn_ic_end_")),(0,a.createElement)("div",{className:"ultp-mobile-view-body"})),(0,a.createElement)("div",{className:"ultp-mv-icons"},(0,a.createElement)("div",{className:"ultp-mv-label-icon"},"_ultp_mn_ic_"+(y||"rightAngle2")+"_ultp_mn_ic_end_"),(0,a.createElement)("div",{className:"ultp-mv-label-icon-expand"},"_ultp_mn_ic_"+(g||"arrowUp2")+"_ultp_mn_ic_end_")))),(0,a.createElement)("div",{className:`ultp-menu-wrapper _${p}`},(0,a.createElement)("div",{className:"ultp-menu-content"},(0,a.createElement)(i.Content,null))))}},2955:(e,t,l)=>{"use strict";l.d(t,{H:()=>v,j:()=>b});var o=l(7294),a=l(3049),i=l(8958),n=l(3245),r=l(7763),s=l(2637),p=l(3581),c=l(9612);const{__}=wp.i18n,{Toolbar:u,ToolbarButton:d,Dropdown:m,Modal:g}=wp.components,{useState:y}=wp.element,b=e=>{const{menuInline:t,clientId:l,isSelected:n,menuAlign:s,store:p}=e,[b,v]=y(!1),h=()=>v(!1);return(0,o.createElement)(o.Fragment,null,n&&(0,o.createElement)(u,{className:"ultp-menu-toolbar-group"},(0,o.createElement)(m,{contentClassName:"ultp-menu-toolbar-drop",renderToggle:({onToggle:e})=>(0,o.createElement)("div",{className:"ultp-menu-toolbar-add-item",onClick:()=>e()},r.Z.plus,(0,o.createElement)("div",{className:"__label"},__("Add Item","ultimate-post"))),renderContent:({onClose:e})=>(0,o.createElement)(c.k,{hasStep:!0,callback:o=>{const{_title:a,_url:i,_target:n}=o;e(),wp.data.dispatch("core/block-editor").insertBlock(wp.blocks.createBlock("ultimate-post/menu-item",{parentMenuInline:t,menuItemText:a,menuItemLink:i,menuLinkTarget:n,contentHorizontalPosition:{lg:1,ulg:"px"},contentVerticalPosition:{lg:12,ulg:"px"}}),999,l,!1)}})}),(0,o.createElement)(m,{contentClassName:"ultp-menu-toolbar-drop",focusOnMount:!0,renderToggle:({onToggle:e})=>(0,o.createElement)(d,{label:"Alignment",icon:r.Z[s],onClick:()=>e()}),renderContent:({onClose:e})=>(0,o.createElement)(a.df,{title:!1,include:[{position:10,data:{type:"alignment",key:"menuAlign",block:"menu",inline:!0,disableJustify:!0,icons:["left","center","right"],options:["left","center","right"],label:__("Alignment","ultimate-post")}}],initialOpen:!0,store:p})}),(0,o.createElement)(m,{contentClassName:"ultp-menu-toolbar-drop",focusOnMount:!0,renderToggle:({onToggle:e})=>(0,o.createElement)(d,{label:"Style",icon:r.Z.styleIcon,onClick:()=>e()}),renderContent:({onClose:e})=>(0,o.createElement)(a.df,{title:!1,include:[{position:5,data:{type:"typography",key:"itemTypo",label:__("Typography","ultimate-post")}},{position:10,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"itemColor",label:__("Color","ultimate-post")},{type:"color2",key:"itemBg",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{position:20,data:{type:"border",key:"itemBorder",label:__("Border","ultimate-post")}}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"itemColorHvr",label:__("Color","ultimate-post")},{type:"color2",key:"itemBgHvr",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadowHvr",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{position:20,data:{type:"border",key:"itemBorderHvr",label:__("Hover Border","ultimate-post")}}]}]}},{position:30,data:{type:"dimension",key:"itemRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:40,data:{type:"dimension",key:"itemPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],initialOpen:!0,store:p})}),(0,o.createElement)(m,{contentClassName:"ultp-menu-toolbar-drop",focusOnMount:!0,renderToggle:({onToggle:e})=>(0,o.createElement)(d,{label:"Spacing",icon:r.Z.spacing,onClick:()=>e()}),renderContent:({onClose:e})=>(0,o.createElement)(a.df,{title:!1,include:[{position:20,data:{type:"range",key:"menuItemGap",min:0,max:200,step:1,responsive:!0,unit:["px","%"],label:__("Menu item gap","ultimate-post")}}],initialOpen:!0,store:p})}),(0,o.createElement)(d,{className:"ultp-toolbar-template__btn",onClick:()=>v(!0),label:"Patterns"},(0,o.createElement)("span",{className:"dashicons dashicons-images-alt2"})),b&&(0,o.createElement)(g,{isFullScreen:!0,onRequestClose:h},(0,o.createElement)(i.Z,{store:p,closeModal:h}))))},v=({store:e,hasRootMenu:t,menuInline:l,menuHamAppear:i})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid8819",store:e}),(0,o.createElement)(s.Sections,{callback:t=>{"hamburger"==t.slug?e.setAttributes({previewMobileView:!0}):e.setAttributes({previewMobileView:!1,previewHamIcon:!1})},classes:" ultp-menu-side-settings"},(0,o.createElement)(s.Section,{slug:"global",title:__("Normal View","ultimate-post"),icon:!1},(0,o.createElement)(a.T,{title:"inline",include:[{position:5,data:{type:"toggle",key:"menuInline",label:__("Inline","ultimate-post")}},{position:20,data:{type:"range",key:"menuItemGap",min:0,max:200,step:1,responsive:!0,unit:["px","%"],label:__("Menu item gap","ultimate-post")}},{position:10,data:{type:"alignment",key:"menuAlign",block:"menu",disableJustify:!0,icons:["left","center","right"],options:["left","center","right"],label:__("Alignment","ultimate-post")}},{position:11,data:{type:"alignment",key:"menuAlignItems",block:"menu",disableJustify:!0,icons:l?["alignStartR","alignCenterR","alignEndR","alignStretchR"]:["left_new","center_new","right_new","alignStretch"],options:["flex-start","center","flex-end","stretch"],label:__("Items Alignment","ultimate-post")}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("Menu Items","ultimate-post"),include:[{position:5,data:{type:"typography",key:"itemTypo",label:__("Typography","ultimate-post")}},{position:10,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"itemColor",label:__("Color","ultimate-post")},{type:"color2",key:"itemBg",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"toggle",key:"currentItemStyle",label:__("User Hover as Active Color","ultimate-post")},{type:"color",key:"itemColorHvr",label:__("Color","ultimate-post")},{type:"color2",key:"itemBgHvr",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadowHvr",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorderHvr",label:__("Hover Border","ultimate-post")}]}]}},{position:30,data:{type:"dimension",key:"itemRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:40,data:{type:"dimension",key:"itemPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Item Icon","ultimate-post"),include:[{position:5,data:{type:"toggle",key:"iconAfterText",label:__("Icon After Text","ultimate-post")}},{position:10,data:{type:"range",key:"iconSize",min:0,max:200,step:1,responsive:!0,unit:["px"],label:__("Icon Size","ultimate-post")}},{position:20,data:{type:"range",key:"iconSpacing",min:0,max:200,step:1,responsive:!0,unit:["px"],label:__("Spacing","ultimate-post")}},{position:30,data:{type:"color",key:"iconColor",label:__("Color","ultimate-post")}},{position:40,data:{type:"color",key:"iconColorHvr",label:__("Hover Color","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Dropdown Icon","ultimate-post"),include:[{position:5,data:{type:"icon",key:"dropIcon",selection:a.ov,label:__("Choose Icon","ultimate-post")}},{position:10,data:{type:"color",key:"dropColor",label:__("Icon Color","ultimate-post")}},{position:10,data:{type:"color",key:"dropColorHvr",label:__("Icon Hover Color","ultimate-post")}},{position:15,data:{type:"range",key:"dropSize",min:0,max:200,step:1,responsive:!0,unit:["px"],label:__("Icon Size","ultimate-post")}},{position:20,data:{type:"range",key:"dropSpacing",min:0,max:200,step:1,responsive:!0,unit:["px"],label:__("Text to Icon Spacing","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Background Wrapper","ultimate-post"),include:[{position:30,data:{type:"color2",key:"menuBg",image:!0,label:__("Background","ultimate-post")}},{position:40,data:{type:"border",key:"menuBorder",label:__("Border","ultimate-post")}},{position:50,data:{type:"boxshadow",key:"menuShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}},{position:60,data:{type:"dimension",key:"menuRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:65,data:{type:"dimension",key:"menuMargin",step:1,unit:!0,responsive:!0,label:__("Margin","ultimate-post")}},{position:70,data:{type:"dimension",key:"menuPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:80,data:{type:"toggle",key:"inheritThemeWidth",label:__("Inherit Theme Width (Content)","ultimate-post")}},{position:90,data:{type:"range",key:"menuContentWidth",min:0,max:1700,step:1,responsive:!0,unit:["px","%"],label:__("Content Max-Width","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Advanced Style","ultimate-post"),include:[{position:1,data:{type:"text",key:"advanceId",label:__("ID","ultimate-post")}},{position:5,data:{type:"range",key:"advanceZindex",label:__("z-index","ultimate-post"),min:-100,max:1e4,step:1}},{position:30,data:{type:"textarea",key:"advanceCss",label:__("Custom CSS","ultimate-post"),placeholder:__("Add {{ULTP}} before the selector to wrap element.","ultimate-post")}},{position:15,data:{type:"toggle",key:"hideExtraLarge",pro:!0,label:__("Hide On Extra Large Display","ultimate-post")}},{position:20,data:{type:"toggle",key:"hideTablet",pro:!0,label:__("Hide On Tablet","ultimate-post")}},{position:25,data:{type:"toggle",key:"hideMobile",pro:!0,label:__("Hide On Mobile","ultimate-post")}}],initialOpen:!1,store:e})),"hasRootMenu"!=t&&(0,o.createElement)(s.Section,{slug:"hamburger",title:__("Hamburger View","ultimate-post"),icon:n.ZP.hamicon_1},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"toggle",key:"menuHamAppear",label:__("Enable Hamburger Menu Conversion","ultimate-post")}},{position:4,data:{type:"range",key:"mvTransformToHam",min:0,max:1400,step:1,unit:["px"],responsive:!1,label:__("Hamburger Breakpoint","ultimate-post")}},i&&{position:9,data:{type:"range",key:"mvPopWidth",min:0,max:1400,step:1,responsive:!1,unit:["px","%"],label:__("Drawer Width","ultimate-post")}},i&&{position:20,data:{type:"select",key:"menuResStructure",inline:!0,justify:!0,pro:!0,options:[{value:"mv_dissolve",label:__("Dissolve","ultimate-post")},{value:"mv_slide",label:__("Slide","ultimate-post")},{value:"mv_accordian",label:__("Accordian","ultimate-post")}],label:__("Navigation Effect","ultimate-post")}},i&&{position:22,data:{type:"dimension",key:"hamExpandedPadding",label:__("Expanded Container Padding","ultimate-post"),step:1,unit:["px"],responsive:!1}},i&&{position:30,data:{type:"range",key:"mvAnimationDuration",min:0,max:2e3,step:1,responsive:!1,unit:!1,label:__("Animation Duration(ms)","ultimate-post")}}],initialOpen:!1,store:e}),i&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(a.T,{title:__("Hamburger Icon","ultimate-post"),include:[{position:1,data:{type:"toggle",key:"previewHamIcon",label:__("Preview","ultimate-post")}},{position:5,data:{type:"icon",key:"mvHamIcon",hideFilter:!0,label:__("Choose Ham Icon","ultimate-post"),selection:["hamicon_1","hamicon_2","hamicon_3","hamicon_4","hamicon_5","hamicon_6"]}},{position:10,data:{type:"range",key:"mvHamIconSize",min:6,max:200,step:1,responsive:!1,label:__("Icon Size","ultimate-post")}},{position:20,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"hamVClr",label:__("Color","ultimate-post")},{type:"color2",key:"hamVBg",label:__("Background","ultimate-post")},{type:"border",key:"hamVBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"hamVRadius",label:__("Border Radius","ultimate-post"),step:1,unit:["px"],responsive:!0},{type:"boxshadow",key:"hamVShadow",label:__("Box shadow","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"hamVClrHvr",label:__("Color","ultimate-post")},{type:"color2",key:"hamVBgHvr",label:__("Background","ultimate-post")},{type:"border",key:"hamVBorderHvr",label:__("Border","ultimate-post")},{type:"dimension",key:"hamVRadiusHvr",label:__("Border Radius","ultimate-post"),step:1,unit:["px"],responsive:!0},{type:"boxshadow",key:"hamVShadowHvr",label:__("Box shadow","ultimate-post")}]}]}},{position:10,data:{type:"dimension",key:"hamVPadding",label:__("Padding","ultimate-post"),step:1,unit:["px"],responsive:!0}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Navigation Icon","ultimate-post"),include:[{position:5,data:{type:"icon",key:"naviIcon",selection:a.ov,label:__("choose Icon","ultimate-post")}},{position:5,data:{type:"icon",key:"naviExpIcon",label:__("Expanded Icon","ultimate-post")}},{position:10,data:{type:"range",key:"naviIconSize",min:0,max:200,step:1,responsive:!1,label:__("Icon Size","ultimate-post")}},{position:10,data:{type:"color",key:"naviIconClr",label:__("Color","ultimate-post")}},{position:10,data:{type:"color",key:"naviIconClrHvr",label:__("Hover Color","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Close Icon","ultimate-post"),include:[{position:5,data:{type:"icon",key:"closeIcon",selection:["close_line","close_circle_line"],hideFilter:!0,label:__("Choose Close Icon","ultimate-post")}},{position:10,data:{type:"range",key:"closeSize",min:0,max:200,step:1,responsive:!1,label:__("Icon Size","ultimate-post")}},{position:20,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"closeClr",label:__("Icon Color","ultimate-post")},{type:"color",key:"closeWrapBg",label:__("Wrap BG","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"closeClrHvr",label:__("Color","ultimate-post")},{type:"color",key:"closeWrapBgHvr",label:__("Wrap BG Hover","ultimate-post")}]}]}},{position:40,data:{type:"dimension",key:"closeSpace",response:!1,label:__("Spacing","ultimate-post"),step:1,unit:["px"],responsive:!1}},{position:45,data:{type:"dimension",key:"closePadding",label:__("Padding","ultimate-post"),step:1,unit:["px"],responsive:!1}},{position:50,data:{type:"dimension",key:"closeRadius",label:__("Border Radius","ultimate-post"),step:1,unit:["px"],responsive:!1}},{position:55,data:{type:"border",key:"closeBorder",label:__("Border","ultimate-post"),step:1,unit:["px"],responsive:!1}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Menu Items","ultimate-post"),include:[{position:1,data:{type:"toggle",key:"menuMvInheritCss",label:__("Inherit Parent Block CSS","ultimate-post")}},{position:40,data:{type:"color",key:"mvItemColor",label:__("Color","ultimate-post")}},{position:40,data:{type:"color2",key:"mvItemBg",label:__("Background","ultimate-post")}},{position:40,data:{type:"color",key:"mvItemColorHvr",label:__("Hover Color","ultimate-post")}},{position:40,data:{type:"color2",key:"mvItemBgHvr",label:__("Hover Background","ultimate-post")}},{position:40,data:{type:"range",key:"mvItemSpace",label:__("Spacing Between","ultimate-post"),min:0,max:200,step:1,responsive:!1}},{position:40,data:{type:"typography",key:"mvItemTypo",label:__("Typography","ultimate-post")}},{position:40,data:{type:"border",key:"mvItemBorder",label:__("Border","ultimate-post")}},{position:40,data:{type:"dimension",key:"mvItemRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:40,data:{type:"dimension",key:"mvItemPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Menu Header","ultimate-post"),include:[{position:40,data:{type:"color2",key:"mvHeadBg",image:!1,label:__("Header BG","ultimate-post")}},{position:40,data:{type:"dimension",key:"mvHeadPadding",step:1,unit:["px","%","em"],responsive:!0,label:__("Header Padding","ultimate-post")}},{position:40,data:{type:"border",key:"mvHeadBorder",label:__("Header Border","ultimate-post"),step:1,unit:["px"],responsive:!1}},{position:40,data:{type:"text",key:"mvHeadtext",label:__("Menu Label","ultimate-post")}},{position:40,data:{type:"color",key:"backClr",label:__("Label Color","ultimate-post")}},{position:40,data:{type:"color",key:"backClrHvr",label:__("Label Hover Color","ultimate-post")}},{position:40,data:{type:"typography",key:"backTypo",label:__("Label Typography","ultimate-post")}},{position:40,data:{type:"icon",key:"backIcon",label:__("Choose Back Icon","ultimate-post")}},{position:40,data:{type:"range",key:"backIconSize",min:6,max:200,step:1,responsive:!1,label:__("Back Icon Size","ultimate-post")}},{position:40,data:{type:"range",key:"backIconSpace",min:0,max:200,step:1,responsive:!1,label:__("Text to Icon Gap","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Container","ultimate-post"),include:[{position:10,data:{type:"color2",key:"mvBodyBg",label:__("Background","ultimate-post"),image:!1}},{position:20,data:{type:"dimension",key:"mvBodyPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:30,data:{type:"border",key:"mvBodyBorder",label:__("Border","ultimate-post")}},{position:40,data:{type:"boxshadow",key:"mvBodyShadow",label:__("Box shadow","ultimate-post")}},{position:50,data:{type:"color",key:"mvOverlay",label:__("Background Overlay","ultimate-post"),image:!1}}],initialOpen:!1,store:e})))))},9612:(e,t,l)=>{"use strict";l.d(t,{k:()=>u});var o=l(7294),a=l(2217),i=l(3245);const{__}=wp.i18n,{useState:n,useEffect:r}=wp.element,{TextControl:s,Spinner:p,Placeholder:c}=wp.components,u=e=>{const{callback:t,params:l,hasStep:u}=e,[d,m]=n(""),[g,y]=n(!0),[b,v]=n(1),[h,f]=n({_title:"",_url:"",_target:"_self"}),[k,w]=n([]),[x,T]=n(!1);r((()=>{(e=>{const t=e||(""==d?{isInitialSuggestions:!0,initialSuggestionsSearchOptions:{perPage:"6"}}:{});wp?.coreData?.__experimentalFetchLinkSuggestions(d,t).then((e=>{w(e),g&&y(!1)})).catch((e=>{w([]),console.error("Error fetching link suggestions:",e)}))})(l)}),[d]);const S=(e,l)=>{u?(v(2),f({...h,_title:e||"",_url:l||""})):t({...h,_title:e||"",_url:l||""})},P=(e,t)=>{f({...h,[t]:e})};return 1==b?(0,o.createElement)("div",{className:"ultp-menu-searchdropdown-con"},(0,o.createElement)("div",{className:"ultp-menu-search-text"},(0,o.createElement)("input",{type:"text",placeholder:"Search or Type Url",onChange:e=>m(e.target.value)}),(0,o.createElement)("div",{className:"ultp-menu-search-add "+(d?"__active":""),onClick:()=>d&&S("",d)},i.ZP.top_left_angle_line)),g?(0,o.createElement)(c,{className:"ultp-backend-block-loading ultp-menu-block",label:__("Fetching...","ultimate-post")},(0,o.createElement)(p,null)):(0,o.createElement)("div",{className:"ultp-menu-search-items"},k.map(((e,t)=>(0,o.createElement)("div",{onClick:()=>S(e.title,e.url),key:t},(0,o.createElement)("div",null,e.title),(0,o.createElement)("div",{className:"__type"},e.type)))))):(0,o.createElement)("div",{className:"ultp-section-accordion ultp-section-fetchurl",id:"ultp-sidebar-inline"},(0,o.createElement)("div",{className:"ultp-section-show ultp-toolbar-section-show"},(0,o.createElement)(s,{__nextHasNoMarginBottom:!0,value:h._title,placeholder:"Type Label",label:"Label",onChange:e=>P(e,"_title")}),(0,o.createElement)("div",{className:"ultp-field-selflink"},(0,o.createElement)("label",null,"Link"),(0,o.createElement)("div",null,(0,o.createElement)("span",{className:"ultp-link-section"},(0,o.createElement)("span",{className:"ultp-link-input"},(0,o.createElement)("input",{type:"text",onChange:e=>P(e.target.value,"_url"),value:h._url,placeholder:"Type Url"}),h._url&&(0,o.createElement)("span",{className:"ultp-image-close-icon dashicons dashicons-no-alt",onClick:()=>P("","_url")})),(0,o.createElement)("span",{className:"ultp-link-options"},(0,o.createElement)("span",{className:"ultp-collapse-section",onClick:()=>{T(!x)}},(0,o.createElement)("span",{className:`ultp-short-collapse ${x&&" active"}`})))),x&&(0,o.createElement)("div",{className:"ultp-short-content active"},(0,o.createElement)(a.Z,{value:h._target,label:"Link Target",options:[{value:"_self",label:__("Same Tab","ultimate-post")},{value:"_blank",label:__("New Tab","ultimate-post")}],onChange:e=>P(e,"_target")})))),(0,o.createElement)("div",{className:"ultp-section-fetchurl-add",onClick:()=>t(h)},__("Save","ultimate-post"))))}},960:(e,t,l)=>{"use strict";l.d(t,{n:()=>i});var o=l(7294),a=l(3245);const i=e=>{const{blockId:t,backIcon:l,closeIcon:i,mvHamIcon:n,naviIcon:r,mvHeadtext:s,previewHamIcon:p,menuAlign:c}=e.attributes,u="right"==c?{"margin-left":"auto"}:"left"==c?{"margin-right":"auto"}:{margin:"auto"};return p?(0,o.createElement)("div",{style:{display:"block",width:"fit-content",...u},className:"ultp-mv-ham-icon ultp-active"},a.ZP[n]):(0,o.createElement)("div",{className:"ultp-mobile-view-container-preview",style:{backgroundImage:`url(${ultp_data.url}assets/img/blocks/menu/mobile_preview.png)`}},(0,o.createElement)("div",{className:"ultp-mobile-view-container ultp-editor"},(0,o.createElement)("div",{className:"ultp-mobile-view-wrapper"},(0,o.createElement)("div",{className:"ultp-mobile-view-head"},(0,o.createElement)("div",{className:"ultp-mv-back-label-con"},a.ZP[l],(0,o.createElement)("div",{className:"ultp-mv-back-label"},s)),(0,o.createElement)("div",{className:"ultp-mv-close"},a.ZP[i])),(0,o.createElement)("div",{className:"ultp-mobile-view-body"},(0,o.createElement)("div",{"data-bid":"",className:"wp-block-ultimate-post-menu-item"},(0,o.createElement)("div",{"data-parentbid":`.ultp-block-${t||"null"}`,className:"ultp-menu-item-wrapper"},(0,o.createElement)("div",{className:"ultp-menu-item-label-container"},(0,o.createElement)("a",{className:"ultp-menu-item-label ultp-menuitem-pos-aft"},(0,o.createElement)("div",{className:"ultp-menu-item-label-text"},"Home"))))),(0,o.createElement)("div",{"data-bid":"",className:"wp-block-ultimate-post-menu-item "},(0,o.createElement)("div",{"data-parentbid":`.ultp-block-${t||"null"}`,className:"ultp-menu-item-wrapper"},(0,o.createElement)("div",{className:"ultp-menu-item-label-container"},(0,o.createElement)("a",{className:"ultp-menu-item-label ultp-menuitem-pos-aft"},(0,o.createElement)("div",{className:"ultp-menu-item-label-text"},"Blog")),(0,o.createElement)("div",{className:"ultp-menu-item-dropdown"},a.ZP[r])))),(0,o.createElement)("div",{"data-bid":"",className:"wp-block-ultimate-post-menu-item "},(0,o.createElement)("div",{"data-parentbid":`.ultp-block-${t||"null"}`,className:"ultp-menu-item-wrapper"},(0,o.createElement)("div",{className:"ultp-menu-item-label-container"},(0,o.createElement)("a",{className:"ultp-menu-item-label ultp-menuitem-pos-aft"},(0,o.createElement)("div",{className:"ultp-menu-item-label-text"},"Features")),(0,o.createElement)("div",{className:"ultp-menu-item-dropdown"},a.ZP[r])))),(0,o.createElement)("div",{"data-bid":"",className:"wp-block-ultimate-post-menu-item"},(0,o.createElement)("div",{"data-parentbid":`.ultp-block-${t||"null"}`,className:"ultp-menu-item-wrapper"},(0,o.createElement)("div",{className:"ultp-menu-item-label-container"},(0,o.createElement)("a",{className:"ultp-menu-item-label ultp-menuitem-pos-aft"},(0,o.createElement)("div",{className:"ultp-menu-item-label-text"},"Support"))))),(0,o.createElement)("div",{"data-bid":"",className:"wp-block-ultimate-post-menu-item "},(0,o.createElement)("div",{"data-parentbid":`.ultp-block-${t||"null"}`,className:"ultp-menu-item-wrapper"},(0,o.createElement)("div",{className:"ultp-menu-item-label-container"},(0,o.createElement)("a",{className:"ultp-menu-item-label ultp-menuitem-pos-aft"},(0,o.createElement)("div",{className:"ultp-menu-item-label-text"},"About Us")),(0,o.createElement)("div",{className:"ultp-menu-item-dropdown"},a.ZP[r]))))))))}},4955:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(6343),n=l(3283);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks,s=(0,a.Z)("https://wpxpo.com/docs/postx/postx-menu/","block_docs");r("ultimate-post/menu",{title:__("Menu - PostX","ultimate-post"),icon:(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/menu/menu.svg",alt:"Menu PostX"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Set Up and Organize Your Site's Navigation","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:s},__("Documentation","ultimate-post"))),keywords:[__("menu","ultimate-post"),__("mega","ultimate-post"),__("mega menu","ultimate-post")],supports:{html:!1,reusable:!1,align:["center","wide","full"]},example:{attributes:{previewImg:!1}},edit:i.Z,save:n.Z,attributes:{blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},previewImg:{type:"string",default:""},menuMvResCss:{type:"string",default:"",style:[{selector:""}]},menuInline:{type:"boolean",default:!0,style:[{depends:[{key:"menuInline",condition:"==",value:!1}]},{depends:[{key:"menuInline",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-menu-wrapper > .ultp-menu-content > .block-editor-inner-blocks > .block-editor-block-list__layout,\n                            .postx-page {{ULTP}} > .ultp-menu-wrapper > .ultp-menu-content { flex-direction: row; }"}]},menuAlign:{type:"string",default:"center"},menuAlignItems:{type:"string",default:"stretch",style:[{selector:"{{ULTP}} > .ultp-menu-wrapper > .ultp-menu-content > .block-editor-inner-blocks > .block-editor-block-list__layout,\n                            .postx-page {{ULTP}} > .ultp-menu-wrapper > .ultp-menu-content { align-items: {{menuAlignItems}}; }"}]},menuItemGap:{type:"object",default:{lg:"16",ulg:"px"},style:[{selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper > .ultp-menu-content > .block-editor-inner-blocks > .block-editor-block-list__layout, .postx-page {{ULTP}}.ultpMenuCss > .ultp-menu-wrapper > .ultp-menu-content { gap: {{menuItemGap}};}"}]},menuBg:{type:"object",default:{openColor:0,type:"color",color:"",size:"cover",repeat:"no-repeat",loop:!0},style:[{selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper"}]},menuBorder:{type:"object",default:{openBorder:0,width:{top:0,right:0,bottom:0,left:0},color:"#dfdfdf"},style:[{selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper"}]},menuShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#037fff"},style:[{selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper"}]},menuRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper { border-radius: {{menuRadius}};}"}]},menuMargin:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper { margin:{{menuMargin}}; }"}]},menuPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper { padding:{{menuPadding}}; }"}]},inheritThemeWidth:{type:"boolean",default:!0,style:[{selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper > .ultp-menu-content { max-width: 100%; }"}]},menuContentWidth:{type:"object",default:{lg:"1140",ulg:"px"},style:[{depends:[{key:"inheritThemeWidth",condition:"==",value:!1}],selector:"{{ULTP}}.ultpMenuCss > .ultp-menu-wrapper > .ultp-menu-content { max-width: {{menuContentWidth}};}"}]},dropIcon:{type:"string",default:"collapse_bottom_line"},dropColor:{type:"string",default:"#2E2E2E",style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-dropdown svg { fill: {{dropColor}}; }'}]},dropColorHvr:{type:"string",default:"#2E2E2E",style:[{selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-dropdown svg { fill: {{dropColorHvr}}; }'}]},dropSize:{type:"object",default:{lg:"12",ulg:"px"},style:[{selector:'.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-dropdown svg { height: {{dropSize}}; width: {{dropSize}}; }'}]},dropSpacing:{type:"object",default:{lg:"8",ulg:"px"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container { gap: {{dropSpacing}}; }'}]},itemTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",family:"",weight:400,transform:"capitalize"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text'}]},itemColor:{type:"string",default:"#2E2E2E",style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text { color: {{itemColor}}; }'}]},itemBg:{type:"object",default:{openColor:0,type:"color",color:""},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#037fff"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},currentItemStyle:{type:"boolean",default:!0},itemColorHvr:{type:"string",default:"#037fff",style:[{depends:[{key:"currentItemStyle",condition:"==",value:!1}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text { color: {{itemColorHvr}}; }'},{depends:[{key:"currentItemStyle",condition:"==",value:!0}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item > .ultp-current-link.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text,\n                    .ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text { color: {{itemColorHvr}}; }'}]},itemBgHvr:{type:"object",default:{openColor:0,type:"color",color:"#6ee7b7"},style:[{depends:[{key:"currentItemStyle",condition:"==",value:!1}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'},{depends:[{key:"currentItemStyle",condition:"==",value:!0}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container,\n                    .ultpMenuCss .wp-block-ultimate-post-menu-item > .ultp-current-link.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemShadowHvr:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#6ee7b7"},style:[{depends:[{key:"currentItemStyle",condition:"==",value:!1}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'},{depends:[{key:"currentItemStyle",condition:"==",value:!0}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container,\n                    .ultpMenuCss .wp-block-ultimate-post-menu-item > .ultp-current-link.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container\n                    '}]},itemBorderHvr:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#037fff",type:"solid"},style:[{depends:[{key:"currentItemStyle",condition:"==",value:!1}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'},{depends:[{key:"currentItemStyle",condition:"==",value:!0}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container,\n                    .ultpMenuCss .wp-block-ultimate-post-menu-item > .ultp-current-link.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#037fff",type:"solid"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container { border-radius:{{itemRadius}}; }'}]},itemPadding:{type:"object",default:{lg:{top:"4",bottom:"4",left:"4",right:"4",unit:"px"}},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container { padding:{{itemPadding}}; }'}]},iconAfterText:{type:"boolean",default:!1},iconSize:{type:"object",default:{lg:"16",ulg:"px"},style:[{selector:'\n                        .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-icon svg,\n                        .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-icon img { height: {{iconSize}}; width: {{iconSize}}; }'}]},iconSpacing:{type:"object",default:{lg:"10",ulg:"px"},style:[{selector:'.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label { gap: {{iconSpacing}}; }'}]},iconColor:{type:"string",default:"#000",style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-icon svg { fill:{{iconColor}}; stroke:{{iconColor}}; }'}]},iconColorHvr:{type:"string",default:"#000",style:[{selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-icon svg { fill:{{iconColorHvr}}; stroke:{{iconColorHvr}};}'}]},hasRootMenu:{type:"string",default:""},menuHamAppear:{type:"boolean",default:!0},mvTransformToHam:{type:"string",default:"800",style:[{depends:[{key:"menuHamAppear",condition:"==",value:!0}]}]},previewMobileView:{type:"string",default:""},mvPopWidth:{type:"string",default:{_value:"84",unit:"%",onlyUnit:!0},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper { width: {{mvPopWidth}}; }"}]},menuResStructure:{type:"string",default:"mv_slide"},hamExpandedPadding:{type:"object",default:{top:"10",right:"0",bottom:"10",left:"15",unit:"px"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuResStructure",condition:"==",value:"mv_accordian"}],selector:"{{ULTP}} .ultp-mobile-view-container .ultp-mobile-view-wrapper .ultp-mobile-view-body .wp-block-ultimate-post-menu-item .ultp-menu-item-content { padding: {{hamAccorPadding}}; }"}]},mvAnimationDuration:{type:"string",default:"400"},mvDrawerPosition:{type:"string",default:"left"},previewHamIcon:{type:"string",default:""},mvHamIcon:{type:"string",default:"hamicon_3",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}]}]},mvHamIconSize:{type:"string",default:"24",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon svg { height: {{mvHamIconSize}}px; width: {{mvHamIconSize}}px; }"}]},hamVClr:{type:"string",default:"#070707",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"\n                        {{ULTP}} .ultp-mv-ham-icon svg { fill: {{hamVClr}}; }"}]},hamVBg:{type:"object",default:{openColor:0,type:"color",color:""},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon"}]},hamVBorder:{type:"object",default:{openBorder:0,width:{top:0,right:0,bottom:0,left:0},color:"#dfdfdf"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon"}]},hamVRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon { border-radius: {{hamVRadius}}; }"}]},hamVShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#037fff"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon"}]},hamVPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon { padding: {{hamVPadding}}; }"}]},hamVClrHvr:{type:"string",default:"#070707",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"\n                        {{ULTP}} .ultp-mv-ham-icon:hover svg { fill: {{hamVClrHvr}}; }"}]},hamVBgHvr:{type:"object",default:{openColor:0,type:"color",color:""},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon:hover"}]},hamVBorderHvr:{type:"object",default:{openBorder:0,width:{top:0,right:0,bottom:0,left:0},color:"#dfdfdf"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon:hover"}]},hamVRadiusHvr:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon:hover { border-radius: {{hamVRadiusHvr}}; }"}]},hamVShadowHvr:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#037fff"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-ham-icon:hover"}]},naviIcon:{type:"string",default:"rightAngle2",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}]}]},naviExpIcon:{type:"string",default:"arrowUp2",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuResStructure",condition:"==",value:"mv_accordian"}]}]},naviIconSize:{type:"string",default:"18",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container .ultp-menu-item-dropdown svg { height: {{naviIconSize}}px; width: {{naviIconSize}}px; }"}]},naviIconClr:{type:"string",default:"#000",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container .ultp-menu-item-dropdown svg { fill: {{naviIconClr}}; }"}]},naviIconClrHvr:{type:"string",default:"#000",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"\n                        {{ULTP}} .ultp-hammenu-accordian-active > .ultp-menu-item-wrapper >  .ultp-menu-item-label-container > .ultp-menu-item-dropdown svg,\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container .ultp-menu-item-dropdown:hover svg { fill: {{naviIconClrHvr}}; }"}]},closeIcon:{type:"string",default:"close_line",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}]}]},closeSize:{type:"string",default:"18",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close svg { height: {{closeSize}}px; width: {{closeSize}}px; }"}]},closeClr:{type:"string",default:"#fff",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close svg { fill: {{closeClr}}; }"}]},closeClrHvr:{type:"string",default:"#fff",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close:hover svg { fill: {{closeClrHvr}}; }"}]},closeWrapBg:{type:"string",default:"#999999",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close  { background-color: {{closeWrapBg}}; }"}]},closeWrapBgHvr:{type:"string",default:"#ED2A2A",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close:hover  { background-color: {{closeWrapBgHvr}}; }"}]},closeSpace:{type:"object",default:{left:0,unit:"px",right:-44},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close { margin: {{closeSpace}}; }"}]},closePadding:{type:"object",default:{unit:"px",top:"8",right:"8",bottom:"8",left:"8"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close { padding: {{closePadding}}; }"}]},closeRadius:{type:"object",default:{top:"26",right:"26",bottom:"26",left:"26",unit:"px"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close { border-radius: {{closeRadius}}; }"}]},closeBorder:{type:"object",default:{openBorder:0,width:{top:0,right:0,bottom:0,left:0},color:"#dfdfdf"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-close"}]},menuMvInheritCss:{type:"boolean",default:!1},mvItemColor:{type:"string",default:"#070707",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuMvInheritCss",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-text { color: {{mvItemColor}}; }\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container svg { fill: {{mvItemColor}}; } "}]},mvItemBg:{type:"object",default:{openColor:0,type:"color",color:""},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuMvInheritCss",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container"}]},mvItemColorHvr:{type:"string",default:"#6044FF",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuMvInheritCss",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container:hover .ultp-menu-item-label-text { color: {{mvItemColorHvr}}; }\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container:hover svg { fill: {{mvItemColorHvr}}; } "}]},mvItemBgHvr:{type:"object",default:{openColor:0,type:"color",color:"#fff",size:"cover",repeat:"no-repeat",loop:!0},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuMvInheritCss",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container:hover"}]},mvItemSpace:{type:"string",default:"0",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-body .ultp-menu-content, \n                        {{ULTP}} .ultp-mobile-view-body { gap: {{mvItemSpace}}px; }"}]},mvItemTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",family:"",weight:400,transform:"capitalize"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuMvInheritCss",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-text"}]},mvItemBorder:{type:"object",default:{openBorder:1,width:{top:0,right:0,bottom:1,left:0},color:"#E6E6E6",type:"solid"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuMvInheritCss",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container"}]},mvItemRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuMvInheritCss",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container { border-radius:{{mvItemRadius}}; }"}]},mvItemPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"",right:"",unit:"px"}},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"},{key:"menuMvInheritCss",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-menu-item-label-container { padding:{{mvItemPadding}}; }"}]},mvHeadtext:{type:"string",default:"Menu"},mvHeadBg:{type:"object",default:{openColor:1,type:"color",color:"#F1F1F1",size:"cover",repeat:"no-repeat",loop:!0},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-head"}]},mvHeadPadding:{type:"object",default:{lg:{top:"18",bottom:"18",left:"24",right:"4",unit:"px"}},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-head { padding: {{mvHeadPadding}}; }"}]},mvHeadBorder:{type:"object",default:{openBorder:0,width:{top:0,right:0,bottom:2,left:0},color:"#dfdfdf"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-head"}]},backClr:{type:"string",default:"#070707",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-back-label { color: {{backClr}}; }\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-back-label-con svg { fill: {{backClr}}; }"}]},backClrHvr:{type:"string",default:"#070707",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-back-label-con:hover .ultp-mv-back-label { color: {{backClrHvr}}; }\n                        {{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-back-label-con:hover svg { fill: {{backClrHvr}}; }"}]},backTypo:{type:"object",default:{openTypography:1,size:{lg:"16",unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",transform:"capitalize",family:"",weight:"400"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-back-label-con .ultp-mv-back-label"}]},backIcon:{type:"string",default:"leftArrowLg",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}]}]},backIconSize:{type:"string",default:"20",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mv-back-label-con svg { height: {{backIconSize}}px; width: {{backIconSize}}px; }"}]},backIconSpace:{type:"string",default:"10",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-wrapper .ultp-mv-back-label-con { gap: {{backIconSpace}}px; }"}]},mvBodyBg:{type:"object",default:{openColor:1,type:"color",color:"#ffffff",size:"cover",repeat:"no-repeat",loop:!0},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-body"}]},mvOverlay:{type:"string",default:"rgba(0,10,20,.3411764706)",style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-container { background: {{mvOverlay}}; }"}]},mvBodyPadding:{type:"object",default:{lg:{top:"16",bottom:"24",left:"16",right:"16",unit:"px"}},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-body { padding: {{mvBodyPadding}}; }"}]},mvBodyBorder:{type:"object",default:{openBorder:0,width:{top:0,right:0,bottom:2,left:0},color:"#dfdfdf"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-body"}]},mvBodyShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#037fff"},style:[{depends:[{key:"hasRootMenu",condition:"!=",value:"hasRootMenu"}],selector:"{{ULTP}} .ultp-mobile-view-body"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-menu-wrapper { z-index: {{advanceZindex}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}})},2279:(e,t,l)=>{"use strict";l.d(t,{Z:()=>b});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(276);const{__}=wp.i18n,{InspectorControls:s,InnerBlocks:p,BlockControls:c}=wp.blockEditor,{useState:u,useEffect:d,useRef:m,Fragment:g,useMemo:y}=wp.element;function b(e){const t=m(null),[l,b]=u("Content"),{setAttributes:v,name:h,className:f,attributes:k,clientId:w,attributes:{previewImg:x,blockId:T,advanceId:S,dropIcon:P,iconAfterText:C}}=e,E={setAttributes:v,name:h,attributes:k,setSection:b,section:l,clientId:w};d((()=>{const e=w.substr(0,6);T?T&&T!=e&&v({blockId:e}):v({blockId:e})}),[w]),d((()=>{const e=t.current;e?e.iconAfterText==C&&e.dropIcon==P||((0,i.Gu)(w),t.current=k):t.current=k}),[k]);const _=y((()=>(0,n.Kh)(k,"ultimate-post/list-menu",T,!1)),[k,w]);return x?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:x}):(0,a.createElement)(g,null,(0,a.createElement)(c,null,(0,a.createElement)(r.w,{isSelected:e.isSelected,clientId:w,store:E})),(0,a.createElement)(s,null,(0,a.createElement)(r.K,{store:E})),(0,a.createElement)("div",(0,o.Z)({},S&&{id:S},{className:`ultp-block-${T} ${f} ultpMenuCss`}),_&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:_}}),(0,a.createElement)("div",{className:"ultp-list-menu-wrapper"},(0,a.createElement)("div",{className:"ultp-list-menu-content"},(0,a.createElement)(p,{template:[["ultimate-post/menu-item",{menuItemText:"List Item"}],["ultimate-post/menu-item",{menuItemText:"List Item"}],["ultimate-post/menu-item",{menuItemText:"List Item"}]],allowedBlocks:["ultimate-post/menu-item"]})))))}},8523:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7462),a=l(7294);const{InnerBlocks:i}=wp.blockEditor;function n(e){const{blockId:t,advanceId:l}=e.attributes,n={},r=Object.keys(n);return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{"data-bid":t,className:`ultp-block-${t} ultpMenuCss`},r&&n),(0,a.createElement)("div",{className:"ultp-list-menu-wrapper"},(0,a.createElement)("div",{className:"ultp-list-menu-content"},(0,a.createElement)(i.Content,null))))}},276:(e,t,l)=>{"use strict";l.d(t,{K:()=>u,w:()=>c});var o=l(7294),a=l(3049),i=l(7763),n=l(2637);const{Toolbar:r,ToolbarButton:s,Dropdown:p}=wp.components,{__}=wp.i18n,c=e=>{const{clientId:t,isSelected:l,store:n}=e;return(0,o.createElement)(o.Fragment,null,l&&(0,o.createElement)(r,null,(0,o.createElement)(s,{label:"Add Item",icon:i.Z.plus,onClick:()=>{wp.data.dispatch("core/block-editor").insertBlock(wp.blocks.createBlock("ultimate-post/menu-item",{}),999,t,!1)}}),(0,o.createElement)(p,{contentClassName:"ultp-menu-toolbar-drop",focusOnMount:!0,renderToggle:({onToggle:e})=>(0,o.createElement)(s,{label:"Style",icon:i.Z.styleIcon,onClick:()=>e()}),renderContent:({onClose:e})=>(0,o.createElement)(a.df,{title:!1,include:[{position:5,data:{type:"typography",key:"itemTypo",label:__("Typography","ultimate-post")}},{position:10,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"itemColor",label:__("Color","ultimate-post")},{type:"color2",key:"itemBg",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"toggle",key:"innerCurrItemStyle",label:__("User Hover as Active Color","ultimate-post")},{type:"color",key:"itemColorHvr",label:__("Color","ultimate-post")},{type:"color2",key:"itemBgHvr",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadowHvr",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorderHvr",label:__("Hover Border","ultimate-post")}]}]}},{position:30,data:{type:"dimension",key:"itemRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:40,data:{type:"dimension",key:"itemPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],initialOpen:!0,store:n})}),(0,o.createElement)(p,{contentClassName:"ultp-menu-toolbar-drop",focusOnMount:!0,renderToggle:({onToggle:e})=>(0,o.createElement)(s,{label:"Spacing",icon:i.Z.spacing,onClick:()=>e()}),renderContent:({onClose:e})=>(0,o.createElement)(a.df,{title:!1,include:[{position:20,data:{type:"range",key:"listItemGap",min:0,max:100,step:1,responsive:!0,unit:["px"],label:__("Item Gap","ultimate-post")}}],initialOpen:!0,store:n})})),(0,o.createElement)(r,null,(0,o.createElement)(s,{label:"Delete List Menu",icon:i.Z.delete,onClick:()=>{wp.data.dispatch("core/block-editor").removeBlock(t,!0)}})))},u=({store:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.Sections,null,(0,o.createElement)(n.Section,{slug:"global",title:__("Style","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:10,data:{type:"alignment",block:"list-menu",key:"listMenuAlignItems",disableJustify:!0,icons:["left_new","center_new","right_new","alignStretch"],options:["flex-start","center","flex-end","stretch"],label:__("Items Alignment","ultimate-post")}},{position:20,data:{type:"range",key:"listItemGap",min:0,max:100,step:1,responsive:!0,unit:["px"],label:__("Item Gap","ultimate-post")}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("List Item","ultimate-post"),include:[{position:5,data:{type:"typography",key:"itemTypo",label:__("Typography","ultimate-post")}},{position:10,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"itemColor",label:__("Color","ultimate-post")},{type:"color2",key:"itemBg",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"itemColorHvr",label:__("Color","ultimate-post")},{type:"color2",key:"itemBgHvr",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadowHvr",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorderHvr",label:__("Hover Border","ultimate-post")}]}]}},{position:30,data:{type:"dimension",key:"itemRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:40,data:{type:"dimension",key:"itemPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Item Icon","ultimate-post"),include:[{position:5,data:{type:"toggle",key:"iconAfterText",label:__("Icon After Text","ultimate-post")}},{position:10,data:{type:"range",key:"iconSize",min:0,max:200,step:1,responsive:!0,unit:["px"],label:__("Icon Size","ultimate-post")}},{position:20,data:{type:"range",key:"iconSpacing",min:0,max:200,step:1,responsive:!0,unit:["px"],label:__("Spacing","ultimate-post")}},{position:30,data:{type:"color",key:"iconColor",label:__("Color","ultimate-post")}},{position:40,data:{type:"color",key:"iconColorHvr",label:__("Hover Color","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Dropdown Icon","ultimate-post"),include:[{position:5,data:{type:"icon",key:"dropIcon",selection:a.ov,label:__("Choose Icon","ultimate-post")}},{position:10,data:{type:"color",key:"dropColor",label:__("Icon Color","ultimate-post")}},{position:10,data:{type:"color",key:"dropColorHvr",label:__("Icon Hover Color","ultimate-post")}},{position:15,data:{type:"range",key:"dropSize",min:0,max:200,step:1,responsive:!0,unit:["px"],label:__("Icon Size","ultimate-post")}},{position:20,data:{type:"range",key:"dropSpacing",min:0,max:200,step:1,responsive:!0,unit:["px"],label:__("Text to Icon Spacing","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Background Wrapper","ultimate-post"),include:[{position:30,data:{type:"color2",key:"listMenuBg",image:!1,label:__("Background","ultimate-post")}},{position:40,data:{type:"border",key:"listMenuBorder",label:__("Border","ultimate-post")}},{position:50,data:{type:"boxshadow",key:"listMenuShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}},{position:60,data:{type:"dimension",key:"listMenuRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:70,data:{type:"dimension",key:"listMenuPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],initialOpen:!0,store:e})),(0,o.createElement)(n.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"text",key:"advanceId",label:__("ID","ultimate-post")}},{position:2,data:{type:"range",key:"advanceZindex",label:__("z-index","ultimate-post"),min:-100,max:1e4,step:1}}],initialOpen:!0,store:e}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))))},1145:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(2279),n=l(8523);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/menu/","block_docs"),r("ultimate-post/list-menu",{title:__("List Menu","ultimate-post"),parent:["ultimate-post/menu-item"],icon:(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/menu/list_menu.svg",alt:"List Menu"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Manage and Customize Menus in a List Format.","ultimate-post")),keywords:[__("menu","ultimate-post"),__("list","ultimate-post")],supports:{html:!1,reusable:!1},example:{attributes:{previewImg:!1}},edit:i.Z,save:n.Z,attributes:{blockId:{type:"string",default:""},previewImg:{type:"string",default:""},listItemGap:{type:"object",default:{lg:"0",ulg:"px"},style:[{selector:"{{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                        .postx-page {{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content { gap: {{listItemGap}};}"}]},listMenuAlignItems:{type:"string",default:"stretch",style:[{selector:"{{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                        .postx-page {{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content { align-items: {{listMenuAlignItems}}; }"}]},listMenuBg:{type:"object",default:{openColor:1,type:"color",color:"#F5F5F5",size:"cover",repeat:"no-repeat",loop:!0},style:[{selector:"{{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content"}]},listMenuBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#D2D2D2"},style:[{selector:"{{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content"}]},listMenuShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#037fff"},style:[{selector:"{{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content"}]},listMenuRadius:{type:"object",default:{lg:{top:4,right:4,bottom:4,left:4,unit:"px"}},style:[{selector:"{{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content { border-radius:{{listMenuRadius}}; }"}]},listMenuPadding:{type:"object",default:{lg:{top:"12",bottom:"12",left:"8",right:"8",unit:"px"}},style:[{selector:"{{ULTP}} > .ultp-list-menu-wrapper > .ultp-list-menu-content { padding:{{listMenuPadding}}; }"}]},dropIcon:{type:"string",default:"rightAngle2"},dropColor:{type:"string",default:"#2E2E2E",style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-dropdown svg { fill: {{dropColor}}; }'}]},dropColorHvr:{type:"string",default:"#2E2E2E",style:[{selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-dropdown svg { fill: {{dropColorHvr}}; }'}]},dropSize:{type:"object",default:{lg:"14",ulg:"px"},style:[{selector:'.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-dropdown svg { height: {{dropSize}}; width: {{dropSize}}; }'}]},dropSpacing:{type:"object",default:{lg:"64",ulg:"px"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container { gap: {{dropSpacing}}; }'}]},itemTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",family:"",weight:400,transform:"capitalize"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text'}]},itemColor:{type:"string",default:"#2E2E2E",style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text { color: {{itemColor}}; }'}]},itemBg:{type:"object",default:{openColor:0,type:"color",color:""},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},innerCurrItemStyle:{type:"toggle",default:!1},itemColorHvr:{type:"string",default:"#6E6E6E",style:[{depends:[{key:"innerCurrItemStyle",condition:"==",value:!1}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text { color: {{itemColorHvr}}; }'},{depends:[{key:"innerCurrItemStyle",condition:"==",value:!0}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text,\n                    .ultpMenuCss .wp-block-ultimate-post-menu-item > .ultp-current-link.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label-text { color: {{itemColorHvr}}; }'}]},itemBgHvr:{type:"object",default:{openColor:1,type:"color",color:"#FFFFFF"},style:[{depends:[{key:"innerCurrItemStyle",condition:"==",value:!1}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'},{depends:[{key:"innerCurrItemStyle",condition:"==",value:!0}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container,\n                    .ultpMenuCss .wp-block-ultimate-post-menu-item > .ultp-current-link.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemShadowHvr:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"innerCurrItemStyle",condition:"==",value:!1}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'},{depends:[{key:"innerCurrItemStyle",condition:"==",value:!0}],selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container,\n                    .ultpMenuCss .wp-block-ultimate-post-menu-item > .ultp-current-link.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemBorderHvr:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container'}]},itemRadius:{type:"object",default:{top:4,right:4,bottom:4,left:4,unit:"px"},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container { border-radius:{{itemRadius}}; }'}]},itemPadding:{type:"object",default:{lg:{top:12,right:12,bottom:12,left:20,unit:"px"}},style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container { padding:{{itemPadding}}; }'}]},iconAfterText:{type:"boolean",default:!1},iconSize:{type:"object",default:{lg:"12",ulg:"px"},style:[{selector:'\n                        .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-icon svg,\n                        .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-icon img { height: {{iconSize}}; width: {{iconSize}}; }'}]},iconSpacing:{type:"object",default:{lg:"10",ulg:"px"},style:[{selector:'.ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-label { gap: {{iconSpacing}}; }'}]},iconColor:{type:"string",default:"#000",style:[{selector:'.ultpMenuCss .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-icon svg { fill:{{iconColor}} }'}]},iconColorHvr:{type:"string",default:"#000",style:[{selector:'.ultpMenuCss .wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper[data-parentbid="{{ULTP}}"] > .ultp-menu-item-label-container .ultp-menu-item-icon svg { fill:{{iconColorHvr}} }'}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-list-menu-wrapper {z-index:{{advanceZindex}};}"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}})},2874:(e,t,l)=>{"use strict";l.d(t,{Z:()=>x});var o=l(7462),a=l(7294),i=l(9838),n=l(7763),r=l(2278);const{__}=wp.i18n,{InspectorControls:s,InnerBlocks:p,BlockControls:c}=wp.blockEditor,{Toolbar:u,ToolbarButton:d}=wp.components,{useState:m,useEffect:g,useRef:y,Fragment:b,useMemo:v}=wp.element,{dispatch:h}=wp.data,{getBlockAttributes:f,getBlockParents:k,getBlockCount:w}=wp.data.select("core/block-editor");function x(e){const t=y(null),[l,x]=m("Content"),{setAttributes:T,name:S,className:P,attributes:C,clientId:E,attributes:{blockId:_,advanceId:L,megaWidthType:I,megaParentBlock:U,megaAlign:B}}=e,M={setAttributes:T,name:S,attributes:C,setSection:x,section:l,clientId:E};g((()=>{const e=E.substr(0,6);_?_&&_!=e&&T({blockId:e}):T({blockId:e}),A("setTimeout"),setTimeout((()=>{A("setTimeout");const e=document.querySelector(".editor-styles-wrapper"),t=new ResizeObserver((e=>{A("resizeObserver")}));e&&t.observe(e)}),1e3),document.addEventListener("click",(function(e){A("click")}))}),[E]);const A=e=>{const t=document.querySelectorAll(".wp-block-ultimate-post-menu-item.hasMegaMenuChild > .ultp-menu-item-wrapper > .ultp-menu-item-content");t.length>0&&t.forEach((function(e){if(e?.classList.contains("ultpMegaWindowWidth")){const t=document.querySelector(".editor-styles-wrapper"),l=t?t.offsetWidth:800,o=t?t.getBoundingClientRect().left:0,a=e.getBoundingClientRect().left,i=e.querySelector(" .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .wp-block-ultimate-post-mega-menu > .ultp-mega-menu-wrapper");i&&(i.style.maxWidth=`${l}px`,i.style.boxSizing="border-box");const n=e.querySelector(" .block-editor-inner-blocks");n&&(n.style.left=`-${a-o}px`)}else if(e?.classList.contains("ultpMegaMenuWidth")){const t=e.closest(".wp-block-ultimate-post-menu"),l=t?t.offsetWidth:800,o=t?t.getBoundingClientRect().left:0,a=e.getBoundingClientRect().left,i=e.querySelector(" .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .wp-block-ultimate-post-mega-menu > .ultp-mega-menu-wrapper");i&&(i.style.maxWidth=`${l}px`,i.style.boxSizing="border-box");const n=e.querySelector(".block-editor-inner-blocks");n&&(n.style.left=`-${a-o}px`)}else{const t=e?.querySelector(".block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .wp-block-ultimate-post-mega-menu > .ultp-mega-menu-wrapper");t&&(t.style.maxWidth="",t.style.boxSizing="");const l=e?.querySelector(".block-editor-inner-blocks");l&&(l.style.left="")}}))};g((()=>{const e=t.current,l=k(E);e?t.megaWidthType!=I&&(h("core/block-editor").updateBlockAttributes(l[l.length-1],{megaWidthType:I}),t.current=C):t.current=C;const{parentBlock:o}=f(l[l.length-1])||{};U!=o&&T({megaParentBlock:o})}),[C]);const H=v((()=>(0,i.Kh)(C,"ultimate-post/mega-menu",_,!1)),[C,E]),N=w(E);return(0,a.createElement)(b,null,(0,a.createElement)(c,null,(0,a.createElement)(u,null,(0,a.createElement)(d,{label:"Delete Mega Menu",icon:n.Z.delete,onClick:()=>{wp.data.dispatch("core/block-editor").removeBlock(E,!0)}}))),(0,a.createElement)(s,null,(0,a.createElement)(r.g,{store:M})),(0,a.createElement)("div",(0,o.Z)({},L&&{id:L},{className:`ultp-block-${_} ${P} ultpMenuCss`}),H&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:H}}),(0,a.createElement)("div",{className:"ultp-mega-menu-wrapper"},(0,a.createElement)("div",{className:`ultp-mega-menu-content _${B}`},(0,a.createElement)(p,{templateLock:!1,renderAppender:N?void 0:()=>(0,a.createElement)(p.ButtonBlockAppender,null)})))))}},891:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7462),a=l(7294);const{InnerBlocks:i}=wp.blockEditor;function n(e){const{blockId:t,advanceId:l,megaAlign:n}=e.attributes,r={},s=Object.keys(r);return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{"data-bid":t,className:`ultp-block-${t} ultpMenuCss`},s&&r),(0,a.createElement)("div",{className:"ultp-mega-menu-wrapper"},(0,a.createElement)("div",{className:`ultp-mega-menu-content _${n}`},(0,a.createElement)(i.Content,null))))}},2278:(e,t,l)=>{"use strict";l.d(t,{g:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"global",title:__("Style","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"alignment",key:"megaAlign",block:"mega-menu",disableJustify:!0,icons:["left","center","right"],options:["left","center","right"],label:__("Alignment","ultimate-post")}},{position:10,data:{type:"select",key:"megaWidthType",label:__("Width Type","ultimate-post"),options:[{value:"windowWidth",label:__("Window Width","ultimate-post")},{value:"custom",label:__("Custom","ultimate-post")},{value:"parentMenuWidth",label:__("Parent Menu Width","ultimate-post")}]}},{position:20,data:{type:"range",key:"megaWidth",min:0,max:1800,step:1,responsive:!0,unit:["px"],label:__("Width","ultimate-post")}},{position:30,data:{type:"range",key:"megaContentWidth",min:0,max:1800,step:1,responsive:!0,unit:["px"],label:__("Content Max Width","ultimate-post")}},{position:40,data:{type:"color2",key:"megaBg",image:!0,label:__("Background","ultimate-post")}},{position:50,data:{type:"border",key:"megaBorder",label:__("Border","ultimate-post")}},{position:55,data:{type:"boxshadow",key:"megaShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}},{position:60,data:{type:"dimension",key:"megaRadius",step:1,unit:!0,responsive:!0,label:__("Radius","ultimate-post")}},{position:70,data:{type:"dimension",key:"megaPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],initialOpen:!0,store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"text",key:"advanceId",label:__("ID","ultimate-post")}},{position:2,data:{type:"range",key:"advanceZindex",label:__("z-index","ultimate-post"),min:-100,max:1e4,step:1}}],initialOpen:!0,store:e}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))))},7216:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(2874),n=l(891);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/menu/","block_docs"),r("ultimate-post/mega-menu",{title:__("Mega Menu","ultimate-post"),parent:["ultimate-post/menu-item"],icon:(0,o.createElement)("div",{className:"ultp-block-inserter-icon-section ultp-megamenu-pro-icon"},(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/menu/mega_menu.svg",alt:"Mega Menu"}),!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-pro-block"},"Pro")),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Build Advanced and Engaging Multi-Level Menu.","ultimate-post")),keywords:[__("menu","ultimate-post"),__("mega","ultimate-post"),__("mega menu","ultimate-post")],supports:{html:!1,reusable:!1,align:[]},example:{attributes:{previewImg:!1}},edit:i.Z,save:n.Z,attributes:{blockId:{type:"string",default:""},previewImg:{type:"string",default:""},megaParentBlock:{type:"string",default:""},megaAlign:{type:"string",default:"center"},megaWidthType:{type:"string",default:"custom",style:[{depends:[{key:"megaParentBlock",condition:"==",value:"hasMenuParent"}]},{depends:[{key:"megaWidthType",condition:"==",value:"windowWidth"}],selector:"{{ULTP}} > .ultp-mega-menu-wrapper { width: 100vw; }"},{depends:[{key:"megaWidthType",condition:"==",value:"parentMenuWidth"}],selector:"{{ULTP}} > .ultp-mega-menu-wrapper { width: 100vw; }"}]},megaWidth:{type:"object",default:{lg:"400",ulg:"px"},style:[{depends:[{key:"megaWidthType",condition:"==",value:"custom"}],selector:"{{ULTP}} > .ultp-mega-menu-wrapper { width: {{megaWidth}}; }"}]},megaContentWidth:{type:"object",default:{lg:"400",ulg:"px"},style:[{selector:"{{ULTP}} > .ultp-mega-menu-wrapper > .ultp-mega-menu-content { max-width: {{megaContentWidth}}; }"}]},megaBg:{type:"object",default:{openColor:1,type:"color",color:"#F5F5F5",size:"cover",repeat:"no-repeat",loop:!0},style:[{selector:"{{ULTP}} > .ultp-mega-menu-wrapper"}]},megaBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#D2D2D2"},style:[{selector:"{{ULTP}} > .ultp-mega-menu-wrapper"}]},megaShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} > .ultp-mega-menu-wrapper"}]},megaPadding:{type:"object",default:{lg:{top:16,bottom:16,left:16,right:16,unit:"px"}},style:[{selector:"{{ULTP}} > .ultp-mega-menu-wrapper { padding:{{megaPadding}}; }"}]},megaRadius:{type:"object",default:{lg:{top:4,bottom:4,left:4,right:4,unit:"px"}},style:[{selector:"{{ULTP}} > .ultp-mega-menu-wrapper { border-radius:{{megaRadius}}; }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-mega-menu-wrapper { z-index: {{advanceZindex}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}})},4965:(e,t,l)=>{"use strict";l.d(t,{Z:()=>P});var o=l(7462),a=l(7294),i=l(9838),n=l(5051),r=l(3245),s=l(7763);const{__}=wp.i18n,{InspectorControls:p,InnerBlocks:c,RichText:u,BlockControls:d}=wp.blockEditor,{Fragment:m,useState:g,useEffect:y,useMemo:b}=wp.element,{Dropdown:v,Toolbar:h,ToolbarButton:f}=wp.components,{getBlockAttributes:k,getBlockParents:w,getBlockCount:x,getBlocks:T,getBlockName:S}=wp.data.select("core/block-editor");function P(e){const[t,l]=g("Content"),{setAttributes:h,name:f,className:P,attributes:C,clientId:E,attributes:{previewImg:_,blockId:L,advanceId:I,menuItemText:U,hasChildBlock:B,childBlock:M,parentBlock:A,childMegaWidth:H,parentDropIcon:N,iconAfterText:j,enableBadge:O,badgeText:Z,parentBid:R,menuIconType:D,menuItemIcon:F,menuItemImg:z,menuItemSvg:W,parentMenuInline:G}}=e,V={setAttributes:h,name:f,attributes:C,setSection:l,section:t,clientId:E};y((()=>{const e=E.substr(0,6);L?L&&L!=e&&h({blockId:e}):h({blockId:e})}),[E]),y((()=>{const e=w(E),t=e[e.length-1],l=T(E),o=l[0]?.name||"",{megaWidthType:a}=l[0]?l[0].attributes:{},i=t?S(t):"",{menuInline:n,dropIcon:r,iconAfterText:s,blockId:p}=k(e[e.length-1])||{},c="ultimate-post/menu"==i?"hasMenuParent":"ultimate-post/list-menu"==i?"hasListMenuParent":"",u="ultimate-post/mega-menu"==o?"hasMegaMenuChild":"ultimate-post/list-menu"==o?"hasListMenuChild":"",d="windowWidth"==a?"ultpMegaWindowWidth":"parentMenuWidth"==a?"ultpMegaMenuWidth":"ultpMegaCustomWidth",m=l.length>0,g=null!=n&&n,y=s,b=`.ultp-block-${p||"null"}`,v={...A!=c&&{parentBlock:c},...M!=u&&{childBlock:u},...H!=d&&{childMegaWidth:d},...B!=m&&{hasChildBlock:m},...G!=g&&{parentMenuInline:g},...N!=r&&{parentDropIcon:r},...C.iconAfterText!=y&&{iconAfterText:y},...R!=b&&{parentBid:b}};Object.keys(v).length>0&&h(v)}),[C]);const q=b((()=>(0,i.Kh)(C,"ultimate-post/menu-item",L,!1)),[C,E]);if(_)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:_});const $=x(E)>0;let K;return $!=B&&h({hasChildBlock:$}),"img"==D?K=(0,a.createElement)("img",{src:z?.url||"#",alt:"Menu Item Image"}):"icon"==D?K=r.ZP[F]:"svg"==D&&(K=W),(0,a.createElement)(m,null,(0,a.createElement)(d,null,(0,a.createElement)(n.m,{isSelected:e.isSelected,clientId:E,store:V,__hasChildBlock:$})),(0,a.createElement)(p,null,(0,a.createElement)(n.T,{clientId:E,store:V})),(0,a.createElement)("div",(0,o.Z)({},I&&{id:I},{className:`ultp-block-${L} ${P} ${A} ${M} ultpMenuCss`}),q&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:q}}),(0,a.createElement)("div",{"data-parentbid":R,className:"ultp-menu-item-wrapper"},(0,a.createElement)("div",{className:"ultp-menu-item-label-container"},(0,a.createElement)("a",{style:{pointerEvents:"none"},className:"ultp-menu-item-label ultp-menuitem-pos-"+(j?"aft":"bef")},e.isSelected||""==U?(0,a.createElement)(u,{key:"editable",isSelected:!1,tagName:"div",className:"ultp-menu-item-label-text",keepPlaceholderOnFocus:!0,placeholder:__("Item Text...","ultimate-post"),onChange:e=>h({menuItemText:e}),value:U}):(0,a.createElement)("div",{className:"ultp-menu-item-label-text"},U),K&&("svg"==D?(0,a.createElement)("div",{className:"ultp-menu-item-icon",dangerouslySetInnerHTML:{__html:K}}):(0,a.createElement)("div",{className:"ultp-menu-item-icon"},K)),O&&(0,a.createElement)("div",{"data-currentbid":`.ultp-block-${L}`,className:"ultp-menu-item-badge"},Z)),N&&(0,a.createElement)("div",{className:"ultp-menu-item-dropdown"},$&&r.ZP[N])),(0,a.createElement)("div",{className:`ultp-menu-item-content ${H}`},(0,a.createElement)(c,{renderAppender:!$&&!!e.isSelected&&(()=>(0,a.createElement)(v,{contentClassName:"ultp-menu-add-toolbar",focusOnMount:!0,renderToggle:({onToggle:e})=>(0,a.createElement)("div",{className:"ultp-listmenu-add-item",onClick:()=>e()},s.Z.plus,(0,a.createElement)("div",{className:"__label"},__("Sub Menu","ultimate-post"))),renderContent:({onClose:e})=>(0,a.createElement)("div",{className:"ultp-toolbar-menu-block-items"},(0,a.createElement)("div",{className:"ultp-toolbar-menu-block-item",onClick:()=>{wp.data.dispatch("core/block-editor").insertBlock(wp.blocks.createBlock("ultimate-post/list-menu",{}),0,E),e()}},(0,a.createElement)("div",{className:"ultp-toolbar-menu-block-img"},(0,a.createElement)("img",{src:ultp_data.url+"assets/img/blocks/menu/list_menu.svg",alt:"List Menu"})),(0,a.createElement)("div",{className:"ultp-toolbar-menu-block-label"},__("List Menu","ultimate-post"))),(0,a.createElement)("div",{className:"ultp-toolbar-menu-block-item",onClick:()=>{wp.data.dispatch("core/block-editor").insertBlock(wp.blocks.createBlock("ultimate-post/mega-menu",{}),0,E),e()}},(0,a.createElement)("div",{className:"ultp-toolbar-menu-block-img ultp-megamenu-pro-icon"},(0,a.createElement)("img",{src:ultp_data.url+"assets/img/blocks/menu/mega_menu.svg",alt:"Mega Menu"}),!ultp_data.active&&(0,a.createElement)("span",{className:"ultp-pro-block"},"Pro")),(0,a.createElement)("div",{className:"ultp-toolbar-menu-block-label"},__("Mega Menu","ultimate-post"))))})),allowedBlocks:["ultimate-post/list-menu","ultimate-post/mega-menu"]})))))}},8396:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7462),a=l(7294);const{InnerBlocks:i}=wp.blockEditor;function n(e){const{blockId:t,advanceId:l,menuItemText:n,hasChildBlock:r,parentBlock:s,childBlock:p,childMegaWidth:c,iconAfterText:u,parentDropIcon:d,menuItemLink:m,menuLinkTarget:g,enableBadge:y,badgeText:b,parentBid:v,menuIconType:h,menuItemIcon:f,menuItemImg:k,menuItemSvg:w}=e.attributes;let x;"img"==h?x=(0,a.createElement)("img",{src:k?.url||"#",alt:"Menu Item Image"}):"icon"==h?x=f?"_ultp_mi_ic_"+f+"_ultp_mi_ic_end_":"":"svg"==h&&(x=w);const T={},S=Object.keys(T);return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{"data-bid":t,className:`ultp-block-${t} ${s} ${p} ultpMenuCss`},S&&T),(0,a.createElement)("div",{"data-parentbid":v,className:"ultp-menu-item-wrapper"},(0,a.createElement)("div",{className:"ultp-menu-item-label-container"},(0,a.createElement)("a",(0,o.Z)({className:"ultp-menu-item-label ultp-menuitem-pos-"+(u?"aft":"bef")},m&&{href:m,target:g,rel:"noopener"}),n&&(0,a.createElement)("div",{className:"ultp-menu-item-label-text"},n),x&&("svg"==h?(0,a.createElement)("div",{className:"ultp-menu-item-icon",dangerouslySetInnerHTML:{__html:x}}):(0,a.createElement)("div",{className:"ultp-menu-item-icon"},x)),y&&(0,a.createElement)("div",{"data-currentbid":`.ultp-block-${t}`,className:"ultp-menu-item-badge"},b)),d&&(0,a.createElement)("div",{className:"ultp-menu-item-dropdown"},r&&"_ultp_mi_ic_"+d+"_ultp_mi_ic_end_")),(0,a.createElement)("div",{className:`ultp-menu-item-content ${c}`},(0,a.createElement)(i.Content,null))))}},5051:(e,t,l)=>{"use strict";l.d(t,{T:()=>u,m:()=>c});var o=l(7294),a=l(3049),i=l(7763),n=l(2637);const{__}=wp.i18n,{Dropdown:r,Toolbar:s,ToolbarButton:p}=wp.components,c=e=>{const{clientId:t,isSelected:l,store:n}=e;return(0,o.createElement)(o.Fragment,null,l&&(0,o.createElement)(s,{className:"ultp-menu-toolbar-group"},(0,o.createElement)(r,{contentClassName:"ultp-menu-toolbar-drop",renderToggle:({onToggle:e})=>(0,o.createElement)(p,{label:"Update Link",icon:i.Z.updateLink,onClick:()=>e()}),renderContent:({onClose:e})=>(0,o.createElement)(a.df,{title:!1,include:[{position:5,data:{type:"text",key:"menuItemText",label:"Label"}},{position:10,data:{type:"linkbutton",key:"menuItemLink",onlyLink:!0,extraBtnAttr:{target:{key:"menuLinkTarget",options:[{value:"_self",label:__("Same Tab","ultimate-post")},{value:"_blank",label:__("New Tab","ultimate-post")}],label:__("Link Target To","ultimate-post")},follow:!1,sponsored:!1,download:!1},label:__("Link","ultimate-post")}}],initialOpen:!0,store:n})})),(0,o.createElement)(s,null,(0,o.createElement)(r,{contentClassName:"ultp-menu-toolbar-drop",focusOnMount:!0,renderToggle:({onToggle:e})=>(0,o.createElement)(p,{label:"Style",icon:i.Z.styleIcon,onClick:()=>e()}),renderContent:({onClose:e})=>(0,o.createElement)(a.df,{title:!1,include:[{position:5,data:{type:"typography",key:"itemTypo",label:__("Typography","ultimate-post")}},{position:10,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"itemColor",label:__("Color","ultimate-post")},{type:"color2",key:"itemBg",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"itemColorHvr",label:__("Color","ultimate-post")},{type:"color2",key:"itemBgHvr",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadowHvr",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorderHvr",label:__("Hover Border","ultimate-post")}]}]}},{position:30,data:{type:"dimension",key:"itemRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:40,data:{type:"dimension",key:"itemPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],initialOpen:!0,store:n})})),(0,o.createElement)(s,null,(0,o.createElement)(p,{label:"Duplicate",icon:i.Z.duplicate,onClick:()=>{wp.data.dispatch("core/block-editor").duplicateBlocks([t],!0)}})),(0,o.createElement)(s,null,(0,o.createElement)(p,{label:"Delete Item",icon:i.Z.delete,onClick:()=>{wp.data.dispatch("core/block-editor").removeBlock(t,!0)}})))},u=({store:e,clientId:t})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.Sections,null,(0,o.createElement)(n.Section,{slug:"global",title:__("Global Style","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:5,data:{type:"text",key:"menuItemText",label:"Label"}},{position:10,data:{type:"linkbutton",key:"menuItemLink",onlyLink:!0,extraBtnAttr:{target:{key:"menuLinkTarget",options:[{value:"_self",label:__("Same Tab","ultimate-post")},{value:"_blank",label:__("New Tab","ultimate-post")}],label:__("Link Target To","ultimate-post")},follow:!1,sponsored:!1,download:!1},label:__("Link","ultimate-post")}},{position:40,data:{type:"tag",key:"menuIconType",label:__("Icon Type","ultimate-post"),options:[{value:"icon",label:__("Icon","ultimate-post")},{value:"img",label:__("Image","ultimate-post")},{value:"svg",label:__("Custom svg","ultimate-post")}]}},{position:50,data:{type:"icon",key:"menuItemIcon",label:__("Icon","ultimate-post")}},{position:60,data:{type:"media",key:"menuItemImg",label:__("Image","ultimate-post")}},{position:70,data:{type:"textarea",key:"menuItemSvg",label:__("SVG code","ultimate-post")}},{position:80,data:{type:"tag",key:"menuItemImgScale",label:__("Image scale","ultimate-post"),options:[{value:"",label:__("None","ultimate-post")},{value:"cover",label:__("Cover","ultimate-post")},{value:"contain",label:__("Contain","ultimate-post")},{value:"fill",label:__("Fill","ultimate-post")}]}},{position:90,data:{type:"dimension",key:"menuItemImgRadius",step:1,unit:!0,responsive:!0,label:__("Image Radius","ultimate-post")}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("Badge","ultimate-post"),depend:"enableBadge",include:[{position:5,data:{type:"text",key:"badgeText",label:__("Badge Label","ultimate-post")}},{position:10,data:{type:"typography",key:"badgeTypo",label:__("Typography","ultimate-post")}},{position:20,data:{type:"color",key:"badgeColor",label:__("Color","ultimate-post")}},{position:30,data:{type:"color2",key:"badgeBg",label:__("Background","ultimate-post")}},{position:40,data:{type:"border",key:"badgeBorder",label:__("Border","ultimate-post")}},{position:50,data:{type:"dimension",key:"badgeRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:60,data:{type:"dimension",key:"badgePadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:70,data:{type:"tag",key:"badgePosition",label:__("Badge Position","ultimate-post"),options:[{value:"top",label:__("Top","ultimate-post")},{value:"right",label:__("Right","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")},{value:"left",label:__("Left","ultimate-post")}]}},{position:80,data:{type:"range",key:"badgePositionValue",label:__("Position Adjustment","ultimate-post"),step:1,unit:["px","%"],responsive:!0,min:-200,max:200}},{position:90,data:{type:"range",key:"badgeSpacing",label:__("Gap Between Label and Badge","ultimate-post"),step:1,unit:["px","%"],responsive:!0,min:0,max:200}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Item Style","ultimate-post"),include:[{position:5,data:{type:"typography",key:"itemTypo",label:__("Typography","ultimate-post")}},{position:10,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"itemColor",label:__("Color","ultimate-post")},{type:"color2",key:"itemBg",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"itemColorHvr",label:__("Color","ultimate-post")},{type:"color2",key:"itemBgHvr",label:__("Background","ultimate-post")},{type:"boxshadow",key:"itemShadowHvr",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")},{type:"border",key:"itemBorderHvr",label:__("Hover Border","ultimate-post")}]}]}},{position:30,data:{type:"dimension",key:"itemRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:40,data:{type:"dimension",key:"itemPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Content Position","ultimate-post"),include:[{position:40,data:{type:"tag",key:"contentHorizontalPositionType",label:__("Horizontal Position","ultimate-post"),options:[{value:"toLeft",label:__("To Left","ultimate-post")},{value:"toRight",label:__("To Right","ultimate-post")}]}},{position:50,data:{type:"range",key:"contentHorizontalPosition",min:0,max:1200,step:1,responsive:!0,unit:["px"],label:__("Horizontal Position Value","ultimate-post")}},{position:60,data:{type:"tag",key:"contentVerticalPositionType",label:__("Vertical Position","ultimate-post"),options:[{value:"toTop",label:__("To Top","ultimate-post")},{value:"toBottom",label:__("To Bottom","ultimate-post")}]}},{position:70,data:{type:"range",key:"contentVerticalPosition",min:0,max:1200,step:1,responsive:!0,unit:["px"],label:__("Vertical Position Value","ultimate-post")}}],initialOpen:!1,store:e})),(0,o.createElement)(n.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"text",key:"advanceId",label:__("ID","ultimate-post")}},{position:2,data:{type:"range",key:"advanceZindex",label:__("z-index","ultimate-post"),min:-100,max:1e4,step:1}}],initialOpen:!0,store:e}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))))},7004:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(4965),n=l(8396);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/menu/","block_docs"),r("ultimate-post/menu-item",{title:__("Menu Item","ultimate-post"),parent:["ultimate-post/menu","ultimate-post/list-menu"],icon:(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/menu/menu_item.svg",alt:"Menu Item"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Edit and Optimize Individual Menu Items.","ultimate-post")),keywords:[__("menu","ultimate-post"),__("item","ultimate-post")],supports:{html:!1,reusable:!1},example:{attributes:{previewImg:!1}},edit:i.Z,save:n.Z,attributes:{blockId:{type:"string",default:""},previewImg:{type:"string",default:""},parentMenuInline:{type:"boolean",default:!0},hasChildBlock:{type:"boolean",default:!1},parentBlock:{type:"string",default:""},childBlock:{type:"string",default:""},childMegaWidth:{type:"string",default:""},parentDropIcon:{type:"string",default:"collapse_bottom_line"},iconAfterText:{type:"boolean",default:!1},parentBid:{type:"string",default:""},menuItemText:{type:"string",default:"List Item"},menuItemLink:{type:"string",default:""},menuLinkTarget:{type:"string",default:"_self"},menuIconType:{type:"string",default:"icon"},menuItemIcon:{type:"string",default:"",style:[{depends:[{key:"menuIconType",condition:"==",value:"icon"}]}]},menuItemImg:{type:"object",default:"",style:[{depends:[{key:"menuIconType",condition:"==",value:"img"}]}]},menuItemSvg:{type:"string",default:"",style:[{depends:[{key:"menuIconType",condition:"==",value:"svg"}]}]},menuItemImgScale:{type:"string",default:"cover",style:[{depends:[{key:"menuIconType",condition:"==",value:"img"}],selector:"{{ULTP}} > .ultp-menu-item-wrapper .ultp-menu-item-label-container .ultp-menu-item-icon img {object-fit: {{menuItemImgScale}};}"}]},menuItemImgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"menuIconType",condition:"==",value:"img"}],selector:"{{ULTP}} > .ultp-menu-item-wrapper .ultp-menu-item-label-container .ultp-menu-item-icon img {border-radius: {{menuItemImgRadius}};}"}]},contentHorizontalPositionType:{type:"string",default:"toRight",style:[{depends:[{key:"parentMenuInline",condition:"==",value:!0}]},{depends:[{key:"parentBlock",condition:"==",value:"hasListMenuParent"}]}]},contentHorizontalPosition:{type:"object",default:{lg:"16",ulg:"px"},style:[{depends:[{key:"parentMenuInline",condition:"==",value:!0},{key:"contentHorizontalPositionType",condition:"==",value:"toRight"}],selector:"\n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content > .block-editor-inner-blocks, \n                        .postx-page {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content { left: calc( 0% + {{contentHorizontalPosition}} );} \n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content::before { left: calc( 0% - {{contentHorizontalPosition}} ); width: calc( 100% + {{contentHorizontalPosition}} ); }"},{depends:[{key:"parentMenuInline",condition:"==",value:!0},{key:"contentHorizontalPositionType",condition:"==",value:"toLeft"}],selector:"{{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content > .block-editor-inner-blocks, \n                        .postx-page {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content { left: calc( 100% - {{contentHorizontalPosition}} );} \n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content::before { left: calc( 0% + 0px ); width: calc( 0% + {{contentHorizontalPosition}} ); }"},{depends:[{key:"parentMenuInline",condition:"==",value:!1},{key:"parentBlock",condition:"!=",value:"hasListMenuParent"}],selector:"\n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content > .block-editor-inner-blocks, \n                        .postx-page {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content { left: calc( 100% + {{contentHorizontalPosition}} );} \n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content::before { left: calc( 0% - {{contentHorizontalPosition}} ); width: calc( 100% + {{contentHorizontalPosition}} ); }"},{depends:[{key:"parentBlock",condition:"==",value:"hasListMenuParent"},{key:"contentHorizontalPositionType",condition:"==",value:"toRight"}],selector:"\n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content > .block-editor-inner-blocks,\n                        .postx-page {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content { left: calc( 100% + {{contentHorizontalPosition}} );} \n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content::before { left: calc( 0% - {{contentHorizontalPosition}} ); width: calc( 100% + {{contentHorizontalPosition}} ); }"},{depends:[{key:"parentBlock",condition:"==",value:"hasListMenuParent"},{key:"contentHorizontalPositionType",condition:"==",value:"toLeft"}],selector:"\n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content > .block-editor-inner-blocks, \n                        .postx-page {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content { right: calc( 100% + {{contentHorizontalPosition}} );} \n                        {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content::before { left: calc( 0% + 0px ); width: calc( 100% + {{contentHorizontalPosition}} ); }"}]},contentVerticalPositionType:{type:"string",default:"toBottom",style:[{depends:[{key:"parentMenuInline",condition:"==",value:!1}]}]},contentVerticalPosition:{type:"object",default:{lg:"0",ulg:"px"},style:[{depends:[{key:"parentMenuInline",condition:"==",value:!0}],selector:"\n                            {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content > .block-editor-inner-blocks, \n                            .postx-page {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content { top: calc( 100% + {{contentVerticalPosition}} );} \n                            {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content::before { top: calc( 0% - {{contentVerticalPosition}} ); height: calc( 100% + {{contentVerticalPosition}} ); }"},{depends:[{key:"parentMenuInline",condition:"==",value:!1},{key:"contentVerticalPositionType",condition:"==",value:"toBottom"}],selector:"\n                            {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content > .block-editor-inner-blocks, \n                            .postx-page {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content { top: calc( 0% + {{contentVerticalPosition}} );} \n                            {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content::before { top: calc( 0% - {{contentVerticalPosition}} ); height: calc( 100% + {{contentVerticalPosition}} ); }"},{depends:[{key:"parentMenuInline",condition:"==",value:!1},{key:"contentVerticalPositionType",condition:"==",value:"toTop"}],selector:"\n                            {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content > .block-editor-inner-blocks, \n                            .postx-page {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content { top: calc( 100% - {{contentVerticalPosition}} );} \n                            {{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-content::before { top: 0; height: calc( 0% + {{contentVerticalPosition}} ); }"}]},enableBadge:{type:"boolean",default:!1},badgeText:{type:"string",default:"BADGE"},badgeTypo:{type:"object",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:16,unit:"px"},transform:"uppercase",decoration:"none",family:"",weight:500},style:[{selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"]'}]},badgeColor:{type:"string",default:"#fff",style:[{selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { color:{{badgeColor}} }'}]},badgeBg:{type:"object",default:{openColor:1,type:"color",color:"#037FFF",gradient:{}},style:[{selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"]'}]},badgeBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"]'}]},badgeRadius:{type:"object",default:{lg:{top:"12",bottom:"12",left:"12",right:"12",unit:"px"}},style:[{selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { border-radius:{{badgeRadius}}; }'}]},badgePadding:{type:"object",default:{lg:{top:"4",bottom:"4",left:"12",right:"12",unit:"px"}},style:[{selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { padding:{{badgePadding}}; }'}]},badgePosition:{type:"string",default:"top"},badgeSpacing:{type:"object",default:{lg:"8",ulg:"px"},style:[{depends:[{key:"badgePosition",condition:"==",value:"top"}],selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { bottom: calc( 100% + {{badgeSpacing}} ); }'},{depends:[{key:"badgePosition",condition:"==",value:"right"}],selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { left: calc( 100% + {{badgeSpacing}} ); }'},{depends:[{key:"badgePosition",condition:"==",value:"bottom"}],selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { top: calc( 100% + {{badgeSpacing}} ); }'},{depends:[{key:"badgePosition",condition:"==",value:"left"}],selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { right: calc( 100% + {{badgeSpacing}} ); }'}]},badgePositionValue:{type:"object",default:{lg:"10",ulg:"px"},style:[{depends:[{key:"badgePosition",condition:"==",value:"top"}],selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { left: calc( 0% + {{badgePositionValue}} ); }'},{depends:[{key:"badgePosition",condition:"==",value:"right"}],selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { top: calc( 0% + {{badgePositionValue}} ); }'},{depends:[{key:"badgePosition",condition:"==",value:"bottom"}],selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { left: calc( 0% + {{badgePositionValue}} ); }'},{depends:[{key:"badgePosition",condition:"==",value:"left"}],selector:'.ultp-menu-item-badge[data-currentbid="{{ULTP}}"] { top: calc( 0% + {{badgePositionValue}} ); }'}]},itemTypo:{type:"object",default:{openTypography:0,size:{lg:16,unit:"px"},height:{lg:"",unit:"px"},decoration:"none",family:"",weight:400,transform:"capitalize"},style:[{selector:".ultpMenuCss{{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-label-container .ultp-menu-item-label-text"}]},itemColor:{type:"string",default:"",style:[{selector:".ultpMenuCss{{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-label-container .ultp-menu-item-label-text { color: {{itemColor}}; }"}]},itemBg:{type:"object",default:{openColor:0,type:"color",color:""},style:[{selector:".ultpMenuCss{{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-label-container"}]},itemShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:".ultpMenuCss{{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-label-container"}]},itemColorHvr:{type:"string",default:"",style:[{selector:".ultpMenuCss {{ULTP}}.wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper > .ultp-menu-item-label-container .ultp-menu-item-label-text { color: {{itemColorHvr}}; }"}]},itemBgHvr:{type:"object",default:{openColor:0,type:"color",color:"#FFFFFF"},style:[{selector:".ultpMenuCss {{ULTP}}.wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper > .ultp-menu-item-label-container"}]},itemShadowHvr:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:".ultpMenuCss {{ULTP}}.wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper > .ultp-menu-item-label-container"}]},itemBorderHvr:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:".ultpMenuCss {{ULTP}}.wp-block-ultimate-post-menu-item:hover > .ultp-menu-item-wrapper > .ultp-menu-item-label-container"}]},itemBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:".ultpMenuCss{{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-label-container"}]},itemRadius:{type:"object",default:{top:"",right:"",bottom:"",left:"",unit:"px"},style:[{selector:".ultpMenuCss{{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-label-container { border-radius:{{itemRadius}}; }"}]},itemPadding:{type:"object",default:{lg:{top:"",right:"",bottom:"",left:"",unit:"px"}},style:[{selector:".ultpMenuCss{{ULTP}} > .ultp-menu-item-wrapper > .ultp-menu-item-label-container { padding:{{itemPadding}}; }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-menu-item-wrapper { z-index: {{advanceZindex}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} { display:none; }"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} { display:none; }"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} { display:none; }"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}})},7214:(e,t,l)=>{"use strict";l.d(t,{Z:()=>w});var o=l(7462),a=l(7294),i=l(9838),n=l(3049),r=l(2637),s=l(3245),p=l(3581),c=l(1760);const{__}=wp.i18n,{dateI18n:u}=wp.date,{InspectorControls:d}=wp.blockEditor,{useEffect:m,useState:g,useRef:y,Fragment:b}=wp.element,{Spinner:v,Placeholder:h}=wp.components,{getBlockAttributes:f,getBlockRootClientId:k}=wp.data.select("core/block-editor");function w(e){const t=y(null),[l,w]=g("Content"),[x,T]=g({postsList:[],loading:!0,error:!1,section:"Content"}),{setAttributes:S,name:P,className:C,attributes:E,clientId:_,attributes:{blockId:L,previewImg:I,advanceId:U,tickerHeading:B,tickImageShow:M,navControlToggle:A,controlToggle:H,tickerType:N,headingText:j,tickTimeShow:O,TickNavStyle:Z,tickTxtStyle:R,TickNavIconStyle:D,timeBadgeType:F,timeBadgeDateFormat:z,currentPostId:W}}=e;function G(){x.error&&T({...x,error:!1}),x.loading||T({...x,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,n.Ld)(e.attributes)}).then((e=>{T({...x,postsList:e,loading:!1})})).catch((e=>{T({...x,loading:!1,error:!0})}))}m((()=>{const e=_.substr(0,6),t=f(k(_));(0,n.qi)(S,t,W,_),L?L&&L!=e&&(t?.hasOwnProperty("ref")||(0,n.k0)()||t?.hasOwnProperty("theme")||S({blockId:e})):(S({blockId:e}),ultp_data.archive&&"archive"==ultp_data.archive&&S({queryType:"archiveBuilder"}))}),[_]),m((()=>{const e=t.current;e?(0,n.Qr)(e,E)&&(G(),t.current=E):t.current=E}),[E]),m((()=>{G()}),[]);const V={setAttributes:S,name:P,attributes:E,setSection:w,section:l,clientId:_};let q;return L&&(q=(0,i.Kh)(E,"ultimate-post/news-ticker",L,(0,n.k0)())),I?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:I}):(0,a.createElement)(b,null,(0,a.createElement)(d,null,(0,a.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6845",store:V}),(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(n.T,{initialOpen:!0,store:V,title:__("General","ultimate-post"),include:[{position:1,data:{type:"select",key:"tickerType",label:__("Ticker Type","ultimate-post"),options:[{value:"vertical",label:__("Vertical","ultimate-post")},{value:"horizontal",label:__("Horizontal","ultimate-post")},{pro:!0,value:"marquee",label:__("Marquee","ultimate-post")},{pro:!0,value:"typewriter",label:__("Typewriter","ultimate-post")}]}},{position:2,data:{type:"select",key:"tickerDirectionVer",label:__("Direction","ultimate-post"),options:[{value:"up",label:__("Up","ultimate-post")},{value:"down",label:__("Down","ultimate-post")}]}},{position:3,data:{type:"select",key:"tickerDirectionHorizon",label:__("Direction","ultimate-post"),options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")}]}},{position:4,data:{type:"range",key:"tickerSpeed",min:1e3,max:1e4,step:100,label:__("Speed","ultimate-post")}},{position:5,data:{type:"range",key:"marqueSpeed",min:1,max:10,step:1,label:__("Speed (Fast to Slow)","ultimate-post")}},{position:6,data:{type:"select",key:"tickerAnimation",label:__("Animation","ultimate-post"),options:[{value:"slide",label:__("Slide","ultimate-post")},{value:"fadein",label:__("Fade In","ultimate-post")},{value:"fadeout",label:__("Fade Out","ultimate-post")}]}},{position:7,data:{type:"select",key:"typeAnimation",label:__("Animation","ultimate-post"),options:[{value:"normal",label:__("Normal","ultimate-post")},{value:"fadein",label:__("Fade In","ultimate-post")},{value:"fadeout",label:__("Fade Out","ultimate-post")}]}},{position:8,data:{type:"toggle",key:"tickerPositionEna",pro:!0,label:__("Position sticky","ultimate-post")}},{position:9,data:{type:"select",key:"tickerPosition",label:__("Select Position","ultimate-post"),options:[{value:"up",label:__("Up","ultimate-post")},{value:"down",label:__("Down","ultimate-post")}]}},{position:10,data:{type:"toggle",key:"pauseOnHover",label:__("Pause On Hover","ultimate-post")}},{position:11,data:{type:"toggle",key:"openInTab",label:__("Open In New Tab","ultimate-post")}}]}),(0,a.createElement)(n.lA,{store:V}),(0,a.createElement)(n.T,{depend:"navControlToggle",store:V,title:__("Ticker Navigator","ultimate-post"),include:[{position:1,data:{type:"toggle",key:"controlToggle",label:__("Show Toggle","ultimate-post")}},{position:2,data:{type:"select",key:"TickNavStyle",label:__("Ticker Navigator Layout","ultimate-post"),options:[{value:"nav1",label:__("Style 1","ultimate-post")},{value:"nav2",label:__("Style 2","ultimate-post")},{value:"nav3",label:__("Style 3","ultimate-post")},{value:"nav4",label:__("Style 4","ultimate-post")}]}},{position:3,data:{type:"select",key:"TickNavIconStyle",label:__("Ticker Icon","ultimate-post"),options:[{value:"Angle2",label:__("Icon 1","ultimate-post")},{value:"Angle",label:__("Icon 2","ultimate-post")},{value:"ArrowLg",label:__("Icon 3","ultimate-post")}]}},{position:4,data:{type:"dimension",key:"tickNavSize",step:1,unit:!0,responsive:!0,label:__("Icon Padding","ultimate-post")}},{position:5,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"TickNavColor",label:__("Icon Color","ultimate-post")},{type:"color2",key:"TickNavBg",label:__("Icon Bg Color","ultimate-post")},{type:"border",key:"tickNavBorder",label:__("Border","ultimate-post")},{type:"separator",key:"TickNavPause",label:__("Pause Arrow Icon","ultimate-post")},{type:"color",key:"PauseColor",label:__("Pause Color","ultimate-post")},{type:"color2",key:"PauseBg",label:__("Pause Bg Color","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"TickNavHovColor",label:__("Hover Color","ultimate-post")},{type:"color2",key:"TickNavHovBg",label:__("Hover Background","ultimate-post")},{type:"border",key:"tickNavHoverBorder",label:__("Border","ultimate-post")},{type:"separator",key:"TickNavPause",label:__("Pause Arrow Icon","ultimate-post")},{type:"color",key:"PauseHovColor",label:__("Pause Hover Color","ultimate-post")},{type:"color2",key:"PauseHovBg",label:__("Pause Hover Bg Color","ultimate-post")}]}]}}]}),(0,a.createElement)(n.T,{depend:"tickerHeading",store:V,title:__("Ticker Label","ultimate-post"),include:[{position:1,data:{type:"select",key:"tickShapeStyle",label:__("Ticker Shape","ultimate-post"),options:[{value:"normal",label:__("Normal","ultimate-post")},{pro:!0,value:"small",label:__("Small Shape","ultimate-post")},{pro:!0,value:"medium",label:__("Medium Shape","ultimate-post")},{pro:!0,value:"large",label:__("Large Shape","ultimate-post")}]}},{position:2,data:{type:"text",key:"headingText",label:__("Heading","ultimate-post")}},{position:3,data:{type:"color",key:"tickLabelColor",label:__("Color","ultimate-post")}},{position:4,data:{type:"color",key:"tickLabelBg",label:__("Label Background Color","ultimate-post")}},{position:5,data:{type:"typography",key:"tickLabelTypo",label:__("Typography","ultimate-post")}},{position:6,data:{type:"range",key:"tickLabelPadding",min:10,max:100,step:1,label:__("Padding","ultimate-post")}},{position:7,data:{type:"range",key:"tickLabelSpace",min:10,max:300,step:1,responsive:!0,label:__("Left Content Space","ultimate-post")}}]}),(0,a.createElement)(n.T,{store:V,title:__("Ticker Body","ultimate-post"),include:[{position:1,data:{type:"range",key:"tickerContentHeight",min:10,max:100,step:1,label:__("Content Height","ultimate-post")}},{position:2,data:{type:"color",key:"tickBodyColor",label:__("List Text Color","ultimate-post")}},{position:3,data:{type:"color",key:"tickBodyHovColor",label:__("List Text Hover Color","ultimate-post")}},{position:4,data:{type:"color",key:"tickerBodyBg",label:__("Background Color","ultimate-post")}},{position:5,data:{type:"typography",key:"tickBodyTypo",label:__("Body Text Typography","ultimate-post")}},{position:6,data:{type:"color",key:"tickBodyBorderColor",label:__(" Border Prefix Color","ultimate-post")}},{position:7,data:{type:"border",key:"tickBodyBorder",label:__("Border","ultimate-post")}},{position:8,data:{type:"dimension",key:"tickBodyRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}},{position:9,data:{type:"range",key:"tickBodySpace",step:1,min:10,max:100,responsive:!0,step:1,label:__("List Space Between","ultimate-post")}},{position:10,data:{type:"select",key:"tickTxtStyle",label:__("Ticker List Style","ultimate-post"),options:[{value:"normal",label:__("- None -","ultimate-post")},{value:"circle",label:__("Circle","ultimate-post")},{value:"box",label:__("Box","ultimate-post")},{value:"hand",label:__("Hand","ultimate-post")},{value:"right-sign",label:__("Right Sign Icon","ultimate-post")},{value:"right-bold",label:__("Right Bold Sign Icon","ultimate-post")}]}},{position:11,data:{type:"color",key:"tickBodyListColor",label:__("List Style Color","ultimate-post")}}]}),"typewriter"!=N&&(0,a.createElement)(n.T,{depend:"tickTimeShow",store:V,title:__("Time Badge","ultimate-post"),include:[{position:1,data:{type:"tag",key:"timeBadgeType",label:__("Badge Type","ultimate-post"),options:[{value:"days_ago",label:"Days Ago"},{value:"date",label:"Date"}]}},{position:5,data:{type:"select",key:"timeBadgeDateFormat",label:__("Date/Time Format","ultimate-post"),options:[{value:"M j, Y",label:"Feb 7, 2024"},{value:"default_date",label:"WordPress Default Date Format",pro:!0},{value:"default_date_time",label:"WordPress Default Date & Time Format",pro:!0},{value:"g:i A",label:"1:12 PM",pro:!0},{value:"F j, Y",label:"February 7, 2024",pro:!0},{value:"F j, Y g:i A",label:"February 7, 2024 1:12 PM",pro:!0},{value:"M j, Y g:i A",label:"Feb 7, 2022 1:12 PM",pro:!0},{value:"j M Y",label:"7 Feb 2024",pro:!0},{value:"j M Y g:i A",label:"7 Feb 2022 1:12 PM",pro:!0},{value:"j F Y",label:"7 February 2022",pro:!0},{value:"j F Y g:i A",label:"7 February 2022 1:12 PM",pro:!0},{value:"j. M Y",label:"7. Feb 2022",pro:!0},{value:"j. M Y | H:i",label:"7. Feb 2022 | 1:12",pro:!0},{value:"j. F Y",label:"7. February 2022",pro:!0},{value:"j.m.Y",label:"7.02.2022",pro:!0},{value:"j.m.Y g:i A",label:"7.02.2022 1:12 PM",pro:!0}]}},{position:10,data:{type:"separator",key:"tickTimeBadge",label:__("Time Style","ultimate-post")}},{position:20,data:{type:"color",key:"timeBadgeColor",label:__("Time Badge Color","ultimate-post")}},{position:30,data:{type:"color2",key:"timeBadgeBg",label:__("Time Bg Color","ultimate-post")}},{position:40,data:{type:"typography",key:"timeBadgeTypo",label:__("Time Badge  Typography","ultimate-post")}},{position:50,data:{type:"dimension",key:"timeBadgeRadius",step:1,unit:!0,responsive:!0,label:__("Time Badge Radius","ultimate-post")}},{position:60,data:{type:"dimension",key:"timeBadgePadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}]}),(0,a.createElement)(n.T,{depend:"tickImageShow",store:V,title:__("Image","ultimate-post"),include:[{position:1,data:{type:"range",key:"tickImgWidth",min:10,max:100,step:1,label:__("image width","ultimate-post")}},{position:2,data:{type:"range",key:"tickImgSpace",min:10,max:100,step:1,label:__("image Space","ultimate-post")}},{position:3,data:{type:"dimension",key:"tickImgRadius",step:1,unit:!0,responsive:!0,label:__("Image Radius","ultimate-post")}}]})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(n.yB,{initialOpen:!0,store:V}),(0,a.createElement)(n.Mg,{pro:!0,store:V}),(0,a.createElement)(n.iv,{store:V}))),(0,n.dH)()),(0,a.createElement)(c.Z,{include:[{type:"query"},{type:"template"}],store:V}),(0,a.createElement)("div",(0,o.Z)({},U&&{id:U},{className:`ultp-block-${L} ${C}`}),q&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:q}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},function(){const e=(0,a.createElement)("button",{"aria-label":"Pause Current Post",className:"ultp-news-ticker-pause"}),t=s.ZP[`left${D}`],l=s.ZP[`right${D}`];return x.error?(0,a.createElement)(h,{label:__("Posts are not available","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):x.loading?(0,a.createElement)(h,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")}," ",(0,a.createElement)(v,null)):x.postsList.length>0?(0,a.createElement)("div",{className:"ultp-block-items-wrap"},(0,a.createElement)("div",{className:`ultp-news-ticker-${Z} ultp-nav-${D} ultp-newsTicker-wrap ultp-newstick-${N}`},B&&j&&(0,a.createElement)("div",{className:"ultp-news-ticker-label"},j," ",(0,a.createElement)("span",null)," "),(0,a.createElement)("div",{className:"ultp-news-ticker-box"},(0,a.createElement)("ul",{className:"ultp-news-ticker"},x.postsList.map(((e,t)=>(0,a.createElement)("li",{key:t},(0,a.createElement)("div",{className:`ultp-list-${R}`},(0,a.createElement)("a",null,(M&&e.image?e.image.thumbnail:void 0)&&(0,a.createElement)("img",{src:e.image.thumbnail,alt:e.title}),e.title.replaceAll("&#038;","").replaceAll("&#8217;","'").replaceAll("&#8221;",'"')),O&&"typewriter"!=N&&(0,a.createElement)("span",{className:"ultp-ticker-timebadge"},"date"==F?u((0,n.De)(z),e.time):e.post_time+" ago"))))))),A&&(0,a.createElement)("div",{className:"ultp-news-ticker-controls  ultp-news-ticker-vertical-controls"},(0,a.createElement)("button",{"aria-label":"Show Previous Post",className:"ultp-news-ticker-arrow ultp-news-ticker-prev"},t),("nav1"==Z||"nav3"==Z||"nav4"==Z)&&H&&e,(0,a.createElement)("button",{"aria-label":"Show Next Post",className:"ultp-news-ticker-arrow ultp-news-ticker-next"},l)))):(0,a.createElement)(h,{className:"ultp-backend-block-loading",label:__("No Posts found","ultimate-post")},(0,a.createElement)(v,null))}())))}},8627:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},tickerType:{type:"string",default:"vertical"},tickerPositionEna:{type:"boolean",default:!1},tickerPosition:{type:"string",default:"up",style:[{depends:[{key:"tickerPositionEna",condition:"==",value:!0},{key:"tickerPosition",condition:"==",value:"up"}],selector:"{{ULTP}} .ultp-news-sticky .ultp-newsTicker-wrap { position: fixed;width: 100%;top: 0;z-index: 101; left: 0; } \n          .admin-bar .ultp-news-sticky .ultp-newsTicker-wrap { top: 32px !important; }"},{depends:[{key:"tickerPositionEna",condition:"==",value:!0},{key:"tickerPosition",condition:"==",value:"down"}],selector:"{{ULTP}} .ultp-news-sticky .ultp-newsTicker-wrap { position: fixed;width: 100%;bottom: 0; z-index: 9999999;left: 0; }"}]},tickerHeading:{type:"boolean",default:!0},tickTimeShow:{type:"boolean",default:!0,style:[{depends:[{key:"tickerType",condition:"!=",value:"typewriter"}]}]},tickImageShow:{type:"boolean",default:!1},navControlToggle:{type:"boolean",default:!0},controlToggle:{type:"boolean",default:!0,style:[{depends:[{key:"navControlToggle",condition:"==",value:!0},{key:"TickNavStyle",condition:"!=",value:"nav2"}]}]},pauseOnHover:{type:"boolean",default:!0},tickerDirectionVer:{type:"string",default:"up",style:[{depends:[{key:"tickerType",condition:"==",value:"vertical"},{key:"tickerAnimation",condition:"==",value:"slide"}]}]},tickerDirectionHorizon:{type:"string",default:"left",style:[{depends:[{key:"tickerType",condition:"==",value:"horizontal"},{key:"tickerAnimation",condition:"==",value:"slide"}]},{depends:[{key:"tickerType",condition:"==",value:"marquee"}]}]},tickerSpeed:{type:"string",default:"4000",style:[{depends:[{key:"tickerType",condition:"!=",value:"marquee"}]}]},marqueSpeed:{type:"string",default:"10",style:[{depends:[{key:"tickerType",condition:"==",value:"marquee"}]}]},tickerSpeedTypewriter:{type:"string",default:"50",style:[{depends:[{key:"tickerType",condition:"==",value:"typewriter"}]}]},tickerAnimation:{type:"string",default:"slide",style:[{depends:[{key:"tickerType",condition:"!=",value:"marquee"},{key:"tickerType",condition:"!=",value:"typewriter"}]}]},typeAnimation:{type:"string",default:"fadein",style:[{depends:[{key:"tickerType",condition:"==",value:"typewriter"}]}]},openInTab:{type:"boolean",default:!1},headingText:{type:"string",default:"News Ticker"},TickNavStyle:{type:"string",default:"nav1",style:[{depends:[{key:"navControlToggle",condition:"==",value:!0}]}]},TickNavIconStyle:{type:"string",default:"Angle2",style:[{depends:[{key:"navControlToggle",condition:"==",value:!0}]}]},tickNavSize:{type:"object",default:{lg:{top:6,bottom:6,left:6,right:6,unit:"px"}},style:[{depends:[{key:"TickNavStyle",condition:"==",value:"nav2"}],selector:"{{ULTP}} .ultp-news-ticker-controls .ultp-news-ticker-arrow { padding:{{tickNavSize}} !important; height: auto !important; width: auto !important; }"}]},TickNavColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow:after { border-color:{{TickNavColor}}}\n          {{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow svg { fill:{{TickNavColor}}}"},{depends:[{key:"TickNavIconStyle",condition:"==",value:"icon2"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow:after ,\n          {{ULTP}} button.ultp-news-ticker-arrow:before { border-right-color:{{TickNavColor}}; border-left-color: {{TickNavColor}}; } "}]},TickNavBg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Primary_color)"},style:[{depends:[{key:"TickNavStyle",condition:"==",value:"nav1"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow"},{depends:[{key:"TickNavStyle",condition:"==",value:"nav2"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow"},{depends:[{key:"TickNavStyle",condition:"!=",value:"nav1"},{key:"TickNavStyle",condition:"!=",value:"nav2"}],selector:"{{ULTP}} .ultp-news-ticker-controls"}]},tickNavBorder:{type:"object",default:{openBorder:0,disableColor:!0,width:{top:0,right:0,bottom:0,left:0},type:"solid"},style:[{depends:[{key:"TickNavStyle",condition:"==",value:"nav2"}],selector:"{{ULTP}} .ultp-news-ticker-controls .ultp-news-ticker-arrow"}]},TickNavHovColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow:hover:after { border-color:{{TickNavHovColor}}}\n          {{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow svg:hover { fill:{{TickNavHovColor}}}"},{depends:[{key:"TickNavIconStyle",condition:"==",value:"icon2"}],selector:"{{ULTP}} button.ultp-news-ticker-arrow:hover:after ,\n          {{ULTP}} button.ultp-news-ticker-arrow:hover:before{ border-right-color:{{TickNavHovColor}}; border-left-color:{{TickNavHovColor}}; } "}]},TickNavHovBg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Secondary_color)"},style:[{depends:[{key:"TickNavStyle",condition:"==",value:"nav1"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow:hover"},{depends:[{key:"TickNavStyle",condition:"==",value:"nav2"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow:hover"},{depends:[{key:"TickNavStyle",condition:"==",value:"nav3"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-arrow:hover"},{depends:[{key:"TickNavStyle",condition:"!=",value:"nav1"},{key:"TickNavStyle",condition:"!=",value:"nav2"},{key:"TickNavStyle",condition:"!=",value:"nav3"}],selector:"{{ULTP}} .ultp-news-ticker-controls:hover"}]},tickNavHoverBorder:{type:"object",default:{openBorder:0,disableColor:!0,width:{top:0,right:0,bottom:0,left:0},type:"solid"},style:[{depends:[{key:"TickNavStyle",condition:"==",value:"nav2"}],selector:"{{ULTP}} .ultp-news-ticker-controls .ultp-news-ticker-arrow:hover"}]},TickNavPause:{type:"string",default:"Pause Icon Style",style:[{depends:[{key:"TickNavStyle",condition:"!=",value:"nav2"},{key:"controlToggle",condition:"==",value:!0}]}]},PauseColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"TickNavStyle",condition:"!=",value:"nav2"},{key:"controlToggle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-pause:before,\n          {{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-pause:before,\n          {{ULTP}} .ultp-news-ticker-nav4 button.ultp-news-ticker-pause:before { border-color:{{PauseColor}};}"}]},PauseHovColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"TickNavIconStyle",condition:"!=",value:"icon2"},{key:"controlToggle",condition:"==",value:!0},{key:"TickNavStyle",condition:"==",value:"nav1"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-pause:hover:before { border-color:{{PauseHovColor}};}"},{depends:[{key:"TickNavIconStyle",condition:"!=",value:"icon2"},{key:"controlToggle",condition:"==",value:!0},{key:"TickNavStyle",condition:"==",value:"nav3"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-pause:hover:before { border-color:{{PauseHovColor}};}"},{depends:[{key:"TickNavIconStyle",condition:"!=",value:"icon2"},{key:"controlToggle",condition:"==",value:!0},{key:"TickNavStyle",condition:"==",value:"nav4"}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-pause:hover:before { border-color:{{PauseHovColor}};}"}]},PauseBg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_3_color)"},style:[{depends:[{key:"TickNavStyle",condition:"==",value:"nav1"},{key:"controlToggle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-pause"},{depends:[{key:"TickNavStyle",condition:"==",value:"nav3"},{key:"controlToggle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-news-ticker-controls button.ultp-news-ticker-pause"}]},PauseHovBg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_2_color)"},style:[{depends:[{key:"TickNavStyle",condition:"==",value:"nav1"},{key:"controlToggle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-news-ticker-controls .ultp-news-ticker-pause:hover"},{depends:[{key:"TickNavStyle",condition:"==",value:"nav3"},{key:"controlToggle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-news-ticker-controls .ultp-news-ticker-pause:hover"}]},tickLabelColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-news-ticker-label { color:{{tickLabelColor}}; } "}]},tickLabelBg:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-news-ticker-label{background-color:{{tickLabelBg}};}"},{depends:[{key:"tickShapeStyle",condition:"!=",value:"normal"}],selector:"{{ULTP}} .ultp-news-ticker-label::after{ border-color:transparent transparent transparent {{tickLabelBg}} !important; }"}]},tickLabelTypo:{type:"object",default:{openTypography:1,size:{lg:"16",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"27",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{selector:"{{ULTP}} .ultp-news-ticker-label"}]},tickLabelPadding:{type:"string",default:"15",style:[{selector:"{{ULTP}} .ultp-news-ticker-label { padding:0px {{tickLabelPadding}}px; }"}]},tickLabelSpace:{type:"object",default:{lg:"160"},style:[{selector:"{{ULTP}} .ultp-news-ticker-box { padding-left:{{tickLabelSpace}}px; } \n          .rtl {{ULTP}} .ultp-news-ticker-box { padding-right:{{tickLabelSpace}}px !important; }"}]},tickShapeStyle:{type:"string",default:"normal",style:[{depends:[{key:"tickShapeStyle",condition:"==",value:"large"}],selector:"{{ULTP}} .ultp-news-ticker-label::after {border-top: 23px solid; border-left: 24px solid; border-bottom: 23px solid; right: -24px;border-color:transparent; }"},{depends:[{key:"tickShapeStyle",condition:"==",value:"medium"}],selector:"{{ULTP}} .ultp-news-ticker-label::after { border-top: 17px solid; border-left: 20px solid;border-bottom: 17px solid;border-color:transparent;right:-20px;}"},{depends:[{key:"tickShapeStyle",condition:"==",value:"small"}],selector:"{{ULTP}} .ultp-news-ticker-label::after { border-top: 12px solid;border-left: 15px solid; border-bottom: 12px solid;border-color: transparent;right: -14px; }"},{depends:[{key:"tickShapeStyle",condition:"==",value:"normal"}],selector:"{{ULTP}} .ultp-news-ticker-label::after {display:none !important;}"}]},tickerContentHeight:{type:"string",default:"45",style:[{selector:"{{ULTP}} .ultp-news-ticker li,\n          .editor-styles-wrapper {{ULTP}} .ultp-newsTicker-wrap ul li,\n          {{ULTP}} .ultp-news-ticker-label,\n          {{ULTP}} .ultp-newsTicker-wrap,\n          {{ULTP}} .ultp-news-ticker-controls,\n          {{ULTP}} .ultp-news-ticker-controls button { height:{{tickerContentHeight}}px; }"}]},tickBodyColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-news-ticker li a,\n          {{ULTP}} .ultp-news-ticker li div a,\n          {{ULTP}} .ultp-news-ticker li div a span { color:{{tickBodyColor}}; }"}]},tickBodyHovColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-news-ticker li a:hover,\n          {{ULTP}} .ultp-news-ticker li div:hover,\n          {{ULTP}} .ultp-news-ticker li div a:hover span { color:{{tickBodyHovColor}}; }"}]},tickBodyListColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"tickTxtStyle",condition:"==",value:"box"}],selector:"{{ULTP}} .ultp-list-box::before { background-color:{{tickBodyListColor}};}"},{depends:[{key:"tickTxtStyle",condition:"==",value:"circle"}],selector:"{{ULTP}} .ultp-list-circle::before { background-color:{{tickBodyListColor}};}"},{depends:[{key:"tickTxtStyle",condition:"==",value:"hand"}],selector:"{{ULTP}} .ultp-list-hand::before { color:{{tickBodyListColor}};}"},{depends:[{key:"tickTxtStyle",condition:"==",value:"right-sign"}],selector:"{{ULTP}} .ultp-list-right-sign::before { color:{{tickBodyListColor}};}"},{depends:[{key:"tickTxtStyle",condition:"==",value:"right-bold"}],selector:"{{ULTP}} .ultp-list-right-bold::before { color:{{tickBodyListColor}};}"}]},tickerBodyBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{selector:"{{ULTP}} .ultp-news-ticker-box,\n          {{ULTP}} .ultp-news-ticker-controls { background-color:{{tickerBodyBg}} }"}]},tickBodyTypo:{type:"object",default:{openTypography:1,size:{lg:"16",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"16",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{selector:"{{ULTP}} .ultp-news-ticker li a"}]},tickBodyBorderColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-newsTicker-wrap { background-color:{{tickBodyBorderColor}};border-color:{{tickBodyBorderColor}} }"}]},tickBodyBorder:{type:"object",default:{openBorder:0,disableColor:!0,width:{top:0,right:0,bottom:0,left:0},type:"solid"},style:[{selector:"{{ULTP}} .ultp-newsTicker-wrap"}]},tickBodyRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-newsTicker-wrap,\n          {{ULTP}} .ultp-news-ticker-label,\n          {{ULTP}} .ultp-news-ticker-box { border-radius:{{tickBodyRadius}}; }\n          {{ULTP}} .ultp-news-ticker-prev { border-top-right-radius:0px !important; border-bottom-right-radius:0px !important; border-radius: {{tickBodyRadius}}; }"}]},tickTxtStyle:{type:"string",default:"normal",style:[{selector:"{{ULTP}} .ultp-news-ticker li { list-style-type:none; }"}]},tickImgWidth:{type:"string",default:"30",style:[{depends:[{key:"tickImageShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-news-ticker li div img {width:{{tickImgWidth}}px}"}]},tickImgSpace:{type:"string",default:"10",style:[{depends:[{key:"tickImageShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-news-ticker li div img { margin-right: {{tickImgSpace}}px; } \n          .rtl {{ULTP}} .ultp-news-ticker li div img { margin-left: {{tickImgSpace}}px !important; }"}]},tickImgRadius:{type:"object",default:{lg:{top:"30",bottom:"30",left:"30",right:"30",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-news-ticker li div img { border-radius:{{tickImgRadius}}; }"}]},tickBodySpace:{type:"object",default:{lg:"21"},style:[{depends:[{key:"tickerType",condition:"==",value:"marquee"}],selector:"{{ULTP}} .ultp-news-ticker { gap:{{tickBodySpace}}px; }"}]},timeBadgeType:{type:"string",default:"days_ago"},timeBadgeDateFormat:{type:"string",default:"M j, Y",style:[{depends:[{key:"timeBadgeType",condition:"==",value:"date"}]}]},tickTimeBadge:{type:"string",default:"Time Badge",style:[{depends:[{key:"tickTimeShow",condition:"==",value:!0},{key:"tickerType",condition:"!=",value:"typewriter"}]}]},timeBadgeColor:{type:"string",default:"var(--postx_preset_Base_1_color)",style:[{depends:[{key:"tickTimeShow",condition:"==",value:!0},{key:"tickerType",condition:"!=",value:"typewriter"}],selector:"{{ULTP}} .ultp-ticker-timebadge { color:{{timeBadgeColor}}; }"}]},timeBadgeBg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Contrast_1_color)"},style:[{depends:[{key:"tickTimeShow",condition:"==",value:!0},{key:"tickerType",condition:"!=",value:"typewriter"}],selector:"{{ULTP}} .ultp-ticker-timebadge"}]},timeBadgeTypo:{type:"object",default:{openTypography:1,size:{lg:"12",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"16",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"tickTimeShow",condition:"==",value:!0},{key:"tickerType",condition:"!=",value:"typewriter"}],selector:"{{ULTP}} .ultp-news-ticker li .ultp-ticker-timebadge"}]},timeBadgeRadius:{type:"object",default:{lg:{top:"100",bottom:"100",left:"100",right:"100",unit:"px"}},style:[{depends:[{key:"tickTimeShow",condition:"==",value:!0},{key:"tickerType",condition:"!=",value:"typewriter"}],selector:"{{ULTP}} .ultp-ticker-timebadge { border-radius:{{timeBadgeRadius}}; }"}]},timeBadgePadding:{type:"object",default:{lg:{top:3,bottom:3,left:6,right:6,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-ticker-timebadge { padding: {{timeBadgePadding}} }"}]},...(0,l(2165).t)(["advanceAttr","query"],["loadingColor","queryInclude"],[{key:"queryNumPosts",default:{lg:4}}])}},4764:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(7214),n=l(8627);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks,s=(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/news-ticker-block/","block_docs");r("ultimate-post/news-ticker",{title:__("News Ticker","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/news-ticker.svg"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("News Ticker in the classic style.","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:s},__("Documentation","ultimate-post"))),keywords:[__("News Ticker","ultimate-post"),__("Post News","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/newsticker.svg"}},edit:i.Z,save:()=>null})},3452:(e,t,l)=>{"use strict";l.d(t,{Z:()=>M});var o=l(7462),a=l(7294),i=l(3049),n=l(3151),r=l(3890),s=l(9491),p=l(3105),c=l(9236),u=l(3508),d=l(6896),m=l(1411),g=l(3985),y=l(8152),b=l(6005),v=l(9838),h=l(9735),f=l(2963),k=l(9349),w=l(7025),x=l(1760),T=l(8196);const{__}=wp.i18n,{InspectorControls:S}=wp.blockEditor,{useState:P,useRef:C,useEffect:E,Fragment:_}=wp.element,{Spinner:L,Placeholder:I}=wp.components,{getBlockAttributes:U,getBlockRootClientId:B}=wp.data.select("core/block-editor");function M(e){const t=C(null),{setAttributes:l,name:M,isSelected:A,clientId:H,context:N,attributes:j,className:O,attributes:{blockId:Z,advanceId:R,paginationShow:D,paginationAjax:F,headingShow:z,filterShow:W,paginationType:G,navPosition:V,paginationNav:q,loadMoreText:$,paginationText:K,V4_1_0_CompCheck:{runComp:J},previewImg:Y,readMoreIcon:X,imgCrop:Q,imgCropSmall:ee,gridStyle:te,excerptLimit:le,columns:oe,metaStyle:ae,metaShow:ie,catShow:ne,showImage:re,metaSeparator:se,titleShow:pe,catStyle:ce,catPosition:ue,titlePosition:de,excerptShow:me,showFullExcerpt:ge,imgAnimation:ye,imgOverlayType:be,imgOverlay:ve,metaList:he,readMore:fe,readMoreText:ke,metaPosition:we,layout:xe,customCatColor:Te,onlyCatColor:Se,contentTag:Pe,titleTag:Ce,showSeoMeta:Ee,titleLength:_e,metaMinText:Le,metaAuthorPrefix:Ie,titleStyle:Ue,metaDateFormat:Be,authorLink:Me,fallbackEnable:Ae,vidIconEnable:He,notFoundMessage:Ne,dcEnabled:je,dcFields:Oe,currentPostId:Ze}}=e,[Re,De]=P(w.Ti);function Fe(e){De({...Re,selectedDC:e})}function ze(){De({...Re,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function We(e){De({...Re,section:{...w.ZQ,[e]:!0}}),(0,w.Rt)(e),(0,w.ob)(e)}function Ge(e){De((t=>({...t,toolbarSettings:e}))),(0,w.os)(e)}E((()=>{(0,w.oA)(),(0,w.t2)(j,Re,De)}),[]),E((()=>{const t=H.substr(0,6),o=U(B(H));(0,i.qi)(l,o,Ze,H),(0,n.h)(e),Z?Z&&Z!=t&&(o?.hasOwnProperty("ref")||(0,i.k0)()||o?.hasOwnProperty("theme")||l({blockId:t})):(l({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&l({queryType:"archiveBuilder"}))}),[H]),E((()=>{const e=t.current;(0,h.o6)()&&0===j.dcFields.length&&l({dcFields:Array(T.PR).fill(void 0)}),e?((0,i.Qr)(e,j)&&((0,w.t2)(j,Re,De),t.current=j),e.isSelected!==A&&A&&(0,w.gT)(We,Ge)):t.current=j}),[j]);const Ve={setAttributes:l,name:M,attributes:j,setSection:We,section:Re.section,clientId:H,context:N,setSelectedDc:Fe,selectedDC:Re.selectedDC,selectParentMetaGroup:function(e){Fe(e),Ge("dc_group")}};let qe;return Z&&(qe=(0,v.Kh)(j,"ultimate-post/post-grid-1",Z,(0,i.k0)())),Y?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Y}):(0,a.createElement)(_,null,(0,a.createElement)(T.FP,{store:Ve,selected:Re.toolbarSettings}),(0,a.createElement)(S,null,(0,a.createElement)(T.ZP,{store:Ve})),(0,a.createElement)(x.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",include:[{position:1,data:{type:"range",key:"rowSpace",min:0,max:80,step:1,responsive:!0,label:__("Row Gap","ultimate-post")}}]},{type:"layout+adv_style",layoutData:{type:"layout",key:"layout",label:__("Layout","ultimate-post"),pro:!0,block:"post-grid-1",options:[{img:"assets/img/layouts/pg1/l1.png",label:"Layout 1",value:"layout1",pro:!1},{img:"assets/img/layouts/pg1/l2.png",label:"Layout 2",value:"layout2",pro:!0},{img:"assets/img/layouts/pg1/l3.png",label:"Layout 3",value:"layout3",pro:!0},{img:"assets/img/layouts/pg1/l4.png",label:"Layout 4",value:"layout4",pro:!0},{img:"assets/img/layouts/pg1/l5.png",label:"Layout 5",value:"layout5",pro:!0}]},advStyleData:{type:"layout",key:"gridStyle",label:__("Advanced Style","ultimate-post"),pro:!0,tab:!0,block:"post-grid-1",options:[{img:"assets/img/layouts/pg1/s1.png",label:__("Style 1","ultimate-post"),value:"style1",pro:!1},{img:"assets/img/layouts/pg1/s2.png",label:__("Style 2","ultimate-post"),value:"style2",pro:!0},{img:"assets/img/layouts/pg1/s3.png",label:__("Style 3","ultimate-post"),value:"style3",pro:!0},{img:"assets/img/layouts/pg1/s4.png",label:__("Style 4","ultimate-post"),value:"style4",pro:!0}]}},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),[J?"exclude":"dep"]:i.N2}],store:Ve}),(0,a.createElement)("div",(0,o.Z)({},R&&{id:R},{className:`ultp-block-${Z} ${O}`,onClick:e=>{e.stopPropagation(),We("general"),Ge("")}}),qe&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:qe}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(z||W||D)&&(0,a.createElement)(p.Z,{attributes:j,setAttributes:l,onClick:()=>{We("heading"),Ge("heading")},setSection:We,setToolbarSettings:Ge}),function(){const e=`${Pe}`,t="style1"==te||"style2"==te?`ultp-block-column-${oe.lg} ultp-sm-column-${oe.sm} ultp-xs-column-${oe.xs} ultp-grid1-responsive`:"",o=(e,t)=>(0,h.o6)()&&je&&(0,a.createElement)(k.Z,{idx:e,postId:t,fields:Oe,settingsOnClick:(e,t)=>{e?.stopPropagation(),Ge(t)},selectedDC:Re.selectedDC,setSelectedDc:Fe,setAttributes:l,dcFields:Oe});return Re.error?(0,a.createElement)(I,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):Re.loading?(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(L,null)):Re.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-row ultp-pg1a-${te} ${t} ultp-${xe}`},Re.postsList.map(((t,i)=>{const n=JSON.parse(he.replaceAll("u0022",'"')),p={backgroundImage:t.image&&re?"url("+t.image[Q]+")":"#333"},u="style1"==te||"style2"==te&&0==i||"style3"==te&&i%3==0||"style4"==te&&(0==i||1==i)?Q:ee;return(0,a.createElement)(e,{key:i,className:`ultp-block-item post-id-${t.ID}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap"},o(8,t.ID),(t.image&&!t.is_fallback||Ae)&&re&&"layout2"!=xe&&(0,a.createElement)(c.ZP,{catPosition:ue,imgOverlay:ve,imgOverlayType:be,imgAnimation:ye,post:t,imgSize:u,fallbackEnable:Ae,vidIconEnable:He,idx:i,Category:"aboveTitle"!=ue?(0,a.createElement)(r.Z,{post:t,catShow:ne,catStyle:ce,catPosition:ue,customCatColor:Te,onlyCatColor:Se,onClick:()=>{We("taxonomy-/-category"),Ge("cat")}}):null,onClick:()=>{We("image"),Ge("image")},vidOnClick:()=>{We("video"),Ge("video")}}),"layout2"===xe&&(0,a.createElement)("div",{className:"ultp-block-content-image",style:p}),(0,a.createElement)("div",{className:"ultp-block-content"},o(7,t.ID),"aboveTitle"==ue&&(0,a.createElement)(r.Z,{post:t,catShow:ne,catStyle:ce,catPosition:ue,customCatColor:Te,onlyCatColor:Se,onClick:e=>{We("taxonomy-/-category"),Ge("cat")}}),o(6,t.ID),t.title&&pe&&1==de&&(0,a.createElement)(b.Z,{title:t.title,headingTag:Ce,titleLength:_e,titleStyle:Ue,onClick:e=>{We("title"),Ge("title")}}),o(5,t.ID),ie&&"top"==we&&(0,a.createElement)(d.Z,{meta:n,post:t,metaSeparator:se,metaStyle:ae,metaMinText:Le,metaAuthorPrefix:Ie,metaDateFormat:Be,authorLink:Me,onClick:e=>{We("meta"),Ge("meta")}}),o(4,t.ID),t.title&&pe&&0==de&&(0,a.createElement)(b.Z,{title:t.title,headingTag:Ce,titleLength:_e,titleStyle:Ue,onClick:e=>{We("title"),Ge("title")}}),o(3,t.ID),me&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(s.Z,{excerpt:t.excerpt,excerpt_full:t.excerpt_full,seo_meta:t.seo_meta,excerptLimit:le,showFullExcerpt:ge,showSeoMeta:Ee,onClick:e=>{We("excerpt"),Ge("excerpt")}})),o(2,t.ID),fe&&(0,a.createElement)(_,null,(0,a.createElement)(y.Z,{readMoreText:ke,readMoreIcon:X,titleLabel:t.title,onClick:()=>{We("read-more"),Ge("read-more")}})),o(1,t.ID),ie&&"bottom"==we&&(0,a.createElement)(_,null,(0,a.createElement)(d.Z,{meta:n,post:t,metaSeparator:se,metaStyle:ae,metaMinText:Le,metaAuthorPrefix:Ie,metaDateFormat:Be,authorLink:Me,onClick:e=>{We("meta"),Ge("meta")}})),o(0,t.ID),(0,h.o6)()&&je&&(0,a.createElement)(f.Z,{dcFields:Oe,setAttributes:l,startOnboarding:ze}))))}))):(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:Ne})}(),D&&"loadMore"==G&&(0,a.createElement)(u.Z,{loadMoreText:$,onClick:e=>{We("pagination"),Ge("pagination")}}),D&&"navigation"==G&&"topRight"!=V&&(0,a.createElement)(m.Z,{onClick:()=>{We("pagination"),Ge("pagination")}}),D&&"pagination"==G&&(0,a.createElement)(g.Z,{paginationNav:q,paginationAjax:F,paginationText:K,onClick:e=>{We("pagination"),Ge("pagination")}}))))}},8196:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=9,y=e=>{const{store:t}=e,{layout:l,queryType:n,advFilterEnable:r,advPaginationEnable:u,V4_1_0_CompCheck:{runComp:g}}=t.attributes,{context:y,section:b}=t;return m((()=>{(0,d.CH)(y,r,t,u)}),[r,u,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6829",store:t}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{initialOpen:b.general,store:t,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"layout",isInline:!1,block:"post-grid-1",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pg1/l1.png",label:"Layout 1",value:"layout1",pro:!1},{img:"assets/img/layouts/pg1/l2.png",label:"Layout 2",value:"layout2",pro:!0},{img:"assets/img/layouts/pg1/l3.png",label:"Layout 3",value:"layout3",pro:!0},{img:"assets/img/layouts/pg1/l4.png",label:"Layout 4",value:"layout4",pro:!0},{img:"assets/img/layouts/pg1/l5.png",label:"Layout 5",value:"layout5",pro:!0}]}},{position:4,data:{type:"layout",isInline:!1,key:"gridStyle",pro:!0,tab:!0,label:__("Select Advanced Style","ultimate-post"),block:"post-grid-1",options:[{img:"assets/img/layouts/pg1/s1.png",label:__("Style 1","ultimate-post"),value:"style1",pro:!1},{img:"assets/img/layouts/pg1/s2.png",label:__("Style 2","ultimate-post"),value:"style2",pro:!0},{img:"assets/img/layouts/pg1/s3.png",label:__("Style 3","ultimate-post"),value:"style3",pro:!0},{img:"assets/img/layouts/pg1/s4.png",label:__("Style 4","ultimate-post"),value:"style4",pro:!0}]}},{position:5,data:{type:"separator"}},{position:8,data:{type:"range",key:"rowSpace",_inline:!0,min:0,max:80,step:1,responsive:!0,label:__("Row Gap","ultimate-post")}},{data:{type:"toggle",key:"equalHeight",label:__("Equal Height","ultimate-post"),pro:!0,customClass:"ultp-pro-field"}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:b.title,exclude:["titleBackground"],hrIdx:[4,8]}),"layout2"!=l&&(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:b.image,depend:"showImage",exclude:["imgMargin"],include:[{position:3,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,initialOpen:b.meta,depend:"metaShow",exclude:["metaListSmall"],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:b["taxonomy-/-category"],depend:"catShow",store:t,hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:b.excerpt,store:t,hrIdx:[3,6]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:b["read-more"],depend:"readMore",hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.O2,{store:t,exclude:["contenWraptWidth","contenWraptHeight"],include:[{position:0,data:{type:"range",key:"contentWidth",min:0,max:100,step:1,unit:!1,responsive:!0,label:__("Content Width","ultimate-post")}},{position:1,data:{type:"color",key:"innerBgColor",label:__("Inner Bg Color","ultimate-post")}},{position:2,data:{type:"boxshadow",key:"contentShadow",label:__("Box Shadow","ultimate-post")}},{position:3,data:{type:"dimension",key:"contentRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:4,data:{type:"separator",key:"separatorStyle",label:__("Content Wrapper","ultimate-post")}}]}),"layout2"!=l&&(0,o.createElement)(a.rS,{initialOpen:b.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),(0,o.createElement)(a.Yp,{initialOpen:b.separator,depend:"separatorShow",exclude:["septSpace"],store:t}),!g&&(0,o.createElement)(i.Z,{open:b.filter||b.pagination||b.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:b.heading,depend:"headingShow"}),"posts"!=n&&"customPosts"!=n&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:b.filter,depend:"filterShow",hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,store:t,initialOpen:b.pagination,depend:"paginationShow",hrIdx:[{tab:"style",hr:[4]}]}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:s,titleShow:p,catPosition:d,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,p&&0==m,i&&"top"==b,p&&1==m,f&&"aboveTitle"==d,h&&s&&"layout2"!=v];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,exStyle:["pagiTypo","pagiMargin","pagiPadding"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(a.sT,{store:t,attrKey:"titleTypo",label:__("Title Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post")}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,exSettings:["metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category",textScroll:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,incStyle:[{position:0,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}}],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},2850:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},previewImg:{type:"string",default:""},layout:{type:"string",default:"layout1"},headingText:{type:"string",default:"Post Grid #1"},gridStyle:{type:"string",default:"style1"},columns:{type:"object",default:{lg:"3",xs:"1",sm:"2"},style:[{depends:[{key:"gridStyle",condition:"==",value:["style1","style2"]}],selector:"{{ULTP}} .ultp-block-items-wrap { grid-template-columns: repeat({{columns}}, 1fr); }"}]},columnGridGap:{type:"object",default:{lg:"30",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-row { grid-column-gap: {{columnGridGap}}; }"}]},rowSpace:{type:"object",default:{lg:"30"},style:[{depends:[{key:"separatorShow",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-block-row {row-gap: {{rowSpace}}px; }"},{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { padding-bottom: {{rowSpace}}px; margin-bottom:{{rowSpace}}px; }"}]},equalHeight:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} .ultp-block-content-wrap { height: 100%; color: red; } \n        {{ULTP}} .ultp-block-content,\n        {{ULTP}} .ultp-block-content-wrap { display: flex; flex-direction: column; }\n        {{ULTP}} .ultp-block-content { flex-grow: 1; flex: 1; }\n        {{ULTP}} .ultp-block-readmore { margin-top: auto;}"}]},contentTag:{type:"string",default:"div"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  \n            cursor: pointer; \n            text-decoration: none; \n            display: inline; \n            padding-bottom: 2px; \n            transition: all 0.35s linear !important;\n            background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% ); \n            background-size: 0px 2px; \n            background-repeat: no-repeat; \n            background-position: left 100%; \n          }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  \n            border-bottom:none; \n            padding-bottom: 2px; \n            background-position:0 100%; \n            background-repeat: repeat; \n            background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); \n          }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  \n              text-decoration: none; transition: all 1s cubic-bezier(1,.25,0,.75) 0s; \n              position: relative; \n              transition: all 0.35s ease-out; \n              padding-bottom: 3px; \n              border-bottom:none; \n              padding-bottom: 2px; \n              background-position:0 100%; \n              background-repeat: repeat; \n              background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); \n          }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { \n            cursor: pointer; \n            font-weight: 600; \n            text-decoration: none; \n            display: inline; padding-bottom: 2px; \n            transition: all 0.3s linear !important; \n            background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% ); \n            background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; \n          }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover { \n              text-decoration: none; \n              transition: all 0.35s ease-out; \n              border-bottom:none; \n              padding-bottom: 2px; \n              background-position:0 100%; \n              background-repeat: repeat; \n              background-size:auto; \n              background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); \n            }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { \n            cursor: pointer; \n            text-decoration: none; \n            display: inline; \n            padding-bottom: 2px; \n            transition: all 0.3s linear !important; \n            background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  \n            background-size: 100% 2px; \n            background-repeat: no-repeat; background-position: left 100%; \n          }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a { \n            background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); \n            background-repeat: no-repeat; \n            background-size: 100% 2px; background-position: 0 88%; \n            transition: background-size 0.15s ease-in; padding: 5px 5px; \n          }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { \n            cursor: pointer; \n            text-decoration: none; \n            display: inline; \n            padding-bottom: 2px; \n            transition: all 0.3s linear !important; \n            background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  \n            background-size: 0px 2px; \n            background-repeat: no-repeat; \n            background-position: right 100%; \n          }"},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a {\n            cursor: pointer; \n            text-decoration: none; \n            display: inline; \n            padding-bottom: 2px; \n            transition: all 0.3s linear !important; \n            background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  \n            background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; \n          }"},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a {\n            background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); \n            background-repeat: no-repeat; \n            background-size: 100% 10px; \n            background-position: 0 88%; \n            transition: 0.3s ease-in; padding: 3px 5px; \n          } "}]},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!0},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"22",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"26",unit:"px"},transform:"",decoration:"none",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title, \n          {{ULTP}} div.ultp-block-wrapper .ultp-block-items-wrap .ultp-block-item .ultp-block-content .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_landscape",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"gridStyle",condition:"!=",value:"style1"}]}]},imgWidth:{type:"object",default:{lg:"",ulg:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { max-width: {{imgWidth}}; width: 100%; }\n          {{ULTP}} .ultp-block-item .ultp-block-image img { width: 100% }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-block-image img { height: {{imgHeight}} !important; }"}]},imageScale:{type:"string",default:"cover",style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-block-image img {object-fit: {{imageScale}};}"}]},imgAnimation:{type:"string",default:"opacity"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},imgSpacing:{type:"object",default:{lg:"10"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { margin-bottom: {{imgSpacing}}px; }"}]},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:10,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:26,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:10,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt{ padding: {{excerptPadding}}; }"}]},contentWidth:{type:"object",default:{lg:"85"},style:[{depends:[{key:"layout",condition:"!=",value:["layout1","layout2"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap .ultp-block-content, \n        {{ULTP}} .ultp-layout4 .ultp-block-content-wrap .ultp-block-content, \n        {{ULTP}} .ultp-layout5 .ultp-block-content-wrap .ultp-block-content { max-width:{{contentWidth}}% !important;  }"}]},contentShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"!=",value:["layout1","layout2"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap, \n        {{ULTP}} .ultp-layout4 .ultp-block-content-wrap, \n        {{ULTP}} .ultp-layout5 .ultp-block-content-wrap { overflow: visible;  } \n        {{ULTP}} .ultp-layout3 .ultp-block-content-wrap .ultp-block-content, \n        {{ULTP}} .ultp-layout4  .ultp-block-content-wrap .ultp-block-content, \n        {{ULTP}} .ultp-layout5 .ultp-block-content-wrap .ultp-block-content"}]},contentRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"!=",value:["layout1","layout2"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap .ultp-block-content, \n        {{ULTP}} .ultp-layout4 .ultp-block-content-wrap .ultp-block-content, \n        {{ULTP}} .ultp-layout5 .ultp-block-content-wrap .ultp-block-content { border-radius:{{contentRadius}}; }"}]},contentAlign:{type:"string",default:"center",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-start;} \n          {{ULTP}} .ultp-block-image img, \n          {{ULTP}} .ultp-block-image { margin-right: auto; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: center;} \n          {{ULTP}} .ultp-block-image img, \n          {{ULTP}} .ultp-block-image { margin: 0 auto; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-end;} \n          .rtl {{ULTP}} .ultp-block-meta {justify-content: start;} \n          {{ULTP}} .ultp-block-image img, \n          {{ULTP}} .ultp-block-image { margin-left: auto; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:".rtl {{ULTP}} .ultp-block-readmore a { display:flex; flex-direction:row-reverse;justify-content: flex-end; }"}]},contentWrapBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-content-wrap { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},innerBgColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"layout",condition:"!=",value:"layout1"},{key:"layout",condition:"!=",value:"layout2"}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap .ultp-block-content,\n          {{ULTP}} .ultp-layout4 .ultp-block-content-wrap .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content-wrap .ultp-block-content { background:{{innerBgColor}}; }"}]},contentWrapInnerPadding:{type:"object",default:{lg:{unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content, \n          {{ULTP}} .ultp-layout2 .ultp-block-content, \n          {{ULTP}} .ultp-layout3 .ultp-block-content { padding: {{contentWrapInnerPadding}}; }"}]},contentWrapPadding:{type:"object",default:{lg:{unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; }"}]},separatorShow:{type:"boolean",default:!0},septColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { border-bottom-color:{{septColor}}; }"}]},septStyle:{type:"string",default:"dashed",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { border-bottom-style:{{septStyle}}; }"}]},septSize:{type:"string",default:{lg:"1"},style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { border-bottom-width: {{septSize}}px; }"}]},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { \n              position: relative; display: block; margin: auto 0 0 0; height: auto;\n          }"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; } \n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:"0"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"pagination"},enhancedPaginationEnabled:{type:"boolean",default:!0},...(0,o.t)(["advFilter","heading","advanceAttr","pagination","video","meta","category","readMore","query"],[],[{key:"vidIconPosition",default:"center"},{key:"iconSize",default:{lg:"80",sm:"50",xs:"50",unit:"px"}},{key:"catLineColor",default:"var(--postx_preset_Primary_color)"},{key:"catLineHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catTypo",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""}},{key:"catColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"catBgColor",default:{openColor:1,type:"color",color:"var(--postx_preset_Primary_color)"}},{key:"catHoverColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"catBgHoverColor",default:{openColor:1,type:"color",color:"var(--postx_preset_Secondary_color)"}},{key:"catSacing",default:{lg:{top:10,bottom:5,unit:"px"},unit:"px"}},{key:"readMoreColor",default:"var(--postx_preset_Primary_color)"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)"}},{key:"readMoreHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"readMoreBgHoverColor",default:{openColor:0,type:"color",color:""}},{key:"readMorePadding",default:{lg:{top:"2",bottom:"2",left:"10",right:"8",unit:"px"}}}]),...(0,i.b)({}),V4_1_0_CompCheck:a.O}},5715:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(3452),n=l(2850);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-grid-1/","block_docs"),r("ultimate-post/post-grid-1",{title:__("Post Grid #1","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-grid-1.svg"}),category:"ultimate-post",keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postgrid1.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},7163:(e,t,l)=>{"use strict";l.d(t,{Z:()=>M});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(3508),u=l(6896),d=l(1411),m=l(3985),g=l(8152),y=l(6005),b=l(9838),v=l(1760),h=l(3151),f=l(9735),k=l(2963),w=l(9349),x=l(7025),T=l(3128);const{__}=wp.i18n,{InspectorControls:S}=wp.blockEditor,{useEffect:P,useRef:C,useState:E,Fragment:_}=wp.element,{Spinner:L,Placeholder:I}=wp.components,{getBlockAttributes:U,getBlockRootClientId:B}=wp.data.select("core/block-editor");function M(e){const t=C(null),[l,M]=E(x.Ti),{setAttributes:A,name:H,clientId:N,attributes:j,context:O,className:Z,isSelected:R,attributes:{blockId:D,currentPostId:F,readMoreIcon:z,excerptLimit:W,metaStyle:G,metaShow:V,catShow:q,overlayContentPosition:$,metaSeparator:K,titleShow:J,catStyle:Y,catPosition:X,titlePosition:Q,excerptShow:ee,imgCrop:te,imgAnimation:le,imgOverlayType:oe,imgOverlay:ae,metaList:ie,readMore:ne,readMoreText:re,metaPosition:se,showFullExcerpt:pe,showImage:ce,titleAnimation:ue,customCatColor:de,onlyCatColor:me,contentTag:ge,titleTag:ye,showSeoMeta:be,titleLength:ve,metaMinText:he,metaAuthorPrefix:fe,titleStyle:ke,metaDateFormat:we,authorLink:xe,fallbackEnable:Te,vidIconEnable:Se,notFoundMessage:Pe,dcEnabled:Ce,dcFields:Ee,previewImg:_e,advanceId:Le,paginationShow:Ie,paginationAjax:Ue,headingShow:Be,filterShow:Me,paginationType:Ae,navPosition:He,paginationNav:Ne,loadMoreText:je,paginationText:Oe,V4_1_0_CompCheck:{runComp:Ze}}}=e;function Re(e){M({...l,selectedDC:e})}function De(){M({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function Fe(e){M({...l,section:{...x.ZQ,[e]:!0}}),(0,x.Rt)(e),(0,x.ob)(e)}function ze(e){M((t=>({...t,toolbarSettings:e}))),(0,x.os)(e)}function We(){l.error&&M({...l,error:!1}),l.loading||M({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(j)}).then((e=>{M({...l,postsList:e,loading:!1})})).catch((e=>{M({...l,loading:!1,error:!0})}))}P((()=>{(0,x.oA)(),We()}),[]),P((()=>{const t=N.substr(0,6),l=U(B(N));(0,i.qi)(A,l,F,N),(0,h.h)(e),D?D&&D!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||A({blockId:t})):(A({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&A({queryType:"archiveBuilder"}))}),[N]),P((()=>{const e=t.current;(0,f.o6)()&&0===j.dcFields.length&&A({dcFields:Array(T.PR).fill(void 0)}),e?((0,i.Qr)(e,j)&&(We(),t.current=j),e.isSelected!==R&&R&&(0,x.gT)(Fe,ze)):t.current=j}),[j]);const Ge={setAttributes:A,name:H,attributes:j,setSection:Fe,section:l.section,clientId:N,context:O,setSelectedDc:Re,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){Re(e),ze("dc_group")}};let Ve;return D&&(Ve=(0,b.Kh)(j,"ultimate-post/post-grid-2",D,(0,i.k0)())),_e?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:_e}):(0,a.createElement)(_,null,(0,a.createElement)(T.FP,{store:Ge,selected:l.toolbarSettings}),(0,a.createElement)(S,null,(0,a.createElement)(T.ZP,{store:Ge})),(0,a.createElement)(v.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",exclude:["wrapOuterPadding","wrapMargin","spaceSep"]},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),new:i.KE,[Ze?"exclude":"dep"]:i.N2}],store:Ge}),(0,a.createElement)("div",(0,o.Z)({},Le&&{id:Le},{className:`ultp-block-${D} ${Z}`,onClick:e=>{e.stopPropagation(),Fe("general"),ze("")}}),Ve&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:Ve}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(Be||Me||Ie)&&(0,a.createElement)(s.Z,{attributes:j,setAttributes:A,onClick:()=>{Fe("heading"),ze("heading")},setSection:Fe,setToolbarSettings:ze}),function(){const e=`${ge}`,t=(e,t)=>(0,f.o6)()&&Ce&&(0,a.createElement)(w.Z,{idx:e,postId:t,fields:Ee,settingsOnClick:(e,t)=>{e?.stopPropagation(),ze(t)},selectedDC:l.selectedDC,setSelectedDc:Re,setAttributes:A,dcFields:Ee});return l.error?(0,a.createElement)(I,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(L,null)):l.postsList.length>0?(0,a.createElement)("div",{className:"ultp-block-items-wrap ultp-block-row"},l.postsList.map(((l,o)=>{const i=JSON.parse(ie.replaceAll("u0022",'"'));return(0,a.createElement)(e,{key:o,className:`ultp-block-item post-id-${l.ID} ${ue?" ultp-animation-"+ue:""}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap ultp-block-content-overlay"},(0,a.createElement)(p.E_,{catPosition:X,imgOverlay:ae,imgOverlayType:oe,imgAnimation:le,post:l,fallbackEnable:Te,vidIconEnable:Se,showImage:ce,imgCrop:te,onClick:()=>{Fe("image"),ze("image")},Category:"aboveTitle"!=X?(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:q,catStyle:Y,catPosition:X,customCatColor:de,onlyCatColor:me,onClick:e=>{Fe("taxonomy-/-category"),ze("cat")}})):null}),Se&&l.has_video&&(0,a.createElement)(p.nk,{onClick:e=>{Fe("video"),ze("video")}}),(0,a.createElement)("div",{className:`ultp-block-content ultp-block-content-${$}`},(0,a.createElement)("div",{className:"ultp-block-content-inner"},t(7,l.ID),"aboveTitle"==X&&(0,a.createElement)(n.Z,{post:l,catShow:q,catStyle:Y,catPosition:X,customCatColor:de,onlyCatColor:me,onClick:e=>{Fe("taxonomy-/-category"),ze("cat")}}),t(6,l.ID),l.title&&J&&1==Q&&(0,a.createElement)(y.Z,{title:l.title,headingTag:ye,titleLength:ve,titleStyle:ke,onClick:e=>{Fe("title"),ze("title")}}),t(5,l.ID),V&&"top"==se&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:K,metaStyle:G,metaMinText:he,metaAuthorPrefix:fe,metaDateFormat:we,authorLink:xe,onClick:e=>{Fe("meta"),ze("meta")}}),t(4,l.ID),l.title&&J&&0==Q&&(0,a.createElement)(y.Z,{title:l.title,headingTag:ye,titleLength:ve,titleStyle:ke,onClick:e=>{Fe("title"),ze("title")}}),t(3,l.ID),ee&&(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:W,showFullExcerpt:pe,showSeoMeta:be,onClick:e=>{Fe("excerpt"),ze("excerpt")}}),t(2,l.ID),ne&&(0,a.createElement)(g.Z,{readMoreText:re,readMoreIcon:z,titleLabel:l.title,onClick:()=>{Fe("read-more"),ze("read-more")}}),t(1,l.ID),V&&"bottom"==se&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:K,metaStyle:G,metaMinText:he,metaAuthorPrefix:fe,metaDateFormat:we,authorLink:xe,onClick:e=>{Fe("meta"),ze("meta")}}),t(0,l.ID),(0,f.o6)()&&Ce&&(0,a.createElement)(k.Z,{dcFields:Ee,setAttributes:A,startOnboarding:De,overlayMode:!0,inverseColor:!0})))))}))):(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:Pe})}(),Ie&&"loadMore"==Ae&&(0,a.createElement)(c.Z,{loadMoreText:je,onClick:e=>{Fe("pagination"),ze("pagination")}}),Ie&&"navigation"==Ae&&"topRight"!=He&&(0,a.createElement)(d.Z,{onClick:()=>{Fe("pagination"),ze("pagination")}}),Ie&&"pagination"==Ae&&(0,a.createElement)(m.Z,{paginationNav:Ne,paginationAjax:Ue,paginationText:Oe,onClick:e=>{Fe("pagination"),ze("pagination")}}))))}},3128:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(3581),n=l(2637),r=l(7025),s=l(8156),p=l(2258),c=l(3448),u=l(2473),d=l(9735);const{__}=wp.i18n,{useEffect:m}=wp.element,g=8,y=e=>{const{store:t}=e,{queryType:l,advFilterEnable:p,advPaginationEnable:c,V4_1_0_CompCheck:{runComp:u}}=t.attributes,{context:g,section:y}=t;return m((()=>{(0,r.CH)(g,p,t,c)}),[p,c,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(i.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6830",store:t}),(0,o.createElement)(n.Sections,null,(0,o.createElement)(n.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{initialOpen:y.general,store:t,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:["columnGridGap"],include:[{position:0,data:{type:(0,d.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"range",_inline:!0,key:"columnGridGap",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Gap","ultimate-post")}},{position:5,data:{type:"range",_inline:!0,key:"overlayHeight",min:0,max:700,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:y.title,hrIdx:[4,9]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,depend:"showImage",initialOpen:y.image,include:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgWidth","imageScale","imgHeight","imgMargin","imgCropSmall"],hrIdx:[{tab:"settings",hr:[2,10]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,initialOpen:y.meta,depend:"metaShow",exclude:["metaListSmall"],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:y["taxonomy-/-category"],store:t,depend:"catShow",hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:y.excerpt,store:t,hrIdx:[3,6]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:y["read-more"],depend:"readMore",hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:y.video,depend:"vidIconEnable",store:t}),(0,o.createElement)(a.fm,{store:t,include:a.aG,exclude:["overlaySmallHeight"]}),!u&&(0,o.createElement)(s.Z,{open:y.filter||y.pagination||y.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:y.heading,depend:"headingShow"}),"posts"!=l&&"customPosts"!=l&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:y.filter,depend:"filterShow",hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,store:t,initialOpen:y.pagination,depend:"paginationShow",hrIdx:[{tab:"style",hr:[4]}]}))),(0,o.createElement)(n.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:n,titleShow:r,catPosition:s,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,r&&0==m,i&&"top"==b,r&&1==m,f&&"aboveTitle"==s];if((0,d.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(p.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(p.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(p.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,exStyle:["pagiTypo","pagiMargin","pagiPadding"]}));case"video":return(0,o.createElement)(p.Z,{text:"Video"},(0,o.createElement)(c.Z,{buttonContent:a.gA,include:(0,a.q7)({include:["popupIconColor","popupHovColor","popupTitleColor","closeIconColor","closeHovColor"],exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:["popupIconColor","popupHovColor","popupTitleColor","closeIconColor","closeHovColor"]}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(p.Z,{text:"Title"},(0,o.createElement)(a.sT,{store:t,attrKey:"titleTypo",label:__("Title Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor","titleBackground"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(p.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post")}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(p.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,exSettings:["metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(p.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(p.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(p.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exStyle:["imgWidth","imageScale","imgHeight","imgMargin"],exSettings:["imgCropSmall"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},5108:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=(l(9735),l(1579));const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},columns:{type:"object",default:{lg:"3",sm:"2",xs:"1"},style:[{selector:"{{ULTP}} .ultp-block-row { grid-template-columns: repeat({{columns}}, 1fr); }"}]},columnGridGap:{type:"object",default:{lg:"20",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-row { grid-gap: {{columnGridGap}}; }"}]},overlayHeight:{type:"object",default:{lg:"250",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-block-image img, \n          {{ULTP}} .ultp-block-empty-image { width: 100%; object-fit: cover; height: {{overlayHeight}}; }"}]},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!1},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!1},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},queryExcludeAuthor:{type:"string",default:"[]",style:[{depends:[{key:"queryAuthor",condition:"==",value:"[]"},{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover { text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a { background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titleAnimation:{type:"string",default:""},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"rgba(255,255,255,0.70)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"26",unit:"px"},decoration:"none",family:"",weight:"600"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title, \n          {{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_landscape",depends:[{key:"showImage",condition:"==",value:!0}]},imgAnimation:{type:"string",default:"zoomOut"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap, \n          {{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap:hover, \n          {{ULTP}} .ultp-block-content-wrap:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-overlay"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-overlay:hover"}]},imgOverlay:{type:"boolean",default:!0},imgOverlayType:{type:"string",default:"flat",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:10,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"#fff",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:5,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-start;}"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: center;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-end; } \n          .rtl {{ULTP}} .ultp-block-meta {justify-content: start;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:" .rtl {{ULTP}} .ultp-block-readmore a {display:flex; flex-direction:row-reverse;justify-content: flex-end;}"}]},overlayContentPosition:{type:"string",default:"bottomPosition",style:[{depends:[{key:"overlayContentPosition",condition:"==",value:"topPosition"}],selector:"{{ULTP}} .ultp-block-content-topPosition { align-items:flex-start; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"middlePosition"}],selector:"{{ULTP}} .ultp-block-content-middlePosition { align-items:center; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"bottomPosition"}],selector:"{{ULTP}} .ultp-block-content-bottomPosition { align-items:flex-end; }"}]},overlayBgColor:{type:"object",default:{openColor:1,type:"color",color:""},style:[{selector:"{{ULTP}} .ultp-block-content-inner"}]},overlayWrapPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner { padding: {{overlayWrapPadding}}; }"}]},headingText:{type:"string",default:"Post Grid #2"},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto; }"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"},unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"pagination"},...(0,o.t)(["heading","advFilter","advanceAttr","pagination","video","meta","category","readMore","query"],["queryExcludeAuthor"],[{key:"queryNumber",default:"4"},{key:"pagiAlign",default:{lg:"left"}},{key:"metaList",default:'["metaAuthor","metaDate"]'},{key:"metaColor",default:"#F3F3F3"},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"readMoreColor",default:"#fff"}]),...(0,i.b)({defColor:"#fff"}),V4_1_0_CompCheck:a.O}},4484:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(7163),n=l(5108);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-grid-2/","block_docs"),r("ultimate-post/post-grid-2",{title:__("Post Grid #2","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-grid-2.svg"}),category:"ultimate-post",keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postgrid2.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},8219:(e,t,l)=>{"use strict";l.d(t,{Z:()=>M});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(3508),u=l(6896),d=l(1411),m=l(3985),g=l(8152),y=l(6005),b=l(9838),v=l(1760),h=l(3151),f=l(9735),k=l(2963),w=l(9349),x=l(7025),T=l(8544);const{__}=wp.i18n,{InspectorControls:S}=wp.blockEditor,{useEffect:P,useRef:C,useState:E,Fragment:_}=wp.element,{Spinner:L,Placeholder:I}=wp.components,{getBlockAttributes:U,getBlockRootClientId:B}=wp.data.select("core/block-editor");function M(e){const t=C(null),{setAttributes:l,name:M,clientId:A,isSelected:H,attributes:N,className:j,context:O,attributes:{blockId:Z,currentPostId:R,previewImg:D,advanceId:F,paginationShow:z,paginationAjax:W,headingShow:G,filterShow:V,paginationType:q,navPosition:$,paginationNav:K,loadMoreText:J,paginationText:Y,dcFields:X,dcEnabled:Q,readMoreIcon:ee,excerptLimit:te,column:le,metaStyle:oe,metaShow:ae,catShow:ie,showImage:ne,metaSeparator:re,titleShow:se,catStyle:pe,catPosition:ce,titlePosition:ue,imgAnimation:de,imgOverlayType:me,imgOverlay:ge,metaList:ye,metaListSmall:be,showSmallCat:ve,showSmallMeta:he,readMore:fe,readMoreText:ke,overlayContentPosition:we,showSmallBtn:xe,showSmallExcerpt:Te,metaPosition:Se,showFullExcerpt:Pe,layout:Ce,titleAnimation:Ee,customCatColor:_e,onlyCatColor:Le,contentTag:Ie,titleTag:Ue,showSeoMeta:Be,titleLength:Me,metaMinText:Ae,metaAuthorPrefix:He,titleStyle:Ne,metaDateFormat:je,authorLink:Oe,excerptShow:Ze,fallbackEnable:Re,imgCropSmall:De,imgCrop:Fe,vidIconEnable:ze,notFoundMessage:We,V4_1_0_CompCheck:{runComp:Ge}}}=e,[Ve,qe]=E(x.Ti);function $e(e){qe({...Ve,selectedDC:e})}function Ke(){qe({...Ve,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function Je(e){qe({...Ve,section:{...x.ZQ,[e]:!0}}),(0,x.Rt)(e),(0,x.ob)(e)}function Ye(e){qe((t=>({...t,toolbarSettings:e}))),(0,x.os)(e)}function Xe(){Ve.error&&qe({...Ve,error:!1}),Ve.loading||qe({...Ve,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(N)}).then((e=>{qe({...Ve,postsList:e,loading:!1})})).catch((e=>{qe({...Ve,loading:!1,error:!0})}))}P((()=>{(0,x.oA)(),Xe()}),[]),P((()=>{const t=A.substr(0,6),o=U(B(A));(0,i.qi)(l,o,R,A),(0,h.h)(e),Z?Z&&Z!=t&&(o?.hasOwnProperty("ref")||(0,i.k0)()||o?.hasOwnProperty("theme")||l({blockId:t})):(l({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&l({queryType:"archiveBuilder"}))}),[A]),P((()=>{const e=t.current;(0,f.o6)()&&0===N.dcFields.length&&l({dcFields:Array(T.PR).fill(void 0)}),e?((0,i.Qr)(e,N)&&(Xe(),t.current=N),e.isSelected!==H&&H&&(0,x.gT)(Je,Ye)):t.current=N}),[N]);const Qe={setAttributes:l,name:M,attributes:N,setSection:Je,section:Ve.section,clientId:A,context:O,setSelectedDc:$e,selectedDC:Ve.selectedDC,selectParentMetaGroup:function(e){$e(e),Ye("dc_group")}};let et;return Z&&(et=(0,b.Kh)(N,"ultimate-post/post-grid-3",Z,(0,i.k0)())),D?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:D}):(0,a.createElement)(_,null,(0,a.createElement)(T.FP,{store:Qe,selected:Ve.toolbarSettings}),(0,a.createElement)(S,null,(0,a.createElement)(T.ZP,{store:Qe})),(0,a.createElement)(v.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",exclude:["columns","wrapOuterPadding","wrapMargin","spaceSep"]},{type:"layout",block:"post-grid-3",key:"layout",options:[{img:"assets/img/layouts/pg3/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pg3/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pg3/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pg3/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0},{img:"assets/img/layouts/pg3/l5.png",label:__("Layout 5","ultimate-post"),value:"layout5",pro:!0}]},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),new:i.KE,[Ge?"exclude":"dep"]:i.N2}],store:Qe}),(0,a.createElement)("div",(0,o.Z)({},F&&{id:F},{className:`ultp-block-${Z} ${j}`,onClick:e=>{e.stopPropagation(),Je("general"),Ye("")}}),et&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:et}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(G||V||z)&&(0,a.createElement)(s.Z,{attributes:N,setAttributes:l,onClick:()=>{Je("heading"),Ye("heading")},setSection:Je,setToolbarSettings:Ye}),function(){const t=`${Ie}`,o=(e,t)=>(0,f.o6)()&&Q&&(0,a.createElement)(w.Z,{idx:e,postId:t,fields:X,settingsOnClick:(e,t)=>{e?.stopPropagation(),Ye(t)},selectedDC:Ve.selectedDC,setSelectedDc:$e,setAttributes:l,dcFields:X});return Ve.error?(0,a.createElement)(I,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):Ve.loading?(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(L,null)):Ve.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-row ultp-${Ce} ultp-block-column${le}`},Ve.postsList.map(((l,i)=>{const s=0==i?JSON.parse(ye.replaceAll("u0022",'"')):JSON.parse(be.replaceAll("u0022",'"'));return(0,a.createElement)(t,{key:i,className:`ultp-block-item post-id-${l.ID} ${Ee?"ultp-animation-"+Ee:""}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap ultp-block-content-overlay"},(0,a.createElement)(p.zk,{imgOverlay:ge,imgOverlayType:me,imgAnimation:de,post:l,fallbackEnable:Re,vidIconEnable:ze,catPosition:ce,imgCropSmall:De,showImage:ne,imgCrop:Fe,idx:i,showSmallCat:ve,Category:0!=i&&!ve||"aboveTitle"==ce?null:(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:ie,catStyle:pe,catPosition:ce,customCatColor:_e,onlyCatColor:Le,onClick:e=>{Je("taxonomy-/-category"),Ye("cat")}})),onClick:()=>{Je("image"),Ye("image")}}),ze&&l.has_video&&(0,a.createElement)(p.nk,{onClick:()=>{Je("video"),Ye("video")}}),(0,a.createElement)("div",{className:`ultp-block-content ultp-block-content-${we}`},(0,a.createElement)("div",{className:"ultp-block-content-inner"},o(7,l.ID),"aboveTitle"==ce&&(0==i||ve)&&(0,a.createElement)(n.Z,{post:l,catShow:ie,catStyle:pe,catPosition:ce,customCatColor:_e,onlyCatColor:Le,onClick:e=>{Je("taxonomy-/-category"),Ye("cat")}}),o(6,l.ID),l.title&&se&&1==ue&&(0,a.createElement)(y.Z,{title:l.title,headingTag:Ue,titleLength:Me,titleStyle:Ne,onClick:e=>{Je("title"),Ye("title")}}),o(5,l.ID),(0==i||he)&&ae&&"top"==Se&&(0,a.createElement)(u.Z,{meta:s,post:l,metaSeparator:re,metaStyle:oe,metaMinText:Ae,metaAuthorPrefix:He,metaDateFormat:je,authorLink:Oe,onClick:e=>{Je("meta"),Ye("meta")}}),o(4,l.ID),l.title&&se&&0==ue&&(0,a.createElement)(g.Z,{readMoreText:ke,readMoreIcon:ee,titleLabel:l.title,onClick:()=>{Je("read-more"),Ye("read-more")}}),o(3,l.ID),(0==i||Te)&&Ze&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:te,showFullExcerpt:Pe,showSeoMeta:Be,onClick:e=>{Je("excerpt"),Ye("excerpt")}})),o(2,l.ID),(0==i||xe)&&fe&&(0,a.createElement)(g.Z,{readMoreText:ke,readMoreIcon:ee,titleLabel:l.title,onClick:()=>{Je("read-more"),Ye("read-more")}}),o(1,l.ID),(0==i||he)&&ae&&"bottom"==Se&&(0,a.createElement)(u.Z,{meta:s,post:l,metaSeparator:re,metaStyle:oe,metaMinText:Ae,metaAuthorPrefix:He,metaDateFormat:je,authorLink:Oe,onClick:e=>{Je("meta"),Ye("meta")}}),o(0,l.ID),(0,f.o6)()&&Q&&(0,a.createElement)(k.Z,{dcFields:X,setAttributes:e.setAttributes,startOnboarding:Ke,overlayMode:!0,inverseColor:!0})))))}))):(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:We})}(),z&&"loadMore"==q&&(0,a.createElement)(c.Z,{loadMoreText:J,onClick:e=>{Je("pagination"),Ye("pagination")}}),z&&"navigation"==q&&"topRight"!=$&&(0,a.createElement)(d.Z,{onClick:()=>{Je("pagination"),Ye("pagination")}}),z&&"pagination"==q&&(0,a.createElement)(m.Z,{paginationNav:K,paginationAjax:W,paginationText:Y,onClick:e=>{Je("pagination"),Ye("pagination")}}))))}},8544:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=8,y=e=>{const{store:t}=e,{queryType:l,advFilterEnable:n,advPaginationEnable:r,V4_1_0_CompCheck:{runComp:u}}=t.attributes,{context:g,section:y}=t;return m((()=>{(0,d.CH)(g,n,t,r)}),[n,r,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6831",store:t}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:t,initialOpen:y.general,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-grid-3",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pg3/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pg3/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pg3/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pg3/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0},{img:"assets/img/layouts/pg3/l5.png",label:__("Layout 5","ultimate-post"),value:"layout5",pro:!0}]}},{position:5,data:{type:"separator"}},{position:5,data:{type:"range",_inline:!0,key:"column",label:__("Columns","ultimate-post"),min:1,max:3,step:1}},{position:7,data:{type:"range",_inline:!0,key:"overlayHeight",min:0,max:1e3,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}],exclude:["columns"]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:y.title,include:[{position:5,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],hrIdx:[4,10]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:y.image,include:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin","imageScale","imgWidth","imgHeight"],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,depend:"metaShow",initialOpen:y.meta,include:[{position:0,data:{type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}}],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:y["taxonomy-/-category"],depend:"catShow",store:t,include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}}],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:y.excerpt,store:t,include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}],hrIdx:[4,7]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:y["read-more"],depend:"readMore",include:[{position:0,data:{type:"toggle",tab:"settings",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:y.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),(0,o.createElement)(a.fm,{store:t,include:a.aG}),!u&&(0,o.createElement)(i.Z,{open:y.filter||y.pagination||y.heading},(0,o.createElement)(a.Wh,{isTab:!0,initialOpen:y.heading,depend:"headingShow",store:t}),"posts"!=l&&"customPosts"!=l&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:y.filter,depend:"filterShow",hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,store:t,initialOpen:y.pagination,depend:"paginationShow",hrIdx:[{tab:"style",hr:[4]}]}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,titleShow:s,catPosition:p,titlePosition:d,excerptShow:m,readMore:g,metaPosition:y,catShow:b}=t.attributes,v=[i&&"bottom"==y,g,m,s&&0==d,i&&"top"==y,s&&1==d,b&&"aboveTitle"==p];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:v});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,exStyle:["pagiTypo","pagiMargin","pagiPadding"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:["popupIconColor","popupHovColor","popupTitleColor","closeIconColor","closeHovColor"],exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:["popupIconColor","popupHovColor","popupTitleColor","closeIconColor","closeHovColor"]}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor","titleBackground"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor","titleLgTypo"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}],title:__("Excerpt Settings","ultimate-post")}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,incSettings:[{position:0,data:{type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}}],exSettings:["metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}}],exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exStyle:["imgMargin","imageScale","imgWidth","imgHeight"],exSettings:["imgMargin","imageScale","imgWidth","imgHeight"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},2308:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!1},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!1},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},metaKey:{type:"string",default:"custom_meta_key",style:[{depends:[{key:"queryOrderBy",condition:"==",value:"meta_value_num"}],0:{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}}]},queryNumber:{type:"string",default:5,style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2"]},{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titleAnimation:{type:"string",default:""},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"rgba(255,255,255,0.70)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"30",unit:"px"},height:{lg:"36",unit:"px"},decoration:"none",family:"",weight:"700"},style:[{depends:[{key:"titleShow",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout5"}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-title a"},{depends:[{key:"titleShow",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout5"}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-title a, \n          {{ULTP}} .ultp-block-item:nth-child(2) .ultp-block-title, \n          {{ULTP}} .ultp-block-item:nth-child(2) .ultp-block-title a"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"26",unit:"px"},decoration:"none",family:"",weight:"600"},style:[{depends:[{key:"titleShow",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout5"}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title, \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title a"},{depends:[{key:"titleShow",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout5"}],selector:"{{ULTP}} .ultp-block-item:not(:first-child):not(:nth-child(2)) .ultp-block-title, \n          {{ULTP}} .ultp-block-item:not(:first-child):not(:nth-child(2)) .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_landscape",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square"},imgAnimation:{type:"string",default:"roateLeft"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap, \n          {{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap:hover, \n          {{ULTP}} .ultp-block-content-wrap:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-overlay"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-content-overlay"}]},imgOverlay:{type:"boolean",default:!0},imgOverlayType:{type:"string",default:"flat",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSmallMeta:{type:"boolean",default:!0},metaListSmall:{type:"string",default:'["metaAuthor","metaDate"]'},showSmallCat:{type:"boolean",default:!0},showSeoMeta:{type:"boolean",default:!1},showSmallExcerpt:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:10,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"#fff",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:15,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt{ padding: {{excerptPadding}}; }"}]},showSmallBtn:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: center; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-end; } \n          .rtl {{ULTP}} .ultp-block-meta { justify-content: start; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:".rtl {{ULTP}} .ultp-block-readmore a {display:flex; flex-direction:row-reverse;justify-content: flex-end;}"}]},column:{type:"string",default:"2",style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2"]}],selector:"{{ULTP}} .ultp-block-row { grid-template-columns: repeat({{column}}, 1fr); }"},{selector:"{{ULTP}} .ultp-block-row { grid-template-columns: repeat({{column}}, 1fr); }"}]},columnGridGap:{type:"object",default:{lg:"20",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-row { grid-gap: {{columnGridGap}}; }"}]},overlayHeight:{type:"object",default:{lg:"450",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-item .ultp-block-image img, \n          {{ULTP}} .ultp-block-empty-image { width: 100%; object-fit: cover; height: 100%; } \n          {{ULTP}} .ultp-layout5 .ultp-block-item .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout3 .ultp-block-item .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout4 .ultp-block-item .ultp-block-content-overlay {height: calc({{overlayHeight}}/2);} \n          {{ULTP}} .ultp-layout1 .ultp-block-item .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout2 .ultp-block-item .ultp-block-content-overlay {height: calc({{overlayHeight}}/2.5);} \n          {{ULTP}} .ultp-layout1 .ultp-block-item:first-child .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout2 .ultp-block-item:first-child .ultp-block-content-overlay {height: calc({{overlayHeight}}/1.5);} \n          {{ULTP}} .ultp-block-row { min-height: {{overlayHeight}}; } \n          {{ULTP}} .ultp-block-row .ultp-block-item:first-child .ultp-block-image img, \n          {{ULTP}} .ultp-block-row .ultp-block-item:first-child .ultp-block-empty-image { width: 100%; object-fit: cover; height: 100%; } \n          @media (max-width: 768px) {\n            {{ULTP}} .ultp-block-item .ultp-block-content-overlay .ultp-block-image img, \n            {{ULTP}} .ultp-block-content-overlay .ultp-block-empty-image { height: calc( {{overlayHeight}}/2 ); min-height: inherit; }\n          }"}]},overlayContentPosition:{type:"string",default:"bottomPosition",style:[{depends:[{key:"overlayContentPosition",condition:"==",value:"topPosition"}],selector:"{{ULTP}} .ultp-block-content-topPosition { align-items:flex-start; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"middlePosition"}],selector:"{{ULTP}} .ultp-block-content-middlePosition { align-items:center; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"bottomPosition"}],selector:"{{ULTP}} .ultp-block-content-bottomPosition { align-items:flex-end; }"}]},overlayBgColor:{type:"object",default:{openColor:1,type:"color",color:""},style:[{selector:"{{ULTP}} .ultp-block-content-inner"}]},overlayWrapPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner { padding: {{overlayWrapPadding}}; }"}]},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto; }"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:"0"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"loadMore"},...(0,o.t)(["advFilter","heading","advanceAttr","pagination","video","meta","category","readMore","query"],["metaKey","queryNumber"],[{key:"queryNumPosts",default:{lg:5}},{key:"pagiAlign",default:{lg:"left"}},{key:"metaColor",default:"#F3F3F3"},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"readMoreColor",default:"#fff"}]),V4_1_0_CompCheck:a.O,...(0,i.b)({defColor:"#fff"}),headingText:{type:"string",default:"Post Grid #3"}}},7879:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(8219),n=l(2308);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-grid-3/","block_docs"),r("ultimate-post/post-grid-3",{title:__("Post Grid #3","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-grid-3.svg"}),category:"ultimate-post",keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postgrid3.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},2975:(e,t,l)=>{"use strict";l.d(t,{Z:()=>U});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(6896),u=l(1411),d=l(8152),m=l(6005),g=l(9838),y=l(1760),b=l(3151),v=l(9735),h=l(2963),f=l(9349),k=l(7025),w=l(6544);const{__}=wp.i18n,{InspectorControls:x}=wp.blockEditor,{useRef:T,useState:S,useEffect:P,Fragment:C}=wp.element,{Spinner:E,Placeholder:_}=wp.components,{getBlockAttributes:L,getBlockRootClientId:I}=wp.data.select("core/block-editor");function U(e){const t=T(null),[l,U]=S(k.Ti),{setAttributes:B,name:M,attributes:A,context:H,className:N,isSelected:j,clientId:O,attributes:{blockId:Z,currentPostId:R,excerptLimit:D,metaStyle:F,metaShow:z,catShow:W,showImage:G,metaSeparator:V,titleShow:q,catStyle:$,catPosition:K,titlePosition:J,excerptShow:Y,imgAnimation:X,imgOverlayType:Q,imgOverlay:ee,metaList:te,metaListSmall:le,showSmallCat:oe,readMore:ae,readMoreText:ie,readMoreIcon:ne,overlayContentPosition:re,showSmallBtn:se,showSmallExcerpt:pe,metaPosition:ce,showFullExcerpt:ue,layout:de,columnFlip:me,titleAnimation:ge,customCatColor:ye,onlyCatColor:be,contentTag:ve,titleTag:he,showSeoMeta:fe,titleLength:ke,metaMinText:we,metaAuthorPrefix:xe,titleStyle:Te,metaDateFormat:Se,authorLink:Pe,fallbackEnable:Ce,imgCropSmall:Ee,imgCrop:_e,vidIconEnable:Le,notFoundMessage:Ie,previewImg:Ue,advanceId:Be,paginationShow:Me,headingShow:Ae,filterShow:He,paginationType:Ne,navPosition:je,dcEnabled:Oe,dcFields:Ze,V4_1_0_CompCheck:{runComp:Re}}}=e;function De(e){U({...l,selectedDC:e})}function Fe(){U({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function ze(e){U({...l,section:{...k.ZQ,[e]:!0}}),(0,k.Rt)(e),(0,k.ob)(e)}function We(e){U((t=>({...t,toolbarSettings:e}))),(0,k.os)(e)}function Ge(){l.error&&U({...l,error:!1}),l.loading||U({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(A)}).then((e=>{U({...l,postsList:e,loading:!1})})).catch((e=>{U({...l,loading:!1,error:!0})}))}P((()=>{(0,k.oA)(),Ge()}),[]),P((()=>{const t=O.substr(0,6),l=L(I(O));(0,i.qi)(B,l,R,O),(0,b.h)(e),Z?Z&&Z!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||B({blockId:t})):(B({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&B({queryType:"archiveBuilder"}))}),[O]),P((()=>{const e=t.current;(0,v.o6)()&&0===A.dcFields.length&&B({dcFields:Array(w.PR).fill(void 0)}),e?((0,i.Qr)(e,A)&&(Ge(),t.current=A),e.isSelected!==j&&j&&(0,k.gT)(ze,We)):t.current=A}),[A]);const Ve={setAttributes:B,name:M,attributes:A,setSection:ze,section:l.section,clientId:O,context:H,setSelectedDc:De,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){De(e),We("dc_group")}};let qe;return Z&&(qe=(0,g.Kh)(A,"ultimate-post/post-grid-4",Z,(0,i.k0)())),Ue?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Ue}):(0,a.createElement)(C,null,(0,a.createElement)(w.FP,{store:Ve,selected:l.toolbarSettings}),(0,a.createElement)(x,null,(0,a.createElement)(w.ZP,{store:Ve})),(0,a.createElement)(y.Z,{include:[{type:"query",exclude:["queryNumber","queryNumPosts"]},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",exclude:["columns","spaceSep","wrapOuterPadding","wrapMargin"]},{type:"layout",block:"post-grid-4",key:"layout",options:[{value:"layout1",img:"assets/img/layouts/pg4/l1.png",label:__("Layout 1","ultimate-post"),pro:!1},{value:"layout2",img:"assets/img/layouts/pg4/l2.png",label:__("Layout 2","ultimate-post"),pro:!0},{value:"layout3",img:"assets/img/layouts/pg4/l3.png",label:__("Layout 3","ultimate-post"),pro:!0},{value:"layout4",img:"assets/img/layouts/pg4/l4.png",label:__("Layout 4","ultimate-post"),pro:!0}]},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),new:i.KE,[Re?"exclude":"dep"]:i.N2}],store:Ve}),(0,a.createElement)("div",(0,o.Z)({},Be&&{id:Be},{className:`ultp-block-${Z} ${N}`,onClick:e=>{e.stopPropagation(),ze("general"),We("")}}),qe&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:qe}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(Ae||He||Me)&&(0,a.createElement)(s.m,{attributes:A,setAttributes:B,onClick:()=>{ze("heading"),We("heading")},setSection:ze,setToolbarSettings:We}),function(){const e=`${ve}`,t=(e,t)=>(0,v.o6)()&&Oe&&(0,a.createElement)(f.Z,{idx:e,postId:t,fields:Ze,settingsOnClick:(e,t)=>{e?.stopPropagation(),We(t)},selectedDC:l.selectedDC,setSelectedDc:De,setAttributes:B,dcFields:Ze});return l.error?(0,a.createElement)(_,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(E,null)):l.postsList.length>0?(0,a.createElement)(C,null,(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-row ultp-${de} ultp-block-content-${me}`},l.postsList.map(((l,o)=>{const i=0==o?JSON.parse(te.replaceAll("u0022",'"')):JSON.parse(le.replaceAll("u0022",'"'));return(0,a.createElement)(e,{key:o,className:`ultp-block-item post-id-${l.ID} ${ge?"ultp-animation-"+ge:""}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap ultp-block-content-overlay"},(0,a.createElement)(p.A8,{imgOverlay:ee,imgOverlayType:Q,imgAnimation:X,post:l,fallbackEnable:Ce,vidIconEnable:Le,catPosition:K,imgCropSmall:Ee,showImage:G,imgCrop:_e,idx:o,showSmallCat:oe,Category:0!=o&&!oe||"aboveTitle"==K?null:(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:W,catStyle:$,catPosition:K,customCatColor:ye,onlyCatColor:be,onClick:e=>{ze("taxonomy-/-category"),We("cat")}})),onClick:()=>{ze("image"),We("image")}}),Le&&l.has_video&&(0,a.createElement)(p.nk,{onClick:()=>{ze("video"),We("video")}}),(0,a.createElement)("div",{className:`ultp-block-content ultp-block-content-${re}`},(0,a.createElement)("div",{className:"ultp-block-content-inner"},t(7,l.ID),"aboveTitle"==K&&(0==o||oe)&&(0,a.createElement)(n.Z,{post:l,catShow:W,catStyle:$,catPosition:K,customCatColor:ye,onlyCatColor:be,onClick:e=>{ze("taxonomy-/-category"),We("cat")}}),t(6,l.ID),l.title&&q&&1==J&&(0,a.createElement)(m.Z,{title:l.title,headingTag:he,titleLength:ke,titleStyle:Te,onClick:e=>{ze("title"),We("title")}}),t(5,l.ID),z&&"top"==ce&&(0,a.createElement)(c.Z,{meta:i,post:l,metaSeparator:V,metaStyle:F,metaMinText:we,metaAuthorPrefix:xe,metaDateFormat:Se,authorLink:Pe,onClick:e=>{ze("meta"),We("meta")}}),t(4,l.ID),l.title&&q&&0==J&&(0,a.createElement)(m.Z,{title:l.title,headingTag:he,titleLength:ke,titleStyle:Te,onClick:e=>{ze("title"),We("title")}}),t(3,l.ID),(0==o||pe)&&Y&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:D,showFullExcerpt:ue,showSeoMeta:fe,onClick:e=>{ze("excerpt"),We("excerpt")}})),t(2,l.ID),(0==o||se)&&ae&&(0,a.createElement)(d.Z,{readMoreText:ie,readMoreIcon:ne,titleLabel:l.title,onClick:()=>{ze("read-more"),We("read-more")}}),t(1,l.ID),z&&"bottom"==ce&&(0,a.createElement)(c.Z,{meta:i,post:l,metaSeparator:V,metaStyle:F,metaMinText:we,metaAuthorPrefix:xe,metaDateFormat:Se,authorLink:Pe,onClick:e=>{ze("meta"),We("meta")}}),t(0,l.ID),(0,v.o6)()&&Oe&&(0,a.createElement)(h.Z,{dcFields:Ze,setAttributes:B,startOnboarding:Fe,overlayMode:!0,inverseColor:!0})))))})))):(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:Ie})}(),Me&&"navigation"==Ne&&"topRight"!=je&&(0,a.createElement)(u.Z,{onClick:()=>{ze("pagination"),We("pagination")}}))))}},6544:(e,t,l)=>{"use strict";l.d(t,{FP:()=>v,PR:()=>y,ZP:()=>b});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(9735),p=l(2473),c=l(7025);const{__}=wp.i18n,{Sections:u,Section:d}=l(2637),{default:m}=l(3581),{useEffect:g}=wp.element,y=8;function b({store:e}){const{queryType:t,titleAnimationArg:l,advFilterEnable:n,advPaginationEnable:r,V4_1_0_CompCheck:{runComp:p}}=e.attributes,{context:y,section:b}=e;return g((()=>{(0,c.CH)(y,n,e,r)}),[n,r,e.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(m,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6832",store:e}),(0,o.createElement)(u,null,(0,o.createElement)(d,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:e,initialOpen:b.general,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:["columns","queryNumber","queryNumPosts"],include:[{position:0,data:{type:(0,s.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-grid-4",key:"layout",label:__("Layout","ultimate-post"),options:[{value:"layout1",img:"assets/img/layouts/pg4/l1.png",label:__("Layout 1","ultimate-post"),pro:!1},{value:"layout2",img:"assets/img/layouts/pg4/l2.png",label:__("Layout 2","ultimate-post"),pro:!0},{value:"layout3",img:"assets/img/layouts/pg4/l3.png",label:__("Layout 3","ultimate-post"),pro:!0},{value:"layout4",img:"assets/img/layouts/pg4/l4.png",label:__("Layout 4","ultimate-post"),pro:!0}]}},{position:5,data:{type:"separator"}},{position:7,data:{type:"range",_inline:!0,key:"overlayHeight",min:0,max:1e3,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")}},{data:{type:"toggle",key:"columnFlip",label:__("Flip Layout","ultimate-post")}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:e,depend:"titleShow",initialOpen:b.title,include:[{position:5,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],hrIdx:[4,10]}),(0,o.createElement)(a.Hn,{isTab:!0,store:e,initialOpen:b.image,include:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin","imgWidth","imageScale","imgHeight"],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:e,depend:"metaShow",initialOpen:b.meta,hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:b["taxonomy-/-category"],depend:"catShow",store:e,include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}}],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:b.excerpt,store:e,include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}],hrIdx:[4,7]}),(0,o.createElement)(a.oY,{isTab:!0,store:e,initialOpen:b["read-more"],depend:"readMore",include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:b.video,depend:"vidIconEnable",store:e,hrIdx:[5]}),(0,o.createElement)(a.fm,{store:e,include:l}),!p&&(0,o.createElement)(i.Z,{open:b.filter||b.pagination||b.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:e,initialOpen:b.heading,depend:"headingShow"}),"posts"!=t&&"customPosts"!=t&&(0,o.createElement)(a.B0,{isTab:!0,store:e,initialOpen:b.filter,depend:"filterShow",hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,initialOpen:b.pagination,depend:"paginationShow",store:e,include:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}}],exclude:["paginationType","paginationAjax","loadMoreText","paginationText"]}))),(0,o.createElement)(d,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:e,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))),(0,a.dH)())}function v({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,titleShow:c,catPosition:u,titlePosition:d,excerptShow:m,readMore:g,metaPosition:y,catShow:b}=t.attributes,v=[i&&"bottom"==y,g,m,c&&0==d,i&&"top"==y,c&&1==d,b&&"aboveTitle"==u];if((0,s.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(p.Z,{store:t,selected:e,layoutContext:v});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,incSettings:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}}],exSettings:["paginationType"],exStyle:["pagiTypo","pagiMargin","pagiPadding"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor","titleBackground"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post"),include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}]}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catTypo","catSacing","catPadding"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}}]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exSettings:["imgMargin","imgWidth","imageScale","imgHeight"],exStyle:["imgMargin","imgWidth","imageScale","imgHeight"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},2829:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},columnFlip:{type:"boolean",default:!1,style:[{depends:[{key:"columnFlip",condition:"==",value:!0}]}]},columnGridGap:{type:"object",default:{lg:"20",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-row .ultp-block-item:first-child .ultp-block-content-overlay { height: calc(100% + {{columnGridGap}}); } \n          {{ULTP}} .ultp-layout4 .ultp-block-item:first-child .ultp-block-content-overlay { height: calc(100% + {{columnGridGap}}*2); } \n          {{ULTP}} .ultp-block-row { grid-row-gap: {{columnGridGap}}; } \n          {{ULTP}} .ultp-block-row {grid-column-gap: {{columnGridGap}}; }"}]},overlayHeight:{type:"object",default:{lg:"500",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-row .ultp-block-item:first-child {max-height: {{overlayHeight}};} \n          {{ULTP}} .ultp-layout1 .ultp-block-item:not(:first-child) .ultp-block-content-overlay {height: calc({{overlayHeight}}/2);} \n          {{ULTP}} .ultp-layout4 .ultp-block-item:not(:first-child) .ultp-block-content-overlay {height: calc({{overlayHeight}}/3);} \n          {{ULTP}} .ultp-layout2 .ultp-block-item:nth-child(2) .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout3 .ultp-block-item:nth-child(3) .ultp-block-content-overlay {height: calc( {{overlayHeight}}/2.5 );} \n          {{ULTP}} .ultp-layout3 .ultp-block-item:nth-child(2) .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout2 .ultp-block-item:nth-child(3) .ultp-block-content-overlay {height: calc( {{overlayHeight}}/1.666 );} \n          {{ULTP}} .ultp-block-item .ultp-block-image img, \n          {{ULTP}} .ultp-block-empty-image { width: 100%; object-fit: cover; height: 100%; } @media (max-width: 768px) { \n          {{ULTP}} .ultp-block-item .ultp-block-content-overlay .ultp-block-image img, \n          {{ULTP}} .ultp-block-content-overlay .ultp-block-empty-image { height: calc( {{overlayHeight}}/2 );}}"}]},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!1},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleTag:{type:"string",default:"h3"},titleAnimation:{type:"string",default:""},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"rgba(255,255,255,0.70)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"28",unit:"px"},height:{lg:"32",unit:"px"},decoration:"none",family:"",weight:"700"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-title a"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"26",unit:"px"},decoration:"none",family:"",weight:"600"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title, \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_landscape",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square"},imgAnimation:{type:"string",default:"zoomIn"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap, \n          {{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap:hover, \n          {{ULTP}} .ultp-block-content-wrap:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-overlay"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-content-overlay"}]},imgOverlay:{type:"boolean",default:!0},imgOverlayType:{type:"string",default:"flat",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},metaListSmall:{type:"string",default:'["metaAuthor","metaDate"]'},showSmallCat:{type:"boolean",default:!0},showSeoMeta:{type:"boolean",default:!1},showSmallExcerpt:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:20,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"#fff",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n          {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:15,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt{ padding: {{excerptPadding}}; }"}]},showSmallBtn:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: center; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-end;} \n          .rtl {{ULTP}} .ultp-block-meta {justify-content: start;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:" .rtl {{ULTP}} .ultp-block-readmore a {display:flex; flex-direction:row-reverse;justify-content: flex-end;}"}]},overlayContentPosition:{type:"string",default:"bottomPosition",style:[{depends:[{key:"overlayContentPosition",condition:"==",value:"topPosition"}],selector:"{{ULTP}} .ultp-block-content-topPosition { align-items:flex-start; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"middlePosition"}],selector:"{{ULTP}} .ultp-block-content-middlePosition { align-items:center; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"bottomPosition"}],selector:"{{ULTP}} .ultp-block-content-bottomPosition { align-items:flex-end; }"}]},overlayBgColor:{type:"object",default:{openColor:1,type:"color",color:""},style:[{selector:"{{ULTP}} .ultp-block-content-inner"}]},overlayWrapPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner { padding: {{overlayWrapPadding}}; }"}]},headingText:{type:"string",default:"Post Grid #4"},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto; }"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }{{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"navigation"},pagiMargin:{type:"object",default:{lg:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"}},style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}],selector:"{{ULTP}} .ultp-next-prev-wrap ul { margin:{{pagiMargin}}; }"}]},pagiAlign:{type:"object",default:{lg:"left"},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-loadmore, {{ULTP}} .ultp-next-prev-wrap ul, {{ULTP}} .ultp-pagination, {{ULTP}} .ultp-pagination-wrap { text-align:{{pagiAlign}}; }"}]},...(0,o.t)(["advFilter","heading","advanceAttr","pagiBlockCompatibility","pagination","video","meta","category","readMore","query"],["paginationAjax","pagiMargin","loadMoreText","pagiAlign","queryNumPosts"],[{key:"queryNumber",default:3},{key:"metaColor",default:"#F3F3F3"},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"readMoreColor",default:"#FFFFFF"}]),V4_1_0_CompCheck:a.O,...(0,i.b)({defColor:"#fff"})}},7127:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(2975),n=l(2829);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-grid-4/","block_docs"),r("ultimate-post/post-grid-4",{title:__("Post Grid #4","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-grid-4.svg"}),category:"ultimate-post",keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postgrid4.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},9234:(e,t,l)=>{"use strict";l.d(t,{Z:()=>U});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(6896),u=l(1411),d=l(8152),m=l(6005),g=l(9838),y=l(1760),b=l(3151),v=l(9735),h=l(2963),f=l(9349),k=l(7025),w=l(1057);const{__}=wp.i18n,{InspectorControls:x}=wp.blockEditor,{useEffect:T,useRef:S,useState:P,Fragment:C}=wp.element,{Spinner:E,Placeholder:_}=wp.components,{getBlockAttributes:L,getBlockRootClientId:I}=wp.data.select("core/block-editor");function U(e){const t=S(null),{setAttributes:l,name:U,clientId:B,className:M,attributes:A,isSelected:H,context:N,attributes:{blockId:j,excerptLimit:O,showSmallMeta:Z,metaStyle:R,metaShow:D,catShow:F,showImage:z,metaSeparator:W,titleShow:G,catStyle:V,catPosition:q,titlePosition:$,excerptShow:K,imgAnimation:J,imgOverlayType:Y,imgOverlay:X,metaList:Q,metaListSmall:ee,showSmallCat:te,readMore:le,readMoreText:oe,readMoreIcon:ae,overlayContentPosition:ie,showSmallBtn:ne,showSmallExcerpt:re,metaPosition:se,showFullExcerpt:pe,layout:ce,columnFlip:ue,titleAnimation:de,customCatColor:me,onlyCatColor:ge,contentTag:ye,titleTag:be,showSeoMeta:ve,titleLength:he,metaMinText:fe,metaAuthorPrefix:ke,titleStyle:we,metaDateFormat:xe,authorLink:Te,imgCrop:Se,imgCropSmall:Pe,fallbackEnable:Ce,vidIconEnable:Ee,notFoundMessage:_e,dcEnabled:Le,dcFields:Ie,previewImg:Ue,advanceId:Be,paginationShow:Me,headingShow:Ae,filterShow:He,paginationType:Ne,navPosition:je,V4_1_0_CompCheck:{runComp:Oe},currentPostId:Ze}}=e,[Re,De]=P(k.Ti);function Fe(e){De({...Re,selectedDC:e})}function ze(){De({...Re,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function We(e){De({...Re,section:{...k.ZQ,[e]:!0}}),(0,k.Rt)(e),(0,k.ob)(e)}function Ge(e){De((t=>({...t,toolbarSettings:e}))),(0,k.os)(e)}function Ve(){Re.error&&De({...Re,error:!1}),Re.loading||De({...Re,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(A)}).then((e=>{De({...Re,postsList:e,loading:!1})})).catch((e=>{De({...Re,loading:!1,error:!0})}))}T((()=>{(0,k.oA)(),Ve()}),[]),T((()=>{const t=B.substr(0,6),o=L(I(B));(0,i.qi)(l,o,Ze,B),(0,b.h)(e),j?j&&j!=t&&(o?.hasOwnProperty("ref")||(0,i.k0)()||o?.hasOwnProperty("theme")||l({blockId:t})):(l({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&l({queryType:"archiveBuilder"}))}),[B]),T((()=>{const e=t.current;(0,v.o6)()&&0===A.dcFields.length&&l({dcFields:Array(w.PR).fill(void 0)}),e?((0,i.Qr)(e,A)&&(Ve(),t.current=A),e.isSelected!==H&&H&&(0,k.gT)(We,Ge)):t.current=A}),[A]);const qe={setAttributes:l,name:U,attributes:A,setSection:We,section:Re.section,clientId:B,context:N,setSelectedDc:Fe,selectedDC:Re.selectedDC,selectParentMetaGroup:function(e){Fe(e),Ge("dc_group")}};let $e;return j&&($e=(0,g.Kh)(A,"ultimate-post/post-grid-5",j,(0,i.k0)())),Ue?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Ue}):(0,a.createElement)(C,null,(0,a.createElement)(w.FP,{store:qe,selected:Re.toolbarSettings}),(0,a.createElement)(x,null,(0,a.createElement)(w.ZP,{store:qe})),(0,a.createElement)(y.Z,{include:[{type:"query",exclude:["queryNumber","queryNumPosts"]},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",exclude:["columns","spaceSep","wrapOuterPadding","wrapMargin"]},{type:"layout",block:"post-grid-5",key:"layout",options:[{img:"assets/img/layouts/pg5/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pg5/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0}]},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),new:i.KE,[Oe?"exclude":"dep"]:i.N2,pro:["metaShow","catShow"]}],store:qe}),(0,a.createElement)("div",(0,o.Z)({},Be&&{id:Be},{className:`ultp-block-${j} ${M}`,onClick:e=>{e.stopPropagation(),We("general"),Ge("")}}),$e&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:$e}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(Ae||He||Me)&&(0,a.createElement)(s.m,{attributes:A,setAttributes:l,onClick:()=>{We("heading"),Ge("heading")},setSection:We,setToolbarSettings:Ge}),function(){const e=`${ye}`,t=(e,t)=>(0,v.o6)()&&Le&&(0,a.createElement)(f.Z,{idx:e,postId:t,fields:Ie,settingsOnClick:(e,t)=>{e?.stopPropagation(),Ge(t)},selectedDC:Re.selectedDC,setSelectedDc:Fe,setAttributes:l,dcFields:Ie});return Re.error?(0,a.createElement)(_,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):Re.loading?(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(E,null)):Re.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-row ultp-${ce} ultp-block-content-${ue}`},Re.postsList.map(((o,i)=>{const s=0==i||3==i?JSON.parse(Q.replaceAll("u0022",'"')):JSON.parse(ee.replaceAll("u0022",'"')),u=0==i?Se:Pe;return(0,a.createElement)(e,{key:i,className:`ultp-block-item post-id-${o.ID} ${de?"ultp-animation-"+de:""}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap ultp-block-content-overlay"},(0,a.createElement)(p.w4,{imgOverlay:X,imgOverlayType:Y,imgAnimation:J,post:o,fallbackEnable:Ce,vidIconEnable:Ee,catPosition:q,showImage:z,idx:i,showSmallCat:te,Category:0==i||te||3==i?"aboveTitle"!=q&&(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:o,catShow:F,catStyle:V,catPosition:q,customCatColor:me,onlyCatColor:ge,onClick:e=>{We("taxonomy-/-category"),Ge("cat")}})):null,onClick:()=>{We("image"),Ge("image")},imgSize:u}),Ee&&o.has_video&&(0,a.createElement)(p.nk,{onClick:()=>{We("video"),Ge("video")}}),(0,a.createElement)("div",{className:`ultp-block-content ultp-block-content-${ie}`},(0,a.createElement)("div",{className:"ultp-block-content-inner"},t(7,o.ID),"aboveTitle"==q&&(0==i||te||"layout3"==ce&&3==i)&&(0,a.createElement)(n.Z,{post:o,catShow:F,catStyle:V,catPosition:q,customCatColor:me,onlyCatColor:ge,onClick:e=>{We("taxonomy-/-category"),Ge("cat")}}),t(6,o.ID),o.title&&G&&1==$&&(0,a.createElement)(m.Z,{title:o.title,headingTag:be,titleLength:he,titleStyle:we,onClick:e=>{We("title"),Ge("title")}}),t(5,o.ID),(0==i||Z||"layout3"==ce&&3==i)&&D&&"top"==se&&(0,a.createElement)(c.Z,{meta:s,post:o,metaSeparator:W,metaStyle:R,metaMinText:fe,metaAuthorPrefix:ke,metaDateFormat:xe,authorLink:Te,onClick:e=>{We("meta"),Ge("meta")}}),t(4,o.ID),o.title&&G&&0==$&&(0,a.createElement)(m.Z,{title:o.title,headingTag:be,titleLength:he,titleStyle:we,onClick:e=>{We("title"),Ge("title")}}),t(3,o.ID),(0==i||re||"layout3"==ce&&3==i)&&K&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:o.excerpt,excerpt_full:o.excerpt_full,seo_meta:o.seo_meta,excerptLimit:O,showFullExcerpt:pe,showSeoMeta:ve,onClick:e=>{We("excerpt"),Ge("excerpt")}})),t(2,o.ID),(0==i||ne||"layout3"==ce&&3==i)&&le&&(0,a.createElement)(d.Z,{readMoreText:oe,readMoreIcon:ae,titleLabel:o.title,onClick:()=>{We("read-more"),Ge("read-more")}}),t(1,o.ID),(0==i||Z||"layout3"==ce&&3==i)&&D&&"bottom"==se&&(0,a.createElement)(c.Z,{meta:s,post:o,metaSeparator:W,metaStyle:R,metaMinText:fe,metaAuthorPrefix:ke,metaDateFormat:xe,authorLink:Te,onClick:e=>{We("meta"),Ge("meta")}}),t(0,o.ID),(0,v.o6)()&&Le&&(0,a.createElement)(h.Z,{dcFields:Ie,setAttributes:l,startOnboarding:ze,overlayMode:!0,inverseColor:!0})))))}))):(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:_e})}(),Me&&"navigation"==Ne&&"topRight"!=je&&(0,a.createElement)(u.Z,{onClick:()=>{We("pagination"),Ge("pagination")}}))))}},1057:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=8;function y({store:e}){const{queryType:t,titleAnimationArg:l,advFilterEnable:n,advPaginationEnable:r,V4_1_0_CompCheck:{runComp:u}}=e.attributes,{context:g,section:y}=e;return m((()=>{(0,d.CH)(g,n,e,r)}),[n,r,e.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6833",store:e}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:e,initialOpen:!0,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:["columns","queryNumber","queryNumPosts"],include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-grid-5",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pg5/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pg5/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pg5/l3.svg",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0}]}},{position:5,data:{type:"separator"}},{position:6,data:{type:"range",_inline:!0,key:"overlayHeight",min:0,max:800,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")}},{data:{type:"toggle",key:"columnFlip",pro:!0,label:__("Flip Layout","ultimate-post")}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:e,depend:"titleShow",initialOpen:y.title,include:[{position:5,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],hrIdx:[4,10]}),(0,o.createElement)(a.Hn,{isTab:!0,store:e,initialOpen:y.image,depend:"showImage",include:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin","imgWidth","imageScale","imgHeight"],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{pro:!0,isTab:!0,store:e,initialOpen:y.meta,depend:"metaShow",exclude:["metaSeparator","metaStyle","metaList","metaListSmall"],include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallMeta",label:__("Meta Small Item","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],hrIdx:[{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{pro:!0,isTab:!0,initialOpen:y["taxonomy-/-category"],depend:"catShow",store:e,exclude:["catPosition"],include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:y.excerpt,store:e,include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}],hrIdx:[4,7]}),(0,o.createElement)(a.oY,{isTab:!0,store:e,initialOpen:y["read-more"],depend:"readMore",include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:y.video,depend:"vidIconEnable",store:e,hrIdx:[5]}),(0,o.createElement)(a.fm,{store:e,include:l}),!u&&(0,o.createElement)(i.Z,{open:y.filter||y.pagination||y.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:e,initialOpen:y.heading,depend:"headingShow"}),"posts"!=t&&"customPosts"!=t&&(0,o.createElement)(a.B0,{pro:!0,isTab:!0,store:e,initialOpen:y.filter,depend:"filterShow",exclude:["filterType","filterValue"],include:[{position:1,data:a.YA},{position:2,data:a.sx}],hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{pro:!0,isTab:!0,store:e,initialOpen:y.pagination,depend:"paginationShow",include:[{position:1,data:{tab:"settings",type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}],exclude:["paginationType","paginationAjax","loadMoreText","paginationText","pagiMargin","navPosition"],hrIdx:[{tab:"style",hr:[4]}]}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:e,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))),(0,a.dH)())}function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:s,titleShow:p,catPosition:d,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,p&&0==m,i&&"top"==b,p&&1==m,f&&"aboveTitle"==d];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,exStyle:["filterTypo","fliterSpacing","fliterPadding"],exSettings:["filterValue","filterType"],incSettings:[{position:1,data:a.YA},{position:2,data:a.sx}]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiPadding","navMargin"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,exStyle:["pagiTypo","pagiMargin","pagiPadding","navMargin"],exSettings:["paginationType","paginationAjax","loadMoreText","paginationText","navPosition"],incSettings:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:["popupIconColor","popupHovColor","popupTitleColor","closeIconColor","closeHovColor"],exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:["popupIconColor","popupHovColor","popupTitleColor","closeIconColor","closeHovColor"]}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleBackground","titleHoverColor","titleAnimColor"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post"),include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}]}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,exSettings:["metaSeparator","metaStyle","metaList","metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing","metaSeparator","metaStyle","metaList"],incSettings:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallMeta",label:__("Meta Small Item","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catTypo","catSacing","catPadding"],exSettings:["catPosition"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exSettings:["imgMargin","imgWidth","imageScale","imgHeight"],exStyle:["imgMargin","imgWidth","imageScale","imgHeight"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},8158:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},overlayHeight:{type:"object",default:{lg:"500",unit:"px"},style:[{selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-overlay,\n          {{ULTP}} .ultp-layout1 .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout2 .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout2 .ultp-block-item:nth-child(2) .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout1 .ultp-block-item:nth-child(2) .ultp-block-content-overlay { height: calc({{overlayHeight}}/2); } \n          {{ULTP}} .ultp-layout1 .ultp-block-item:first-child, \n          {{ULTP}} .ultp-layout2 .ultp-block-item:first-child { max-height: {{overlayHeight}}; } \n          {{ULTP}} .ultp-block-row { max-height: {{overlayHeight}}; }\n          {{ULTP}} .ultp-block-item .ultp-block-image img, \n          {{ULTP}} .ultp-block-empty-image { width: 100%; object-fit: cover; height: 100%; } \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-image img, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-empty-image { width: 100%; object-fit: cover; height: 100%; } \n          @media (max-width: 768px) { \n            {{ULTP}} .ultp-block-item .ultp-block-content-overlay .ultp-block-image img, \n            {{ULTP}} ultp-block-content-overlay .ultp-block-empty-image { height: calc( {{overlayHeight}}/2 ); min-height: inherit; }\n          }"}]},columnGridGap:{type:"object",default:{lg:"5",unit:"px"},style:[{selector:"{{ULTP}} .ultp-layout1 .ultp-block-item:first-child .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout2 .ultp-block-item:first-child .ultp-block-content-overlay { height: calc(100% + {{columnGridGap}}); } \n          {{ULTP}} .ultp-block-row { grid-row-gap: {{columnGridGap}}; } \n          {{ULTP}} .ultp-block-row { grid-column-gap: {{columnGridGap}}; }"}]},titleShow:{type:"boolean",default:!0},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important;}"}]},titleHoverColor:{type:"string",default:"rgba(255,255,255,0.70)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"28",unit:"px"},height:{lg:"32",unit:"px"},decoration:"none",family:"",weight:"700"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-title a, \n          {{ULTP}} .ultp-layout3 .ultp-block-item:nth-child(4) .ultp-block-title, \n          {{ULTP}} .ultp-layout3 .ultp-block-item:nth-child(4) .ultp-block-title a"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"26",unit:"px"},decoration:"none",family:"",weight:"600"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap:not(.ultp-layout3) .ultp-block-item:not(:first-child) .ultp-block-title, \n          {{ULTP}} .ultp-block-items-wrap:not(.ultp-layout3) .ultp-block-item:not(:first-child) .ultp-block-title a, \n          {{ULTP}} .ultp-layout3 .ultp-block-item:not(:first-child):not(:nth-child(4)) .ultp-block-title, \n          {{ULTP}} .ultp-block-item:not(:first-child):not(:nth-child(4)) .ultp-block-title a "}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleAnimation:{type:"string",default:""},showImage:{type:"boolean",default:!0},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_landscape",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"gridStyle",condition:"!=",value:"style1"}]}]},imgAnimation:{type:"string",default:"zoomIn"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap, \n          {{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap:hover, \n          {{ULTP}} .ultp-block-content-wrap:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-overlay"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-content-overlay"}]},imgOverlay:{type:"boolean",default:!0},imgOverlayType:{type:"string",default:"simgleGradient",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSmallMeta:{type:"boolean",default:!0},metaListSmall:{type:"string",default:'["metaDate"]'},showSmallCat:{type:"boolean",default:!1},excerptShow:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showSmallExcerpt:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:20,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"#fff",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:15,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},showSmallBtn:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-start;}"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: center;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-end;} \n          .rtl {{ULTP}} .ultp-block-meta {justify-content: start;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:".rtl {{ULTP}} .ultp-block-readmore a {display:flex; flex-direction:row-reverse;justify-content: flex-end;}"}]},overlayContentPosition:{type:"string",default:"bottomPosition",style:[{depends:[{key:"overlayContentPosition",condition:"==",value:"topPosition"}],selector:"{{ULTP}} .ultp-block-content-topPosition { align-items:flex-start; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"middlePosition"}],selector:"{{ULTP}} .ultp-block-content-middlePosition { align-items:center; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"bottomPosition"}],selector:"{{ULTP}} .ultp-block-content-bottomPosition { align-items:flex-end; }"}]},overlayBgColor:{type:"object",default:{openColor:1,type:"color",color:""},style:[{selector:"{{ULTP}} .ultp-block-content-inner"}]},overlayWrapPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner { padding: {{overlayWrapPadding}}; }"}]},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},columnFlip:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},headingShow:{type:"boolean",default:!0},headingText:{type:"string",default:"Post Grid #5"},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto; }"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!1},paginationType:{type:"string",default:"navigation"},...(0,o.t)(["advFilter","heading","pagiBlockCompatibility","advanceAttr","video","pagination","meta","category","readMore","query"],["paginationText","loadMoreText","paginationAjax","pagiMargin","queryNumPosts"],[{key:"pagiAlign",default:{lg:"left"}},{key:"metaSeparator",default:"emptyspace"},{key:"metaColor",default:"#F3F3F3"},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"metaSpacing",default:{lg:"10",unit:"px"}},{key:"metaList",default:'["metaAuthor","metaDate"]'},{key:"catBgHoverColor",default:{openColor:1,type:"color",color:"var(--postx_preset_Secondary_color)"}},{key:"catHoverColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"catBgColor",default:{openColor:1,type:"color",color:"var(--postx_preset_Primary_color)"}},{key:"catColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"catLineHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catLineColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"readMoreColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"readMoreBgColor",default:"var(--postx_preset_Primary_color)"},{key:"readMoreBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Secondary_color)"}}]),V4_1_0_CompCheck:a.O,...(0,i.b)({defColor:"#fff"})}},1693:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(9234),n=l(8158);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-grid-5/","block_docs"),r("ultimate-post/post-grid-5",{title:__("Post Grid #5","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-grid-5.svg"}),category:"ultimate-post",keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postgrid5.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},3230:(e,t,l)=>{"use strict";l.d(t,{Z:()=>U});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(6896),u=l(1411),d=l(8152),m=l(6005),g=l(9838),y=l(1760),b=l(3151),v=l(9735),h=l(2963),f=l(9349),k=l(7025),w=l(1766);const{__}=wp.i18n,{InspectorControls:x}=wp.blockEditor,{useEffect:T,useState:S,useRef:P,Fragment:C}=wp.element,{Spinner:E,Placeholder:_}=wp.components,{getBlockAttributes:L,getBlockRootClientId:I}=wp.data.select("core/block-editor");function U(e){const t=P(null),[l,U]=S(k.Ti),{setAttributes:B,name:M,attributes:A,clientId:H,isSelected:N,className:j,context:O,attributes:{blockId:Z,excerptLimit:R,metaStyle:D,metaShow:F,showSmallMeta:z,catShow:W,showImage:G,metaSeparator:V,titleShow:q,catStyle:$,catPosition:K,titlePosition:J,excerptShow:Y,imgAnimation:X,imgOverlayType:Q,imgOverlay:ee,metaList:te,metaListSmall:le,showSmallCat:oe,readMore:ae,readMoreText:ie,readMoreIcon:ne,overlayContentPosition:re,showSmallBtn:se,showSmallExcerpt:pe,metaPosition:ce,showFullExcerpt:ue,layout:de,columnFlip:me,titleAnimation:ge,customCatColor:ye,onlyCatColor:be,contentTag:ve,titleTag:he,showSeoMeta:fe,titleLength:ke,metaMinText:we,metaAuthorPrefix:xe,titleStyle:Te,metaDateFormat:Se,authorLink:Pe,imgCrop:Ce,imgCropSmall:Ee,fallbackEnable:_e,vidIconEnable:Le,notFoundMessage:Ie,dcEnabled:Ue,dcFields:Be,previewImg:Me,advanceId:Ae,paginationShow:He,headingShow:Ne,filterShow:je,paginationType:Oe,navPosition:Ze,V4_1_0_CompCheck:{runComp:Re},currentPostId:De}}=e;function Fe(e){U({...l,selectedDC:e})}function ze(){U({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function We(e){U({...l,section:{...k.ZQ,[e]:!0}}),(0,k.Rt)(e),(0,k.ob)(e)}function Ge(e){U((t=>({...t,toolbarSettings:e}))),(0,k.os)(e)}function Ve(){l.error&&U({...l,error:!1}),l.loading||U({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(A)}).then((e=>{U({...l,postsList:e,loading:!1})})).catch((e=>{U({...l,loading:!1,error:!0})}))}T((()=>{(0,k.oA)(),Ve()}),[]),T((()=>{const t=H.substr(0,6),l=L(I(H));(0,i.qi)(B,l,De,H),(0,b.h)(e),Z?Z&&Z!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||B({blockId:t})):(B({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&B({queryType:"archiveBuilder"}))}),[H]),T((()=>{const e=t.current;(0,v.o6)()&&0===A.dcFields.length&&B({dcFields:Array(w.PR).fill(void 0)}),e?((0,i.Qr)(e,A)&&(Ve(),t.current=A),e.isSelected!==N&&N&&(0,k.gT)(We,Ge)):t.current=A}),[A]);const qe={setAttributes:B,name:M,attributes:A,setSection:We,section:l.section,clientId:H,context:O,setSelectedDc:Fe,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){Fe(e),Ge("dc_group")}};let $e;return Z&&($e=(0,g.Kh)(A,"ultimate-post/post-grid-6",Z,(0,i.k0)())),Me?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Me}):(0,a.createElement)(C,null,(0,a.createElement)(w.FP,{store:qe,selected:l.toolbarSettings}),(0,a.createElement)(y.Z,{include:[{type:"query",exclude:["queryNumber","queryNumPosts"]},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",exclude:["columns","spaceSep","wrapOuterPadding","wrapMargin"]},{type:"layout",block:"post-grid-6",key:"layout",options:[{img:"assets/img/layouts/pg6/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pg6/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0}]},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),new:i.KE,[Re?"exclude":"dep"]:i.N2,pro:["metaShow","catShow"]}],store:qe}),(0,a.createElement)(x,null,(0,a.createElement)(w.ZP,{store:qe})),(0,a.createElement)("div",(0,o.Z)({},Ae&&{id:Ae},{className:`ultp-block-${Z} ${j}`,onClick:e=>{e.stopPropagation(),We("general"),Ge("")}}),$e&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:$e}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(Ne||je||He)&&(0,a.createElement)(s.m,{attributes:A,setAttributes:B,onClick:()=>{We("heading"),Ge("heading")},setSection:We,setToolbarSettings:Ge}),function(){const e=`${ve}`,t=(e,t)=>(0,v.o6)()&&Ue&&(0,a.createElement)(f.Z,{idx:e,postId:t,fields:Be,settingsOnClick:(e,t)=>{e?.stopPropagation(),Ge(t)},selectedDC:l.selectedDC,setSelectedDc:Fe,setAttributes:B,dcFields:Be});return l.error?(0,a.createElement)(_,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(E,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-row ultp-${de} ultp-block-content-${me}`},l.postsList.map(((l,o)=>{const i=0==o?JSON.parse(te.replaceAll("u0022",'"')):JSON.parse(le.replaceAll("u0022",'"')),s=0==o?Ce:Ee;return(0,a.createElement)(e,{key:o,className:`ultp-block-item post-id-${l.ID} ultp-block-item-${o} ${ge?"ultp-animation-"+ge:""}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap ultp-block-content-overlay"},(0,a.createElement)(p.MV,{imgOverlay:ee,imgOverlayType:Q,imgAnimation:X,post:l,fallbackEnable:_e,vidIconEnable:Le,catPosition:K,showImage:G,idx:o,showSmallCat:oe,imgSize:s,Category:0!=o&&!oe||"aboveTitle"==K?null:(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:W,catStyle:$,catPosition:K,customCatColor:ye,onlyCatColor:be,onClick:e=>{We("taxonomy-/-category"),Ge("cat")}})),onClick:()=>{We("image"),Ge("image")}}),Le&&l.has_video&&(0,a.createElement)(p.nk,{onClick:()=>{We("video"),Ge("video")}}),(0,a.createElement)("div",{className:`ultp-block-content ultp-block-content-${re}`},(0,a.createElement)("div",{className:"ultp-block-content-inner"},t(7,l.ID),"aboveTitle"==K&&(0==o||oe)&&(0,a.createElement)(n.Z,{post:l,catShow:W,catStyle:$,catPosition:K,customCatColor:ye,onlyCatColor:be,onClick:e=>{We("taxonomy-/-category"),Ge("cat")}}),t(6,l.ID),l.title&&q&&1==J&&(0,a.createElement)(m.Z,{title:l.title,headingTag:he,titleLength:ke,titleStyle:Te,onClick:e=>{We("title"),Ge("title")}}),t(5,l.ID),(0==o||z)&&F&&"top"==ce&&(0,a.createElement)(c.Z,{meta:i,post:l,metaSeparator:V,metaStyle:D,metaMinText:we,metaAuthorPrefix:xe,metaDateFormat:Se,authorLink:Pe,onClick:e=>{We("meta"),Ge("meta")}}),t(4,l.ID),l.title&&q&&0==J&&(0,a.createElement)(m.Z,{title:l.title,headingTag:he,titleLength:ke,titleStyle:Te,onClick:e=>{We("title"),Ge("title")}}),t(3,l.ID),(0==o||pe)&&Y&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:R,showFullExcerpt:ue,showSeoMeta:fe,onClick:e=>{We("excerpt"),Ge("excerpt")}})),t(2,l.ID),(0==o||se)&&ae&&(0,a.createElement)(d.Z,{readMoreText:ie,readMoreIcon:ne,titleLabel:l.title,onClick:()=>{We("read-more"),Ge("read-more")}}),t(1,l.ID),(0==o||z)&&F&&"bottom"==ce&&(0,a.createElement)(c.Z,{meta:i,post:l,metaSeparator:V,metaStyle:D,metaMinText:we,metaAuthorPrefix:xe,metaDateFormat:Se,authorLink:Pe,onClick:e=>{We("meta"),Ge("meta")}}),t(0,l.ID),(0,v.o6)()&&Ue&&(0,a.createElement)(h.Z,{dcFields:Be,setAttributes:B,startOnboarding:ze,overlayMode:!0,inverseColor:!0})))))}))):(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:Ie})}(),He&&"navigation"==Oe&&"topRight"!=Ze&&(0,a.createElement)(u.Z,{onClick:()=>{We("pagination"),Ge("pagination")}}))))}},1766:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=8;function y({store:e}){const{queryType:t,titleAnimationArg:l,advFilterEnable:n,advPaginationEnable:r,V4_1_0_CompCheck:{runComp:u}}=e.attributes,{context:g,section:y}=e;return m((()=>{(0,d.CH)(g,n,e,r)}),[n,r,e.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6834",store:e}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:e,initialOpen:y.general,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:["columns","columnGridGap","queryNumber","queryNumPosts"],include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-grid-6",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pg6/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pg6/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0}]}},{position:5,data:{type:"separator"}},{position:6,data:{type:"range",_inline:!0,key:"overlayHeight",min:0,max:800,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")}},{position:7,data:{type:"range",_inline:!0,key:"columnGridGap",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Gap","ultimate-post")}},{data:{type:"toggle",key:"columnFlip",label:__("Flip Layout","ultimate-post"),pro:!0}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:e,depend:"titleShow",initialOpen:y.title,include:[{position:5,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],hrIdx:[4,10]}),(0,o.createElement)(a.Hn,{isTab:!0,store:e,initialOpen:y.image,include:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin","imgWidth","imageScale","imgHeight"],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:e,depend:"metaShow",initialOpen:y.meta,exclude:["metaSeparator","metaStyle","metaList","metaListSmall"],include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallMeta",label:__("Meta Small Item","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:y["taxonomy-/-category"],depend:"catShow",store:e,exclude:["catPosition"],include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:{...a.WJ,tab:"settings"}}],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:y.excerpt,store:e,include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}],hrIdx:[4,7]}),(0,o.createElement)(a.oY,{isTab:!0,store:e,initialOpen:y["read-more"],depend:"readMore",include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:y.video,depend:"vidIconEnable",store:e,hrIdx:[5]}),(0,o.createElement)(a.fm,{store:e,include:l}),!u&&(0,o.createElement)(i.Z,{open:y.filter||y.pagination||y.heading},(0,o.createElement)(a.Wh,{depend:"headingShow",store:e,isTab:!0,initialOpen:y.heading}),"posts"!=t&&"customPosts"!=t&&(0,o.createElement)(a.B0,{pro:!0,isTab:!0,store:e,initialOpen:y.filter,depend:"filterShow",exclude:["filterType","filterValue"],include:[{position:2,data:a.YA},{position:3,data:a.sx}],hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{pro:!0,isTab:!0,initialOpen:y.pagination,depend:"paginationShow",store:e,include:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}],exclude:["paginationType","paginationAjax","loadMoreText","paginationText","pagiMargin","navPosition"]}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:e,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))),(0,a.dH)())}function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,titleShow:s,catPosition:p,titlePosition:d,excerptShow:m,readMore:g,metaPosition:y,catShow:b}=t.attributes,v=[i&&"bottom"==y,g,m,s&&0==d,i&&"top"==y,s&&1==d,b&&"aboveTitle"==p];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:v});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,incSettings:[{position:1,data:a.YA},{position:2,data:a.sx}],exSettings:["filterType","filterValue"],exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiPadding","navMargin"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,incSettings:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}],exSettings:["paginationType","paginationAjax","loadMoreText","paginationText","navPosition"],exStyle:["pagiMargin","pagiPadding","navMargin"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor","titleBackground"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleTypo","titleColor","titleHoverColor","titleBackground"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post"),include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}]}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,incSettings:[{position:0,data:{type:"toggle",key:"showSmallMeta",label:__("Meta Small Item","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],exSettings:["metaSeparator","metaStyle","metaList","metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catTypo","catSacing","catPadding"],exSettings:["catPosition"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exStyle:["imgMargin","imgWidth","imageScale","imgHeight"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},1962:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},headingShow:{type:"boolean",default:!0},columnFlip:{type:"boolean",default:!1},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},columnGridGap:{type:"object",default:{lg:"5",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-row .ultp-block-item:first-child .ultp-block-content-overlay { height: calc(100% + {{columnGridGap}}); } \n          {{ULTP}} .ultp-block-row { grid-row-gap: {{columnGridGap}}; } \n          {{ULTP}} .ultp-block-row { grid-column-gap: {{columnGridGap}}; }"}]},overlayHeight:{type:"object",default:{lg:"500",unit:"px"},anotherKey:"columnGridGap",style:[{selector:"{{ULTP}} .ultp-block-row .ultp-block-content-overlay  { height: calc({{overlayHeight}}/2 - {{columnGridGap}}px / 2 ); } \n          {{ULTP}} .ultp-block-row .ultp-block-item:first-child {max-height: {{overlayHeight}};} \n          {{ULTP}} .ultp-block-row { max-height: {{overlayHeight}}; } \n          {{ULTP}} .ultp-block-item .ultp-block-image img, \n          {{ULTP}} .ultp-block-empty-image, \n          {{ULTP}} .ultp-block-row .ultp-block-item:first-child .ultp-block-image img, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-empty-image {width: 100%; object-fit: cover; height: 100%; } \n          {{ULTP}} .ultp-block-row .ultp-block-item:first-child .ultp-block-image img {min-height: {{overlayHeight}};} \n          @media (max-width: 768px) { \n            {{ULTP}} .ultp-block-item .ultp-block-content-overlay .ultp-block-image img, \n            {{ULTP}} .ultp-block-content-overlay .ultp-block-empty-image { height: calc( {{overlayHeight}}/2 ); min-height: inherit;}\n          }"}]},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titleAnimation:{type:"string",default:""},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"rgba(255,255,255,0.70)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"28",unit:"px"},height:{lg:"32",unit:"px"},decoration:"none",family:"",weight:"700"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-title a"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"26",unit:"px"},decoration:"none",family:"",weight:"600"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title, \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},showImage:{type:"boolean",default:!0},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_landscape",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"gridStyle",condition:"!=",value:"style1"}]}]},imgAnimation:{type:"string",default:"zoomIn"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap, \n          {{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap:hover, \n          {{ULTP}} .ultp-block-content-wrap:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-overlay"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-content-overlay"}]},imgOverlay:{type:"boolean",default:!0},imgOverlayType:{type:"string",default:"simgleGradient",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSmallCat:{type:"boolean",default:!1},metaListSmall:{type:"string",default:'["metaDate"]'},showSmallMeta:{type:"boolean",default:!1},excerptShow:{type:"boolean",default:!0},showSeoMeta:{type:"boolean",default:!1},showSmallExcerpt:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:20,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"#fff",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:15,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},showSmallBtn:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-start;}"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: center;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-end; } \n          .rtl {{ULTP}} .ultp-block-meta { justify-content: start; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:".rtl {{ULTP}} .ultp-block-readmore a { display:flex; flex-direction:row-reverse;justify-content: flex-end; }"}]},overlayContentPosition:{type:"string",default:"bottomPosition",style:[{depends:[{key:"overlayContentPosition",condition:"==",value:"topPosition"}],selector:"{{ULTP}} .ultp-block-content-topPosition { align-items:flex-start; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"middlePosition"}],selector:"{{ULTP}} .ultp-block-content-middlePosition { align-items:center; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"bottomPosition"}],selector:"{{ULTP}} .ultp-block-content-bottomPosition { align-items:flex-end; }"}]},overlayBgColor:{type:"object",default:{openColor:1,type:"color",color:""},style:[{selector:"{{ULTP}} .ultp-block-content-inner"}]},overlayWrapPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner { padding: {{overlayWrapPadding}}; }"}]},headingText:{type:"string",default:"Post Grid #6"},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto; }"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }{{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationShow:{type:"boolean",default:!1},paginationType:{type:"string",default:"navigation"},...(0,o.t)(["advFilter","pagiBlockCompatibility","heading","advanceAttr","pagination","video","meta","category","readMore","query"],["paginationText","loadMoreText","paginationAjax","pagiMargin","queryNumPosts"],[{key:"queryNumber",default:5},{key:"pagiAlign",default:{lg:"left"}},{key:"metaSeparator",default:"emptyspace"},{key:"metaList",default:'["metaAuthor","metaDate"]'},{key:"metaColor",default:"#F3F3F3"},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"metaSpacing",default:{lg:"10",unit:"px"}},{key:"catHoverColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"readMoreColor",default:"#fff"}]),V4_1_0_CompCheck:a.O,...(0,i.b)({defColor:"#fff"})}},6405:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(3230),n=l(1962);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-grid-6/","block_docs"),r("ultimate-post/post-grid-6",{title:__("Post Grid #6","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-grid-6.svg"}),category:"ultimate-post",keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postgrid6.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},2705:(e,t,l)=>{"use strict";l.d(t,{Z:()=>U});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(6896),u=l(1411),d=l(8152),m=l(6005),g=l(9838),y=l(1760),b=l(3151),v=l(9735),h=l(2963),f=l(9349),k=l(7025),w=l(1070);const{__}=wp.i18n,{InspectorControls:x}=wp.blockEditor,{useEffect:T,useRef:S,useState:P,Fragment:C}=wp.element,{Spinner:E,Placeholder:_}=wp.components,{getBlockAttributes:L,getBlockRootClientId:I}=wp.data.select("core/block-editor");function U(e){const t=S(null),[l,U]=P(k.Ti),{setAttributes:B,name:M,attributes:A,clientId:H,context:N,isSelected:j,className:O,attributes:{blockId:Z,excerptLimit:R,metaStyle:D,metaShow:F,catShow:z,showImage:W,metaSeparator:G,titleShow:V,catStyle:q,catPosition:$,titlePosition:K,excerptShow:J,imgAnimation:Y,imgOverlayType:X,imgOverlay:Q,metaList:ee,metaListSmall:te,showSmallCat:le,readMore:oe,readMoreText:ae,readMoreIcon:ie,overlayContentPosition:ne,showSmallBtn:re,showSmallExcerpt:se,metaPosition:pe,showFullExcerpt:ce,layout:ue,titleAnimation:de,customCatColor:me,onlyCatColor:ge,contentTag:ye,titleTag:be,showSeoMeta:ve,titleLength:he,metaMinText:fe,metaAuthorPrefix:ke,titleStyle:we,metaDateFormat:xe,authorLink:Te,imgCrop:Se,imgCropSmall:Pe,fallbackEnable:Ce,vidIconEnable:Ee,notFoundMessage:_e,dcEnabled:Le,dcFields:Ie,previewImg:Ue,advanceId:Be,paginationShow:Me,headingShow:Ae,filterShow:He,paginationType:Ne,navPosition:je,V4_1_0_CompCheck:{runComp:Oe},currentPostId:Ze}}=e;function Re(e){U({...l,selectedDC:e})}function De(){U({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function Fe(e){U({...l,section:{...k.ZQ,[e]:!0}}),(0,k.Rt)(e),(0,k.ob)(e)}function ze(e){U((t=>({...t,toolbarSettings:e}))),(0,k.os)(e)}function We(){l.error&&U({...l,error:!1}),l.loading||U({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(A)}).then((e=>{U({...l,postsList:e,loading:!1})})).catch((e=>{U({...l,loading:!1,error:!0})}))}T((()=>{(0,k.oA)(),We()}),[]),T((()=>{const t=H.substr(0,6),l=L(I(H));(0,i.qi)(B,l,Ze,H),(0,b.h)(e),Z?Z&&Z!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||B({blockId:t})):(B({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&B({queryType:"archiveBuilder"}))}),[H]),T((()=>{const e=t.current;(0,v.o6)()&&0===A.dcFields.length&&B({dcFields:Array(w.PR).fill(void 0)}),e?((0,i.Qr)(e,A)&&(We(),t.current=A),e.isSelected!==j&&j&&(0,k.gT)(Fe,ze)):t.current=A}),[A]);const Ge={setAttributes:B,name:M,attributes:A,setSection:Fe,section:l.section,clientId:H,context:N,setSelectedDc:Re,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){Re(e),ze("dc_group")}};let Ve;return Z&&(Ve=(0,g.Kh)(A,"ultimate-post/post-grid-7",Z,(0,i.k0)())),Ue?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Ue}):(0,a.createElement)(C,null,(0,a.createElement)(w.FP,{store:Ge,selected:l.toolbarSettings}),(0,a.createElement)(x,null,(0,a.createElement)(w.ZP,{store:Ge})),(0,a.createElement)(y.Z,{include:[{type:"query",exclude:["queryNumber","queryNumPosts"]},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",exclude:["columns","spaceSep","wrapOuterPadding","wrapMargin"]},{type:"layout",block:"post-grid-7",key:"layout",options:[{img:"assets/img/layouts/pg7/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pg7/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pg7/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0}]},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),new:i.KE,[Oe?"exclude":"dep"]:i.N2,pro:["metaShow","catShow"]}],store:Ge}),(0,a.createElement)("div",(0,o.Z)({},Be&&{id:Be},{className:`ultp-block-${Z} ${O}`,onClick:e=>{e.stopPropagation(),Fe("general"),ze("")}}),Ve&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:Ve}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(Ae||He||Me)&&(0,a.createElement)(s.m,{attributes:A,setAttributes:B,onClick:()=>{Fe("heading"),ze("heading")},setSection:Fe,setToolbarSettings:ze}),function(){const e=`${ye}`,t=(e,t)=>(0,v.o6)()&&Le&&(0,a.createElement)(f.Z,{idx:e,postId:t,fields:Ie,settingsOnClick:(e,t)=>{e?.stopPropagation(),ze(t)},selectedDC:l.selectedDC,setSelectedDc:Re,setAttributes:B,dcFields:Ie});return l.error?(0,a.createElement)(_,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(E,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-row ultp-${ue}`},l.postsList.map(((l,o)=>{const i=0==o||3==o?JSON.parse(ee.replaceAll("u0022",'"')):JSON.parse(te.replaceAll("u0022",'"')),s=0==o?Se:Pe;return(0,a.createElement)(e,{key:o,className:`ultp-block-item post-id-${l.ID} ultp-block-item-${o} ${de?"ultp-animation-"+de:""}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap ultp-block-content-overlay"},(0,a.createElement)(p.En,{imgOverlay:Q,imgOverlayType:X,imgAnimation:Y,post:l,fallbackEnable:Ce,vidIconEnable:Ee,catPosition:$,showImage:W,idx:o,showSmallCat:le,imgSize:s,layout:ue,Category:(0==o||le||3==o&&"layout4"==ue)&&"aboveTitle"!=$?(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:z,catStyle:q,catPosition:$,customCatColor:me,onlyCatColor:ge,onClick:e=>{Fe("taxonomy-/-category"),ze("cat")}})):null,onClick:()=>{Fe("image"),ze("image")}}),Ee&&l.has_video&&(0,a.createElement)(p.nk,{onClick:()=>{Fe("video"),ze("video")}}),(0,a.createElement)("div",{className:`ultp-block-content ultp-block-content-${ne}`},(0,a.createElement)("div",{className:"ultp-block-content-inner"},t(7,l.ID),"aboveTitle"==$&&(0==o||le||3==o&&"layout4"==ue)&&(0,a.createElement)(n.Z,{post:l,catShow:z,catStyle:q,catPosition:$,customCatColor:me,onlyCatColor:ge,onClick:e=>{Fe("taxonomy-/-category"),ze("cat")}}),t(6,l.ID),l.title&&V&&1==K&&(0,a.createElement)(m.Z,{title:l.title,headingTag:be,titleLength:he,titleStyle:we,onClick:e=>{Fe("title"),ze("title")}}),t(5,l.ID),F&&"top"==pe&&(0,a.createElement)(c.Z,{meta:i,post:l,metaSeparator:G,metaStyle:D,metaMinText:fe,metaAuthorPrefix:ke,metaDateFormat:xe,authorLink:Te,onClick:e=>{Fe("meta"),ze("meta")}}),t(4,l.ID),l.title&&V&&0==K&&(0,a.createElement)(m.Z,{title:l.title,headingTag:be,titleLength:he,titleStyle:we,onClick:e=>{Fe("title"),ze("title")}}),t(3,l.ID),(0==o||se||3==o&&"layout4"==ue)&&J&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:R,showFullExcerpt:ce,showSeoMeta:ve,onClick:e=>{Fe("excerpt"),ze("excerpt")}})),t(2,l.ID),(0==o||re||3==o&&"layout4"==ue)&&oe&&(0,a.createElement)(d.Z,{readMoreText:ae,readMoreIcon:ie,titleLabel:l.title,onClick:()=>{Fe("read-more"),ze("read-more")}}),t(1,l.ID),F&&"bottom"==pe&&(0,a.createElement)(c.Z,{meta:i,post:l,metaSeparator:G,metaStyle:D,metaMinText:fe,metaAuthorPrefix:ke,metaDateFormat:xe,authorLink:Te,onClick:e=>{Fe("meta"),ze("meta")}}),t(0,l.ID),(0,v.o6)()&&Le&&(0,a.createElement)(h.Z,{dcFields:Ie,setAttributes:B,startOnboarding:De,overlayMode:!0,inverseColor:!0})))))}))):(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:_e})}(),Me&&"navigation"==Ne&&"topRight"!=je&&(0,a.createElement)(u.Z,{onClick:()=>{Fe("pagination"),ze("pagination")}}))))}},1070:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(3581),n=l(2637),r=l(7025),s=l(8156),p=l(2258),c=l(3448),u=l(9735),d=l(2473);const{__}=wp.i18n,{useEffect:m}=wp.element,g=8,y=e=>{const{store:t}=e,{queryType:l,advFilterEnable:p,advPaginationEnable:c,V4_1_0_CompCheck:{runComp:d}}=t.attributes,{context:g,section:y}=t;return m((()=>{(0,r.CH)(g,p,t,c)}),[p,c,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(i.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6835",store:t}),(0,o.createElement)(n.Sections,null,(0,o.createElement)(n.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:t,initialOpen:!0,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:["columns","queryNumber","queryNumPosts"],include:[{position:0,data:{type:(0,u.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-grid-7",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pg7/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pg7/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pg7/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pg7/l4.svg",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0}]}},{position:5,data:{type:"separator"}},{position:6,data:{type:"range",key:"overlayHeight",min:0,max:800,_inline:!0,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:y.title,include:[{position:5,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],hrIdx:[4,10]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:y.image,include:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin","imgWidth","imageScale","imgHeight"],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{pro:!0,isTab:!0,store:t,depend:"metaShow",initialOpen:y.meta,exclude:["metaSeparator","metaStyle","metaList","metaListSmall"],include:[{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{pro:!0,isTab:!0,initialOpen:y["taxonomy-/-category"],depend:"catShow",store:t,exclude:["catPosition"],include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:y.excerpt,store:t,include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}],hrIdx:[4,7]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:y["read-more"],depend:"readMore",include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:y.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),(0,o.createElement)(a.fm,{store:t,include:a.aG}),!d&&(0,o.createElement)(s.Z,{open:y.filter||y.pagination||y.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:y.heading,depend:"headingShow"}),"posts"!=l&&"customPosts"!=l&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:y.filter,depend:"filterShow",exclude:["filterType","filterValue"],include:[{position:2,data:a.YA},{position:3,data:a.sx}],hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,initialOpen:y.pagination,depend:"paginationShow",store:t,include:[{position:3,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:3,data:a.dT}],exclude:["paginationType","paginationAjax","loadMoreText","paginationText","navPosition","pagiMargin"],hrIdx:[{tab:"style",hr:[4]}]}))),(0,o.createElement)(n.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:n,titleShow:r,catPosition:s,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,r&&0==m,i&&"top"==b,r&&1==m,f&&"aboveTitle"==s];if((0,u.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(d.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(p.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,incSettings:[{position:1,data:a.YA},{position:2,data:a.sx}],exSettings:["filterType","filterValue"],exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(p.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(p.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["navMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,incSettings:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}],exStyle:["pagiTypo","pagiMargin","pagiPadding","navMargin"],exSettings:["paginationType","paginationAjax","loadMoreText","paginationText","navPosition"]}));case"video":return(0,o.createElement)(p.Z,{text:"Video"},(0,o.createElement)(c.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(p.Z,{text:"Title"},(0,o.createElement)(c.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor","titleBackground"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleTypo","titleColor","titleHoverColor","titleBackground"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(p.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post"),include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}]}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(p.Z,{text:"Meta",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,incSettings:[{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"],exSettings:["metaSeparator","metaStyle","metaList","metaListSmall"]}));case"read-more":return(0,o.createElement)(p.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}]}));case"cat":return(0,o.createElement)(p.Z,{text:"Taxonomy/Category",pro:!0},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(c.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catPosition","catTypo","catSacing","catPadding"],exSettings:["catPosition"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}]}));case"image":return(0,o.createElement)(p.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exSettings:["imgMargin","imgWidth","imageScale","imgHeight"],exStyle:["imgMargin","imgWidth","imageScale","imgHeight"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},7602:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!1},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},columnGridGap:{type:"object",default:{lg:"5",unit:"px"},style:[{selector:"{{ULTP}} .ultp-layout1 .ultp-block-item:first-child .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout1 .ultp-block-item:nth-child(2) .ultp-block-content-overlay { height: calc(100% + {{columnGridGap}}); } \n          {{ULTP}} .ultp-block-row { grid-row-gap: {{columnGridGap}}; } \n          {{ULTP}} .ultp-block-row {grid-column-gap: {{columnGridGap}}; }"}]},overlayHeight:{type:"object",default:{lg:"500",unit:"px"},style:[{selector:"{{ULTP}} .ultp-layout4 .ultp-block-item:nth-child(2) .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout4 .ultp-block-item:nth-child(3) .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout1 .ultp-block-item:nth-child(3) .ultp-block-content-overlay, \n          {{ULTP}} .ultp-layout1 .ultp-block-item:nth-child(4) .ultp-block-content-overlay {height: calc({{overlayHeight}}/2);} \n          {{ULTP}} .ultp-layout1 .ultp-block-item:first-child, \n          {{ULTP}} .ultp-layout1 .ultp-block-item:nth-child(2) {max-height: {{overlayHeight}};} \n          {{ULTP}} .ultp-block-row {max-height: {{overlayHeight}};} \n          {{ULTP}} .ultp-block-item .ultp-block-image img, \n          {{ULTP}} .ultp-block-empty-image, \n          {{ULTP}} .ultp-block-row .ultp-block-item:first-child .ultp-block-image img, \n          {{ULTP}} .ultp-block-row .ultp-block-item:first-child .ultp-block-empty-image {width: 100%; object-fit: cover; height: 100%; } \n          {{ULTP}} .ultp-layout3 .ultp-block-item .ultp-block-image img, \n          {{ULTP}} .ultp-layout2 .ultp-block-item .ultp-block-image img {height: {{overlayHeight}};} \n          {{ULTP}} .ultp-layout1 .ultp-block-item:nth-child(2) .ultp-block-image img {min-height: {{overlayHeight}};} \n          @media (max-width: 768px) { \n            {{ULTP}} .ultp-block-item .ultp-block-content-overlay .ultp-block-image img, \n            {{ULTP}} .ultp-block-content-overlay .ultp-block-empty-image { height: calc( {{overlayHeight}}/2 ); min-height: inherit;}\n          }"}]},titleShow:{type:"boolean",default:!0},titleTag:{type:"string",default:"h3"},titleAnimation:{type:"string",default:""},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"rgba(255,255,255,0.70)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"28",xs:"18",unit:"px"},height:{lg:"32",unit:"px"},decoration:"none",family:"",weight:"700"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-title a, \n          {{ULTP}} .ultp-layout4 .ultp-block-item:nth-child(4) .ultp-block-title, \n          {{ULTP}} .ultp-layout4 .ultp-block-item:nth-child(4) .ultp-block-title a"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"20",xs:"14",unit:"px"},height:{lg:"26",unit:"px"},decoration:"none",family:"",weight:"600"},style:[{depends:[{key:"titleShow",condition:"==",value:!0},{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap:not(.ultp-layout4) .ultp-block-item:not(:first-child) .ultp-block-title, \n          {{ULTP}} .ultp-block-items-wrap:not(.ultp-layout4) .ultp-block-item:not(:first-child) .ultp-block-title a, \n          {{ULTP}} .ultp-layout4 .ultp-block-item:not(:first-child):not(:nth-child(4)) .ultp-block-title, \n          {{ULTP}} .ultp-layout4 .ultp-block-item:not(:first-child):not(:nth-child(4)) .ultp-block-title a "}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},showImage:{type:"boolean",default:!0},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_landscape",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"gridStyle",condition:"!=",value:"style1"}]}]},imgAnimation:{type:"string",default:"zoomIn"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap, \n          {{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap:hover, \n          {{ULTP}} .ultp-block-content-wrap:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-overlay"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-content-overlay"}]},imgOverlay:{type:"boolean",default:!0},imgOverlayType:{type:"string",default:"simgleGradient",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSmallBtn:{type:"boolean",default:!1},metaListSmall:{type:"string",default:'["metaDate"]'},showSmallCat:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showSmallExcerpt:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:20,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"#fff",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n          {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:15,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: center; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-end;} \n          .rtl {{ULTP}} .ultp-block-meta {justify-content: start;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:".rtl {{ULTP}} .ultp-block-readmore a {display:flex; flex-direction:row-reverse; justify-content: flex-end;}"}]},overlayContentPosition:{type:"string",default:"bottomPosition",style:[{depends:[{key:"overlayContentPosition",condition:"==",value:"topPosition"}],selector:"{{ULTP}} .ultp-block-content-topPosition { align-items:flex-start; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"middlePosition"}],selector:"{{ULTP}} .ultp-block-content-middlePosition { align-items:center; }"},{depends:[{key:"overlayContentPosition",condition:"==",value:"bottomPosition"}],selector:"{{ULTP}} .ultp-block-content-bottomPosition { align-items:flex-end; }"}]},overlayBgColor:{type:"object",default:{openColor:1,type:"color",color:""},style:[{selector:"{{ULTP}} .ultp-block-content-inner"}]},overlayWrapPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner { padding: {{overlayWrapPadding}}; }"}]},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},headingText:{type:"string",default:"Post Grid #7"},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto;}"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"navigation"},...(0,o.t)(["advFilter","pagiBlockCompatibility","heading","advanceAttr","pagination","video","meta","category","readMore","query"],["paginationText","loadMoreText","paginationAjax","pagiMargin","queryNumPosts"],[{key:"pagiAlign",default:{lg:"left"}},{key:"metaSeparator",default:"emptyspace"},{key:"metaList",default:'["metaAuthor","metaDate"]'},{key:"metaColor",default:"#F3F3F3"},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"metaSpacing",default:{lg:"15",unit:"px"}},{key:"catLineColor",default:"var(--postx_preset_Base_2_color)"},{key:"catLineHoverColor",default:"var(--postx_preset_Base_2_color)"},{key:"catHoverColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"readMoreColor",default:"#fff"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Primary_color)"}},{key:"readMoreBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Secondary_color)"}}]),V4_1_0_CompCheck:a.O,...(0,i.b)({defColor:"#fff"})}},3674:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(2705),n=l(7602);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-grid-7/","block_docs"),r("ultimate-post/post-grid-7",{title:__("Post Grid #7","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-grid-7.svg"}),category:"ultimate-post",keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postgrid7.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},4711:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7294),a=l(3049),i=l(9838),n=l(7025),r=l(7679);const{useBlockProps:s}=wp.blockEditor,{useEffect:p}=wp.element,{useSelect:c}=wp.data,u="ultimate-post/post-pagination";function d({attributes:e,setAttributes:t,clientId:l,context:d}){const{blockId:m,paginationType:g,paginationNav:y,paginationAjax:b,paginationText:v,loadMoreText:h,postId:f}=e;p((()=>{t({blockId:l.slice(-6),postId:d.postId})}),[f]);const k=c((e=>{const t=d["post-grid-parent/postBlockClientId"];if(!t)return!1;const l=e("core/block-editor").getBlocks(t);return(0,n.FL)(l).filter((e=>e.name.includes("advanced-filter"))).length>0}),[d["post-grid-parent/postBlockClientId"]]);p((()=>{k&&!b&&t({paginationAjax:!0})}),[k,b]),p((()=>{(0,n.IG)(d["post-grid-parent/postBlockClientId"],{paginationType:g,paginationNav:y,paginationAjax:b,paginationText:v,loadMoreText:h,navPosition:"bottom"})}),[g,y,b,v,h]);const w=s({className:`ultp-block-${m} ultp-pagination-block ultp-pagination-wrap`});let x;return m&&(x=(0,i.Kh)(e,u,m,(0,a.k0)())),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(r.ZP,{attributes:e,setAttributes:t,name:u,clientId:l,forceAjax:k}),x&&(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:x}}),(0,o.createElement)("div",w,"loadMore"==g&&(0,a.Bv)(h),"navigation"==g&&(0,a.pI)(),"pagination"==g&&(0,a.fF)(y,b,v)))}},7679:(e,t,l)=>{"use strict";l.d(t,{ZP:()=>v});var o=l(7294),a=l(3049),i=l(3448),n=l(7025),r=l(2637);const{BlockControls:s}=wp.blockEditor,{Toolbar:p}=wp.components,{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,u=["paginationType","loadMoreText","paginationText","pagiAlign","paginationNav","paginationAjax"],d=["pagiTypo","pagiArrowSize","pagiTab","pagiMargin","navMargin","pagiPadding"],m=[{data:{type:"tag",key:"paginationType",label:__("Pagination Type","ultimate-post"),options:[{value:"loadMore",label:__("Loadmore","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")},{value:"pagination",label:__("Pagination","ultimate-post")}]}},{data:{type:"text",key:"loadMoreText",label:__("Loadmore Text","ultimate-post")}},{data:{type:"text",key:"paginationText",label:__("Pagination Text","ultimate-post")}},{data:{type:"alignment",key:"pagiAlign",responsive:!0,label:__("Alignment","ultimate-post"),disableJustify:!0}},{data:{type:"select",key:"paginationNav",label:__("Pagination","ultimate-post"),options:[{value:"textArrow",label:__("Text & Arrow","ultimate-post")},{value:"onlyarrow",label:__("Only Arrow","ultimate-post")}]}},{data:{type:"toggle",key:"paginationAjax",label:__("Ajax Pagination","ultimate-post")}}],g=(e=!1)=>e?m.map((e=>"paginationAjax"===e.data.key?{data:{...e.data,disabled:!0,showDisabledValue:!0,help:n.p2}}:e)):m,y=[{data:{type:"typography",key:"pagiTypo",label:__("Typography","ultimate-post")}},{data:{type:"range",key:"pagiArrowSize",min:0,max:100,step:1,responsive:!0,label:__("Arrow Size","ultimate-post")}},{data:{type:"tab",key:"pagiTab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"pagiColor",label:__("Color","ultimate-post"),clip:!0},{type:"color2",key:"pagiBgColor",label:__("Background Color","ultimate-post")},{type:"border",key:"pagiBorder",label:__("Border","ultimate-post")},{type:"boxshadow",key:"pagiShadow",label:__("BoxShadow","ultimate-post")},{type:"dimension",key:"pagiRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"pagiHoverColor",label:__("Hover Color","ultimate-post"),clip:!0},{type:"color2",key:"pagiHoverbg",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"pagiHoverBorder",label:__("Hover Border","ultimate-post")},{type:"boxshadow",key:"pagiHoverShadow",label:__("BoxShadow","ultimate-post")},{type:"dimension",key:"pagiHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]}},{data:{type:"dimension",key:"pagiMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"navMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"pagiPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}],b=e=>[...g(e).map((e=>e.data)),...y.map((e=>e.data))];function v({name:e,attributes:t,setAttributes:l,clientId:n,forceAjax:m}){const v={setAttributes:l,name:e,attributes:t,clientId:n};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s,null,(0,o.createElement)(p,null,(0,o.createElement)(a.sT,{store:v,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(i.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:v,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:v,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:u,styleKeys:d,oArgs:b(m),exStyle:["pagiTypo","pagiMargin","pagiPadding"]}))),(0,o.createElement)(c,null,(0,o.createElement)(r.Sections,null,(0,o.createElement)(r.Section,{slug:"setting",title:__("Settings","ultimate-post")},(0,o.createElement)(a.T,{store:v,title:"inline",include:g(m)})),(0,o.createElement)(r.Section,{slug:"style",title:__("Styles","ultimate-post")},(0,o.createElement)(a.T,{store:v,title:"inline",include:y})))))}},2304:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},postId:{type:"number",default:-1},previewImg:{type:"string",default:""},paginationType:{type:"string",default:"pagination"},loadMoreText:{type:"string",default:"Load More",style:[{depends:[{key:"paginationType",condition:"==",value:"loadMore"}]}]},paginationText:{type:"string",default:"Previous|Next",style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}]}]},paginationNav:{type:"string",default:"textArrow",style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}]}]},paginationAjax:{type:"boolean",default:!0,style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}]}]},navPosition:{type:"string",default:"topRight",style:[{depends:[{key:"paginationType",condition:"==",value:"navigation"}]}]},pagiAlign:{type:"object",default:{lg:"center"},style:[{selector:"{{ULTP}} .ultp-loadmore,\n                {{ULTP}} .ultp-next-prev-wrap ul,\n                {{ULTP}} .ultp-pagination,\n                {{ULTP}} .ultp-pagination-wrap { text-align:{{pagiAlign}}; }"}]},pagiTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination li a,\n                    {{ULTP}} .ultp-loadmore .ultp-loadmore-action"}]},pagiArrowSize:{type:"object",default:{lg:"14"},style:[{depends:[{key:"paginationType",condition:"==",value:"navigation"}],selector:"{{ULTP}} .ultp-next-prev-wrap ul li a svg { width:{{pagiArrowSize}}px; }"}]},pagiColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination li a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a,\n                    {{ULTP}} .ultp-loadmore .ultp-loadmore-action { color:{{pagiColor}}; }\n                    {{ULTP}} .ultp-next-prev-wrap ul li a svg { fill:{{pagiColor}}; }\n                    {{ULTP}} .ultp-pagination svg,\n                    {{ULTP}} .ultp-loadmore .ultp-loadmore-action svg { fill:{{pagiColor}}; }"}]},pagiBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Primary_color)"},style:[{selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination li a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a,\n                    {{ULTP}} .ultp-loadmore .ultp-loadmore-action"}]},pagiBorder:{type:"object",default:{openBorder:1,width:{top:0,right:0,bottom:0,left:0},color:"#000000",type:"solid"},style:[{selector:"{{ULTP}} .ultp-pagination li a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a,\n                    {{ULTP}} .ultp-loadmore-action"}]},pagiShadow:{type:"object",default:{openShadow:1,width:{top:0,right:0,bottom:0,left:0},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-pagination li a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a,\n                    {{ULTP}} .ultp-loadmore-action"}]},pagiRadius:{type:"object",default:{lg:{top:"2",bottom:"2",left:"2",right:"2",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-pagination li a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a,\n                    {{ULTP}} .ultp-loadmore-action { border-radius:{{pagiRadius}}; }"}]},pagiHoverColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination li.pagination-active a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a:hover,\n                    {{ULTP}} .ultp-loadmore-action:hover { color:{{pagiHoverColor}}; }\n                    {{ULTP}} .ultp-pagination li a:hover svg { fill:{{pagiHoverColor}}; }\n                    {{ULTP}} .ultp-next-prev-wrap ul li a:hover svg,\n                    {{ULTP}} .ultp-loadmore .ultp-loadmore-action:hover svg { fill:{{pagiHoverColor}}; } @media (min-width: 768px) {\n                    {{ULTP}} .ultp-pagination-wrap .ultp-pagination li a:hover { color:{{pagiHoverColor}};}}"}]},pagiHoverbg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Secondary_color)",replace:1},style:[{selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination li a:hover,\n                    {{ULTP}} .ultp-pagination-wrap .ultp-pagination li.pagination-active a,\n                    {{ULTP}} .ultp-pagination-wrap .ultp-pagination li a:focus,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a:hover,\n                    {{ULTP}} .ultp-loadmore-action:hover{ {{pagiHoverbg}} }"}]},pagiHoverBorder:{type:"object",default:{openBorder:1,width:{top:0,right:0,bottom:0,left:0},color:"#000000",type:"solid"},style:[{selector:"{{ULTP}} .ultp-pagination li a:hover,\n                    {{ULTP}} .ultp-pagination li.pagination-active a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a:hover,\n                    {{ULTP}} .ultp-loadmore-action:hover"}]},pagiHoverShadow:{type:"object",default:{openShadow:1,width:{top:0,right:0,bottom:0,left:0},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-pagination li a:hover,\n                    {{ULTP}} .ultp-pagination li.pagination-active a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a:hover,\n                    {{ULTP}} .ultp-loadmore-action:hover"}]},pagiHoverRadius:{type:"object",default:{lg:{top:"2",bottom:"2",left:"2",right:"2",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-pagination li.pagination-active a,\n                    {{ULTP}} .ultp-pagination li a:hover,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a:hover,\n                    {{ULTP}} .ultp-loadmore-action:hover { border-radius:{{pagiHoverRadius}}; }"}]},pagiPadding:{type:"object",default:{lg:{top:"8",bottom:"8",left:"14",right:"14",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-pagination li a,\n                    {{ULTP}} .ultp-next-prev-wrap ul li a,\n                    {{ULTP}} .ultp-loadmore-action { padding:{{pagiPadding}}; }"}]},navMargin:{type:"object",default:{lg:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"}},style:[{depends:[{key:"paginationType",condition:"==",value:"navigation"}],selector:"{{ULTP}} .ultp-next-prev-wrap ul { margin:{{navMargin}}; }"}]},pagiMargin:{type:"object",default:{lg:{top:"30",right:"0",bottom:"0",left:"0",unit:"px"}},style:[{depends:[{key:"paginationType",condition:"!=",value:"navigation"}],selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination,\n                    {{ULTP}} .ultp-loadmore { margin:{{pagiMargin}}; }"}]}}},365:(e,t,l)=>{"use strict";var o=l(7294),a=l(4711),i=l(4006),n=l(2304),r=l(3100);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=(0,r.Z)("https://wpxpo.com/docs/postx/postx-features/advanced-pagination/","block_docs"),c=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/pagination.svg"});s("ultimate-post/post-pagination",{apiVersion:2,title:__("Advanced Post Pagination","ultimate-post"),icon:c,category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Post Pagination from PostX","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:p},__("Documentation","ultimate-post"))),keywords:[__("Pagination","ultimate-post")],attributes:n.Z,usesContext:["postId","post-grid-parent/postBlockClientId","post-grid-parent/pagi"],ancestor:["ultimate-post/post-grid-parent"],supports:{inserter:!1},edit:a.Z,save:i.Z})},4006:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(3049),i=l(9838);const{useBlockProps:n}=wp.blockEditor,r="ultimate-post/post-pagination";function s({attributes:e}){const{blockId:t,paginationType:l,paginationNav:s,paginationAjax:p,paginationText:c,loadMoreText:u,postId:d}=e,m=n.save({className:`ultp-block-${t} ultp-pagination-block ultp-pagination-wrap`});let g="";return t&&(g=(0,i.Kh)(e,r,t,(0,a.k0)())),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(o.Fragment,null,g&&(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:g}})),(0,o.createElement)("div",m,"loadMore"==l&&(0,a.Bv)(u),"navigation"==l&&(0,a.pI)(),"pagination"==l&&(0,a.fF)(s,p,c)))}},4696:(e,t,l)=>{"use strict";l.d(t,{Z:()=>g});var o=l(7294),a=l(3049),i=l(7025);const{getBlockAttributes:n,getBlockRootClientId:r}=wp.data.select("core/block-editor"),{useBlockProps:s,useInnerBlocksProps:p}=wp.blockEditor,{useEffect:c,useMemo:u}=wp.element,{useSelect:d,useDispatch:m}=wp.data;function g({attributes:e,setAttributes:t,clientId:l,context:g,isSelected:y}){const[b,v,h,f]=d((e=>{const t=e("core/block-editor").getBlocks(l),o=(0,i.FL)(t),a=o.filter((e=>(0,i.M5)(e.name))).map((e=>({blockId:e.attributes.blockId,name:e.name.replace("/","_")}))),n=o.filter((e=>e.name.includes("ultimate-post/post-pagination"))).map((e=>"ultp-block-"+e.attributes.blockId)),r=o.filter((e=>e.name.includes("advanced-filter"))).map((e=>"ultp-block-"+e.attributes.blockId)),s=!(a.length>0)||["ultimate-post/advanced-filter","ultimate-post/post-pagination",...a.map((e=>e.name.replace("_","/")))];return[JSON.stringify(a),JSON.stringify(n),JSON.stringify(r),s]}),[l]);c((()=>{if(y)try{document.querySelector(".block-list-appender").style.display="none"}catch{}}),[y]);const k=p(s({className:"ultp-post-grid-parent"}),{allowedBlocks:f});return c((()=>{const{currentPostId:o}=e,i=n(r(l));(0,a.qi)(t,i,o,l),t({cId:l,grids:b,pagi:v,postId:g.postId?String(g.postId):"",currentPostId:g.postId?String(g.postId):""})}),[l,b,v,g.postId]),function(e){var t;const{updateBlockAttributes:l}=m("core/block-editor"),o=d((t=>t("core/block-editor").getBlocks(e)),[]),a=u((()=>(0,i.FL)(o)),[o]),n=u((()=>a.filter((e=>"ultimate-post/filter-select"===e.name&&["category","tags","custom_tax","author"].includes(e.attributes.type)))),[a]),r=u((()=>a.filter((e=>(0,i.M5)(e.name)))),[a]);c((()=>{const e={};n.forEach((t=>{const{dropdownOptionsType:l,dropdownOptions:o,type:a,filterStyle:i}=t.attributes,n=JSON.parse(o)[0];"dropdown"===i&&"specific"===l&&n&&(e[t.clientId]=`${a}###${n}`)})),r.forEach((t=>{const{attributes:{defQueryTax:o}}=t;if(Object.keys(e).length>0){let a=!1;for(const t of Object.keys(e))if(!(t in o)||o[t]!==e[t]){a=!0;break}a&&l(t.clientId,{defQueryTax:e})}else 0!==Object.keys(o).length&&l(t.clientId,{defQueryTax:{}})}))}),[n,r]);const s=u((()=>a.find((e=>"ultimate-post/advanced-filter"===e.name))),[a]),{relation:p}=null!==(t=s?.attributes)&&void 0!==t?t:{};c((()=>{p&&r.forEach((e=>{e.attributes.advRelation!==p&&l(e.clientId,{advRelation:p})}))}),[r,p])}(l),(0,o.createElement)("div",k)}},5261:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7462),a=l(7294);const{useBlockProps:i,useInnerBlocksProps:n}=wp.blockEditor;function r({attributes:e}){const t=n.save(i.save({className:"ultp-post-grid-parent"}));return(0,a.createElement)("div",(0,o.Z)({},t,{"data-postid":e.currentPostId,"data-grids":e.grids,"data-pagi":e.pagi}))}},7575:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},cId:{type:"string",default:""},postId:{type:"string",default:""},currentPostId:{type:"string",default:""},previewImg:{type:"string",default:""},advFilterEnable:{type:"boolean",default:!1},grids:{type:"string",default:""},pagi:{type:"string",default:""}}},4931:(e,t,l)=>{"use strict";var o=l(7294),a=l(4696),i=l(5261),n=l(7575),r=l(3100);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=((0,r.Z)("https://wpxpo.com/docs/postx/all-blocks/post-grid-1/","block_docs"),(0,o.createElement)("img",{src:ultp_data.url+"assets/img/blocks/adv-filter/post-block.svg"}));s("ultimate-post/post-grid-parent",{apiVersion:2,title:__("Post Block","ultimate-post"),icon:p,category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Post Block from PostX","ultimate-post")),keywords:[__("Post Grid","ultimate-post"),__("Grid View","ultimate-post"),__("Article","ultimate-post"),__("Post Listing","ultimate-post"),__("Grid","ultimate-post")],providesContext:{"post-grid-parent/postBlockClientId":"cId","post-grid-parent/pagi":"pagi"},usesContext:["postId"],attributes:n.Z,supports:{align:["center","wide","full"],inserter:!1,reusable:!1},edit:a.Z,save:i.Z})},4173:(e,t,l)=>{"use strict";l.d(t,{Z:()=>M});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(3508),u=l(6896),d=l(1411),m=l(3985),g=l(8152),y=l(6005),b=l(9838),v=l(1760),h=l(3151),f=l(9735),k=l(2963),w=l(9349),x=l(7025),T=l(3084);const{__}=wp.i18n,{InspectorControls:S}=wp.blockEditor,{useEffect:P,useState:C,useRef:E,Fragment:_}=wp.element,{Spinner:L,Placeholder:I}=wp.components,{getBlockAttributes:U,getBlockRootClientId:B}=wp.data.select("core/block-editor");function M(e){const t=E(null),[l,M]=C(x.Ti),{setAttributes:A,name:H,clientId:N,isSelected:j,className:O,attributes:Z,context:R,attributes:{blockId:D,currentPostId:F,readMoreIcon:z,imgCrop:W,excerptLimit:G,metaStyle:V,metaShow:q,catShow:$,showImage:K,metaSeparator:J,titleShow:Y,catStyle:X,catPosition:Q,titlePosition:ee,excerptShow:te,showFullExcerpt:le,imgAnimation:oe,imgOverlayType:ae,imgOverlay:ie,metaList:ne,readMore:re,readMoreText:se,metaPosition:pe,columns:ce,customCatColor:ue,onlyCatColor:de,contentTag:me,titleTag:ge,showSeoMeta:ye,titleLength:be,metaMinText:ve,metaAuthorPrefix:he,titleStyle:fe,layout:ke,gridStyle:we,metaDateFormat:xe,authorLink:Te,fallbackEnable:Se,imgCropSmall:Pe,vidIconEnable:Ce,notFoundMessage:Ee,excerptLimitLg:_e,fullExcerptLg:Le,dcEnabled:Ie,dcFields:Ue,previewImg:Be,advanceId:Me,paginationShow:Ae,paginationAjax:He,headingShow:Ne,filterShow:je,paginationType:Oe,navPosition:Ze,paginationNav:Re,loadMoreText:De,paginationText:Fe,V4_1_0_CompCheck:{runComp:ze}}}=e;function We(e){M({...l,selectedDC:e})}function Ge(){M({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function Ve(e){M({...l,section:{...x.ZQ,[e]:!0}}),(0,x.Rt)(e),(0,x.ob)(e)}function qe(e){M((t=>({...t,toolbarSettings:e}))),(0,x.os)(e)}function $e(){l.error&&M({...l,error:!1}),l.loading||M({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(Z)}).then((e=>{M({...l,postsList:e,loading:!1})})).catch((e=>{M({...l,loading:!1,error:!0})}))}P((()=>{(0,x.oA)(),$e()}),[]),P((()=>{const t=N.substr(0,6),l=U(B(N));(0,i.qi)(A,l,F,N),(0,h.h)(e),D?D&&D!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||A({blockId:t})):(A({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&A({queryType:"archiveBuilder"}))}),[N]),P((()=>{const e=t.current;(0,f.o6)()&&0===Z.dcFields.length&&A({dcFields:Array(T.PR).fill(void 0)}),e?((0,i.Qr)(e,Z)&&($e(),t.current=Z),e.isSelected!==j&&j&&(0,x.gT)(Ve,qe)):t.current=Z}),[Z]);const Ke={setAttributes:A,name:H,attributes:Z,setSection:Ve,section:l.section,clientId:N,context:R,setSelectedDc:We,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){We(e),qe("dc_group")}};let Je;return D&&(Je=(0,b.Kh)(Z,"ultimate-post/post-list-1",D,(0,i.k0)())),Be?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Be}):(0,a.createElement)(_,null,(0,a.createElement)(T.FP,{store:Ke,selected:l.toolbarSettings}),(0,a.createElement)(S,null,(0,a.createElement)(T.ZP,{store:Ke})),(0,a.createElement)(v.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",include:[{position:1,data:{type:"range",key:"rowSpace",min:0,max:80,step:1,responsive:!0,label:__("Row Gap","ultimate-post")}}],exclude:["spaceSep","wrapOuterPadding","wrapMargin"]},{type:"layout+adv_style",layoutData:{type:"layout",block:"post-list-1",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pl1/l1.png",label:"Layout 1",value:"layout1",pro:!1},{img:"assets/img/layouts/pl1/l2.png",label:"Layout 2",value:"layout2",pro:!0},{img:"assets/img/layouts/pl1/l3.png",label:"Layout 3",value:"layout3",pro:!0},{img:"assets/img/layouts/pl1/l4.png",label:"Layout 4",value:"layout4",pro:!0}]},advStyleData:{type:"layout",key:"gridStyle",pro:!0,tab:!0,label:__("Advanced Style","ultimate-post"),block:"post-list-1",options:[{img:"assets/img/layouts/pl1/s1.png",label:__("Style 1","ultimate-post"),value:"style1",pro:!1},{img:"assets/img/layouts/pl1/s2.png",label:__("Style 2","ultimate-post"),value:"style2",pro:!0},{img:"assets/img/layouts/pl1/s3.png",label:__("Style 3","ultimate-post"),value:"style3",pro:!0}]}},{type:"feat_toggle",label:__("Post List Features","ultimate-post"),new:i.KE,[ze?"exclude":"dep"]:i.N2}],store:Ke}),(0,a.createElement)("div",(0,o.Z)({},Me&&{id:Me},{className:`ultp-block-${D} ${O}`,onClick:e=>{e.stopPropagation(),Ve("general"),qe("")}}),Je&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:Je}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(Ne||je||Ae)&&(0,a.createElement)(s.m,{attributes:Z,setAttributes:A,onClick:()=>{Ve("heading"),qe("heading")},setSection:Ve,setToolbarSettings:qe}),function(){const e=`${me}`,t=(e,t)=>(0,f.o6)()&&Ie&&(0,a.createElement)(w.Z,{idx:e,postId:t,fields:Ue,settingsOnClick:(e,t)=>{e?.stopPropagation(),qe(t)},selectedDC:l.selectedDC,setSelectedDc:We,setAttributes:A,dcFields:Ue});return l.error?(0,a.createElement)(I,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(L,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-row ultp-pl1a-${we} ultp-block-column-${ce.lg} ultp-post-list1-${ke}`},l.postsList.map(((l,o)=>{const i=JSON.parse(ne.replaceAll("u0022",'"')),s="style1"!=we?0==o?W:Pe:W,c=(l.image&&!l.is_fallback||Se)&&K?(0,a.createElement)(p.ZP,{catPosition:Q,imgOverlay:ie,imgOverlayType:ae,imgAnimation:oe,post:l,imgSize:s,fallbackEnable:Se,vidIconEnable:Ce,idx:o,Category:"aboveTitle"!=Q?(0,a.createElement)(n.Z,{post:l,catShow:$,catStyle:X,catPosition:Q,customCatColor:ue,onlyCatColor:de,onClick:()=>{Ve("taxonomy-/-category"),qe("cat")}}):null,onClick:()=>{Ve("image"),qe("image")},vidOnClick:()=>{Ve("video"),qe("video")}}):null;return(0,a.createElement)(e,{key:o,className:`ultp-block-item post-id-${l.ID}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap"},(0,a.createElement)("div",{className:"ultp-block-entry-content"},t(9,l.ID),"style3"==we&&0==o&&c,(0,a.createElement)("div",{className:"ultp-block-entry-heading"},t(8,l.ID),"aboveTitle"==Q&&(0,a.createElement)(n.Z,{post:l,catShow:$,catStyle:X,catPosition:Q,customCatColor:ue,onlyCatColor:de,onClick:()=>{Ve("taxonomy-/-category"),qe("cat")}}),t(7,l.ID),l.title&&Y&&1==ee&&(0,a.createElement)(y.Z,{title:l.title,headingTag:ge,titleLength:be,titleStyle:fe,onClick:e=>{Ve("title"),qe("title")}}),t(6,l.ID),q&&"top"==pe&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:J,metaStyle:V,metaMinText:ve,metaAuthorPrefix:he,metaDateFormat:xe,authorLink:Te,onClick:e=>{Ve("meta"),qe("meta")}}),t(5,l.ID),l.title&&Y&&0==ee&&(0,a.createElement)(y.Z,{title:l.title,headingTag:ge,titleLength:be,titleStyle:fe,onClick:e=>{Ve("title"),qe("title")}}),t(4,l.ID)),("style3"!=we||"style3"==we&&0!=o)&&c),(0,a.createElement)("div",{className:"ultp-block-content"},t(3,l.ID),te&&(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:G,showFullExcerpt:le,showSeoMeta:ye,onClick:e=>{Ve("excerpt"),qe("excerpt")}}),t(2,l.ID),re&&(0,a.createElement)(g.Z,{readMoreText:se,readMoreIcon:z,titleLabel:l.title,onClick:()=>{Ve("read-more"),qe("read-more")}}),t(1,l.ID),q&&"bottom"==pe&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:J,metaStyle:V,metaMinText:ve,metaAuthorPrefix:he,metaDateFormat:xe,authorLink:Te,onClick:e=>{Ve("meta"),qe("meta")}}),t(0,l.ID),(0,f.o6)()&&Ie&&(0,a.createElement)(k.Z,{dcFields:Ue,setAttributes:A,startOnboarding:Ge}))))}))):(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:Ee})}(),Ae&&"loadMore"==Oe&&(0,a.createElement)(c.Z,{loadMoreText:De,onClick:e=>{Ve("pagination"),qe("pagination")}}),Ae&&"navigation"==Oe&&"topRight"!=Ze&&(0,a.createElement)(d.Z,{onClick:()=>{Ve("pagination"),qe("pagination")}}),Ae&&"pagination"==Oe&&(0,a.createElement)(m.Z,{paginationNav:Re,paginationAjax:He,paginationText:Fe,onClick:e=>{Ve("pagination"),qe("pagination")}}))))}},3084:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=10,y=e=>{const{store:t}=e,{layout:l,gridStyle:n,queryType:r,advFilterEnable:u,advPaginationEnable:g,V4_1_0_CompCheck:{runComp:y}}=t.attributes,{context:b,section:v}=t;return m((()=>{(0,d.CH)(b,u,t,g)}),[u,g,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6836",store:t}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:t,initialOpen:v.general,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-list-1",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pl1/l1.png",label:"Layout 1",value:"layout1",pro:!1},{img:"assets/img/layouts/pl1/l2.png",label:"Layout 2",value:"layout2",pro:!0},{img:"assets/img/layouts/pl1/l3.png",label:"Layout 3",value:"layout3",pro:!0},{img:"assets/img/layouts/pl1/l4.png",label:"Layout 4",value:"layout4",pro:!0}],variation:{layout1:{columns:{lg:"2",xs:"2"},headerSpaceX:{lg:"",unit:"px"},headerWrapBorder:{width:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"},type:"solid",color:"#969696",openBorder:1},contentWrapInnerPadding:{lg:{top:"30",bottom:"40",left:"30",right:"30",unit:"px"},xs:{top:"16",left:"16",right:"16",bottom:"16",unit:"px"}},metaList:'["metaAuthor","metaDate","metaRead"]',metaMargin:{lg:{top:"15",bottom:"15",unit:"px"},xs:{top:"10",bottom:"10",unit:"px"}},excerptLimit:"20"},layout2:{columns:{lg:"2",xs:"1"},headerSpaceX:{lg:"20",unit:"px"},headerWrapBorder:{width:{top:"1",right:"1",bottom:"1",left:"1",unit:"px"},type:"solid",color:"#969696",openBorder:1},contentWrapInnerPadding:{lg:{top:"0",bottom:"40",left:"30",right:"30",unit:"px"},xs:{top:"0",left:"16",right:"16",bottom:"16",unit:"px"}},metaList:'["metaAuthor","metaDate"]',metaMargin:{lg:{top:"15",bottom:"0",unit:"px"},xs:{top:"15",bottom:"0",unit:"px"}},excerptLimit:"35"},layout3:{columns:{lg:"2",xs:"1"},headerSpaceX:{lg:"",unit:"px"},headerWrapBorder:{width:{top:"1",right:"1",bottom:"1",left:"1",unit:"px"},type:"solid",color:"#969696",openBorder:1},contentWrapInnerPadding:{lg:{top:"0",bottom:"40",left:"30",right:"30",unit:"px"},xs:{top:"0",left:"16",right:"16",bottom:"16",unit:"px"}},metaList:'["metaAuthor","metaDate"]',metaMargin:{lg:{top:"15",bottom:"0",unit:"px"},xs:{top:"15",bottom:"0",unit:"px"}},excerptLimit:"35"},layout4:{columns:{lg:"2",xs:"1"},headerSpaceX:{lg:"20",unit:"px"},headerWrapBorder:{width:{top:"1",right:"1",bottom:"1",left:"1",unit:"px"},type:"solid",color:"#969696",openBorder:1},contentWrapInnerPadding:{lg:{top:"0",bottom:"40",left:"30",right:"30",unit:"px"},xs:{top:"0",left:"16",right:"16",bottom:"16",unit:"px"}},metaList:'["metaAuthor","metaDate"]',metaMargin:{lg:{top:"15",bottom:"0",unit:"px"},xs:{top:"15",bottom:"0",unit:"px"}},excerptLimit:"35"}}}},{position:5,data:{type:"layout",key:"gridStyle",pro:!0,tab:!0,label:__("Advanced Style","ultimate-post"),block:"post-list-1",options:[{img:"assets/img/layouts/pl1/s1.png",label:__("Style 1","ultimate-post"),value:"style1",pro:!1},{img:"assets/img/layouts/pl1/s2.png",label:__("Style 2","ultimate-post"),value:"style2",pro:!0},{img:"assets/img/layouts/pl1/s3.png",label:__("Style 3","ultimate-post"),value:"style3",pro:!0}]}},{position:6,data:{type:"separator"}},{position:7,data:{type:"range",_inline:!0,key:"rowSpace",min:0,max:80,step:1,responsive:!0,label:__("Row Gap","ultimate-post")}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:v.title,include:["style1"!=n&&{position:3,data:{type:"typography",key:"postListTypo",label:__("Large Title Typography","ultimate-post")}}],exclude:["titleBackground"],hrIdx:[4,8]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:v.image,include:[{position:3,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin"],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,depend:"metaShow",initialOpen:v.meta,exclude:["metaListSmall"],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:v["taxonomy-/-category"],depend:"catShow",store:t,hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:v.excerpt,store:t,include:[{position:3,data:{type:"toggle",key:"fullExcerptLg",label:__("Show Full Excerpt (Large Post)","ultimate-post")}},{position:4,data:{type:"range",key:"excerptLimitLg",label:__("Large Post Excerpt Limit","ultimate-post"),min:0,max:500,step:1,help:__("Excerpt Limit from Post Content.","ultimate-post")}},"layout1"==l&&"style1"!=n&&{position:8,data:{type:"dimension",key:"excerptPadddingLg",label:__("Padding ( Large Post )","ultimate-post"),step:1,unit:!0,responsive:!0}}],hrIdx:[3,6]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:v["read-more"],depend:"readMore",hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:v.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),"layout1"!=l&&(0,o.createElement)(a.$U,{store:t}),(0,o.createElement)(a.O2,{store:t,exclude:["contenWraptWidth","contenWraptHeight"]}),(0,o.createElement)(a.Yp,{depend:"separatorShow",exclude:["septSpace"],store:t}),!y&&(0,o.createElement)(i.Z,{open:v.filter||v.pagination||v.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:v.heading,depend:"headingShow"}),"posts"!=r&&"customPosts"!=r&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:v.filter,depend:"filterShow",hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,initialOpen:v.pagination,depend:"paginationShow",store:t}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{gridStyle:l,layout:i,V4_1_0_CompCheck:{runComp:s}}=t.attributes,{metaShow:p,showImage:d,titleShow:m,catPosition:g,titlePosition:y,excerptShow:b,readMore:v,metaPosition:h,fallbackEnable:f,catShow:k}=t.attributes,w=[p&&"bottom"==h,v,b,f&&d&&"style3"!=l,m&&0==y,p&&"top"==h,m&&1==y,k&&"aboveTitle"==g,f&&d&&"style3"==l];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:w});switch(e){case"filter":return s?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return s?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return s?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,exStyle:["pagiTypo","pagiMargin","pagiPadding"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo","style1"!=l&&{data:{type:"typography",key:"postListTypo",label:__("Large Title Typography","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post"),include:[{position:3,data:{type:"toggle",key:"fullExcerptLg",label:__("Show Full Excerpt (Large Post)","ultimate-post")}},{position:4,data:{type:"range",key:"excerptLimitLg",label:__("Large Post Excerpt Limit","ultimate-post"),min:0,max:500,step:1,help:__("Excerpt Limit from Post Content.","ultimate-post")}},"layout1"==i&&"style1"!=l&&{position:8,data:{type:"dimension",key:"excerptPadddingLg",label:__("Padding ( Large Post )","ultimate-post"),step:1,unit:!0,responsive:!0}}]}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,exSettings:["metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exStyle:["imgMargin"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],incStyle:[{position:0,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}}]}));default:return null}}},6682:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},gridStyle:{type:"string",default:"style1"},columns:{type:"object",default:{lg:"2",sm:"2",xs:"1"},style:[{selector:"{{ULTP}} .ultp-block-row { grid-template-columns: repeat({{columns}}, 1fr); }"}]},columnGridGap:{type:"object",default:{lg:"30",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-row { grid-column-gap: {{columnGridGap}}; }"}]},rowSpace:{type:"object",default:{lg:"30"},style:[{depends:[{key:"separatorShow",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-block-row {row-gap: {{rowSpace}}px; }"},{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { padding-bottom: {{rowSpace}}px; margin-bottom:{{rowSpace}}px; }"}]},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a { text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a { background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!0},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-entry-heading .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-entry-heading .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"24",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"30",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0},{key:"gridStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title,\n                    {{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title a"},{depends:[{key:"titleShow",condition:"==",value:!0},{key:"gridStyle",condition:"!=",value:"style1"}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item:first-child .ultp-block-title,\n                    {{ULTP}} .ultp-block-items-wrap .ultp-block-item:first-child .ultp-block-title a"}]},postListTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:"700"},style:[{depends:[{key:"titleShow",condition:"==",value:!0},{key:"gridStyle",condition:"!=",value:"style1"}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item:not(:first-child) .ultp-block-title,\n                    {{ULTP}} .ultp-block-items-wrap .ultp-block-item:not(:first-child) .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-entry-heading .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},imgCrop:{type:"string",default:"full",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"gridStyle",condition:"==",value:"style2"}]},{depends:[{key:"showImage",condition:"==",value:!0},{key:"gridStyle",condition:"==",value:"style3"}]}]},imgWidth:{type:"object",default:{lg:"",ulg:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { max-width: {{imgWidth}}; display: block;}\n                    {{ULTP}} .ultp-block-item .ultp-block-image img { width: 100% }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-block-image img {height: {{imgHeight}}; }"}]},imageScale:{type:"string",default:"cover",style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img {object-fit: {{imageScale}};}"}]},imgAnimation:{type:"string",default:"none"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},imgSpacing:{type:"object",default:{lg:"20"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { margin-bottom: {{imgSpacing}}px; }"}]},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},fullExcerptLg:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:40,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptLimitLg:{type:"string",default:70,style:[{depends:[{key:"fullExcerptLg",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt,   \n                {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n                    {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:5,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt{ padding: {{excerptPadding}}; }"}]},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-entry-content,\n                    {{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }\n                    {{ULTP}} .ultp-block-meta { justify-content: flex-start; }\n                    {{ULTP}} .ultp-block-image img { margin-right: auto; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-entry-content,\n                    {{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }\n                    {{ULTP}} .ultp-block-meta {justify-content: center;}\n                    {{ULTP}} .ultp-block-image img { margin: 0 auto; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-entry-content,\n                    {{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }\n                    {{ULTP}} .ultp-block-meta {justify-content: flex-end;} .rtl \n                    {{ULTP}} .ultp-block-meta {justify-content: start;}  \n                    {{ULTP}} .ultp-block-image img { margin-left: auto; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:" .rtl\n                    {{ULTP}} .ultp-block-readmore a {display:flex; flex-direction:row-reverse;justify-content: flex-end;}"}]},contentWrapBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-content-wrap { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapInnerPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content\n                    {{ULTP}} .ultp-block-entry-heading { padding: {{contentWrapInnerPadding}}; }"}]},contentWrapPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; }"}]},headerWidth:{type:"object",default:{lg:"70",unit:"%"},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading { max-width: {{headerWidth}}; }"}]},headerWrapBg:{type:"string",default:"var(--postx_preset_Base_1_color)",style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading { background:{{headerWrapBg}}; }"}]},headerWrapHoverBg:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading:hover { background:{{headerWrapHoverBg}}; }"}]},headerWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Contrast_3_color)",type:"solid"},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading"}]},headerWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading:hover"}]},headerWrapRadius:{type:"object",default:{lg:{top:"2",bottom:"2",left:"2",right:"2",unit:"px"}},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading { border-radius: {{headerWrapRadius}}; }"}]},headerWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading:hover { border-radius: {{headerWrapHoverRadius}}; }"}]},headerSpaceX:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"layout",condition:"==",value:"layout2"}],selector:"{{ULTP}} .ultp-block-entry-heading { left: {{headerSpaceX}}; }"},{depends:[{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .ultp-block-entry-heading { left: {{headerSpaceX}};transform: translateX(0%);right:auto }"},{depends:[{key:"layout",condition:"==",value:"layout4"}],selector:"{{ULTP}} .ultp-block-entry-heading { right: {{headerSpaceX}};left:auto; }"}]},headerSpaceY:{type:"object",default:{lg:"30"},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading { top: -{{headerSpaceY}}px; }\n                    {{ULTP}} .ultp-block-item { margin-top: {{headerSpaceY}}px; }"}]},headerWrapPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-block-entry-heading { padding: {{headerWrapPadding}}; }"}]},separatorShow:{type:"boolean",default:!0},septColor:{type:"string",default:"#e5e5e5",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { border-bottom-color:{{septColor}}; }"}]},septStyle:{type:"string",default:"dashed",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { border-bottom-style:{{septStyle}}; }"}]},septSize:{type:"string",default:{lg:"1"},style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { border-bottom-width: {{septSize}}px; }"}]},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto;}"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n                    {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover,\n                    {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n                    {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}} }"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n                    {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n                    {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n                    {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"pagination"},...(0,o.t)(["advFilter","heading","advanceAttr","pagination","video","meta","category","readMore","query"],[],[{key:"queryNumber",default:6},{key:"vidIconPosition",default:"center"},{key:"iconSize",default:{lg:"80",sm:"50",xs:"50",unit:"px"}},{key:"pagiAlign",default:{lg:"left"}},{key:"metaSeparator",default:" "},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"metaMargin",default:{lg:{top:"",bottom:"20",left:"",right:"",unit:"px"}}},{key:"catLineColor",default:"var(--postx_preset_Primary_color)"},{key:"catLineHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"catBgColor",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"catBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Primary_color)"}},{key:"catSacing",default:{lg:{bottom:5,unit:"px"},unit:"px"}},{key:"catHoverColor",default:"var(--postx_preset_Over_Primary_color)"},{key:"catTypo",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""}},{key:"readMore",default:!0},{key:"readMoreColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)"}},{key:"readMoreHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"readMoreSacing",default:{lg:{top:25,bottom:"",left:"",right:"",unit:"px"}}}]),V4_1_0_CompCheck:a.O,...(0,i.b)({})}},8844:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(4173),n=l(6682);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-List-1/","block_docs"),r("ultimate-post/post-list-1",{title:__("Post List #1","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-list-1.svg"}),category:"ultimate-post",keywords:[__("Post Listing","ultimate-post"),__("Listing","ultimate-post"),__("Article","ultimate-post"),__("List View","ultimate-post"),__("List","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postlist1.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},2510:(e,t,l)=>{"use strict";l.d(t,{Z:()=>M});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(3508),u=l(6896),d=l(1411),m=l(3985),g=l(8152),y=l(6005),b=l(9838),v=l(1760),h=l(3151),f=l(9735),k=l(2963),w=l(9349),x=l(7025),T=l(7285);const{__}=wp.i18n,{InspectorControls:S}=wp.blockEditor,{useEffect:P,useRef:C,useState:E,Fragment:_}=wp.element,{Spinner:L,Placeholder:I}=wp.components,{getBlockAttributes:U,getBlockRootClientId:B}=wp.data.select("core/block-editor");function M(e){const t=C(null),[l,M]=E(x.Ti),{setAttributes:A,name:H,clientId:N,attributes:j,context:O,isSelected:Z,className:R,attributes:{blockId:D,currentPostId:F,readMoreIcon:z,imgCrop:W,imgCropSmall:G,excerptLimit:V,showFullExcerpt:q,showSmallMeta:$,metaStyle:K,metaShow:J,catShow:Y,showImage:X,metaSeparator:Q,titleShow:ee,catStyle:te,catPosition:le,titlePosition:oe,excerptShow:ae,imgAnimation:ie,imgOverlayType:ne,imgOverlay:re,metaList:se,metaListSmall:pe,showSmallCat:ce,readMore:ue,readMoreText:de,showSmallBtn:me,showSmallExcerpt:ge,varticalAlign:ye,imgFlip:be,metaPosition:ve,layout:he,customCatColor:fe,onlyCatColor:ke,contentTag:we,titleTag:xe,showSeoMeta:Te,titleLength:Se,metaMinText:Pe,metaAuthorPrefix:Ce,titleStyle:Ee,metaDateFormat:_e,authorLink:Le,fallbackEnable:Ie,vidIconEnable:Ue,notFoundMessage:Be,excerptLimitLg:Me,fullExcerptLg:Ae,dcEnabled:He,dcFields:Ne,previewImg:je,advanceId:Oe,paginationShow:Ze,paginationAjax:Re,headingShow:De,filterShow:Fe,paginationType:ze,navPosition:We,paginationNav:Ge,loadMoreText:Ve,paginationText:qe,V4_1_0_CompCheck:{runComp:$e}}}=e;function Ke(e){M({...l,selectedDC:e})}function Je(){M({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function Ye(e){M({...l,section:{...x.ZQ,[e]:!0}}),(0,x.Rt)(e),(0,x.ob)(e)}function Xe(e){M((t=>({...t,toolbarSettings:e}))),(0,x.os)(e)}function Qe(){l.error&&M({...l,error:!1}),l.loading||M({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(j)}).then((e=>{M({...l,postsList:e,loading:!1})})).catch((e=>{M({...l,loading:!1,error:!0})}))}P((()=>{(0,x.oA)(),Qe()}),[]),P((()=>{const t=N.substr(0,6),l=U(B(N));(0,i.qi)(A,l,F,N),(0,h.h)(e),D?D&&D!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||A({blockId:t})):(A({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&A({queryType:"archiveBuilder"}))}),[N]),P((()=>{const e=t.current;(0,f.o6)()&&0===j.dcFields.length&&A({dcFields:Array(T.PR).fill(void 0)}),e?((0,i.Qr)(e,j)&&(Qe(),t.current=j),e.isSelected!==Z&&Z&&(0,x.gT)(Ye,Xe)):t.current=j}),[j]);const et={setAttributes:A,name:H,attributes:j,setSection:Ye,section:l.section,clientId:N,context:O,setSelectedDc:Ke,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){Ke(e),Xe("dc_group")}};let tt;return D&&(tt=(0,b.Kh)(j,"ultimate-post/post-list-2",D,(0,i.k0)())),je?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:je}):(0,a.createElement)(_,null,(0,a.createElement)(T.FP,{store:et,selected:l.toolbarSettings}),(0,a.createElement)(S,null,(0,a.createElement)(T.ZP,{store:et})),(0,a.createElement)(v.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"layout",block:"post-list-2",key:"layout",options:[{img:"assets/img/layouts/pl2/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pl2/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pl2/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pl2/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0}]},{type:"feat_toggle",label:__("Post List Features","ultimate-post"),new:i.KE,[$e?"exclude":"dep"]:i.N2}],store:et}),(0,a.createElement)("div",(0,o.Z)({},Oe&&{id:Oe},{className:`ultp-block-${D} ${R}`,onClick:e=>{e.stopPropagation(),Ye("general"),Xe("")}}),tt&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:tt}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(De||Fe||Ze)&&(0,a.createElement)(s.m,{attributes:j,setAttributes:A,onClick:()=>{Ye("heading"),Xe("heading")},setSection:Ye,setToolbarSettings:Xe}),function(){const e=`${we}`,t=(e,t)=>(0,f.o6)()&&He&&(0,a.createElement)(w.Z,{idx:e,postId:t,fields:Ne,settingsOnClick:(e,t)=>{e?.stopPropagation(),Xe(t)},selectedDC:l.selectedDC,setSelectedDc:Ke,setAttributes:A,dcFields:Ne});return l.error?(0,a.createElement)(I,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(L,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-content-${ye} ultp-block-content-${be} ultp-${he}`},l.postsList.map(((l,o)=>{const i=0==o?JSON.parse(se.replaceAll("u0022",'"')):JSON.parse(pe.replaceAll("u0022",'"'));return(0,a.createElement)(e,{key:o,className:`ultp-block-item ultp-block-media post-id-${l.ID}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap "+(0===o?"ultp-first-postlist-2":"ultp-all-postlist-2")},0===o&&t(8,l.ID),(l.image&&!l.is_fallback||Ie)&&X&&(0==o||0!=o&&"layout1"===he||"layout4"===he)&&(0,a.createElement)(p.A8,{imgOverlay:re,imgOverlayType:ne,imgAnimation:ie,post:l,fallbackEnable:Ie,vidIconEnable:Ue,imgCropSmall:G,showImage:X,imgCrop:W,idx:o,Category:0!=o&&!ce||"aboveTitle"==le?null:(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:Y,catStyle:te,catPosition:le,customCatColor:fe,onlyCatColor:ke,onClick:e=>{Ye("taxonomy-/-category"),Xe("cat")}})),Video:Ue&&l.has_video?(0,a.createElement)(p.nk,{onClick:()=>{Ye("video"),Xe("video")}}):null,onClick:()=>{Ye("image"),Xe("image")}}),(0,a.createElement)("div",{className:"ultp-block-content"},0!==o&&t(8,l.ID),t(7,l.ID),"aboveTitle"==le&&(0==o||ce)&&(0,a.createElement)(n.Z,{post:l,catShow:Y,catStyle:te,catPosition:le,customCatColor:fe,onlyCatColor:ke,onClick:e=>{Ye("taxonomy-/-category"),Xe("cat")}}),t(6,l.ID),l.title&&ee&&1==oe&&(0,a.createElement)(y.Z,{title:l.title,headingTag:xe,titleLength:Se,titleStyle:Ee,onClick:e=>{Ye("title"),Xe("title")}}),t(5,l.ID),(0==o||$)&&J&&"top"==ve&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:Q,metaStyle:K,metaMinText:Pe,metaAuthorPrefix:Ce,metaDateFormat:_e,authorLink:Le,onClick:e=>{Ye("meta"),Xe("meta")}}),t(4,l.ID),l.title&&ee&&0==oe&&(0,a.createElement)(y.Z,{title:l.title,headingTag:xe,titleLength:Se,titleStyle:Ee,onClick:e=>{Ye("title"),Xe("title")}}),t(3,l.ID),(0==o||ge)&&ae&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:V,showFullExcerpt:q,showSeoMeta:Te,onClick:e=>{Ye("excerpt"),Xe("excerpt")}})),t(2,l.ID),(0==o||me)&&ue&&(0,a.createElement)(g.Z,{readMoreText:de,readMoreIcon:z,titleLabel:l.title,onClick:()=>{Ye("read-more"),Xe("read-more")}}),t(1,l.ID),(0==o||$)&&J&&"bottom"==ve&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:Q,metaStyle:K,metaMinText:Pe,metaAuthorPrefix:Ce,metaDateFormat:_e,authorLink:Le,onClick:e=>{Ye("meta"),Xe("meta")}}),t(0,l.ID),(0,f.o6)()&&He&&(0,a.createElement)(k.Z,{dcFields:Ne,setAttributes:A,startOnboarding:Je}))))}))):(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:Be})}(),Ze&&"loadMore"==ze&&(0,a.createElement)(c.Z,{loadMoreText:Ve,onClick:e=>{Ye("pagination"),Xe("pagination")}}),Ze&&"navigation"==ze&&"topRight"!=We&&(0,a.createElement)(d.Z,{onClick:()=>{Ye("pagination"),Xe("pagination")}}),Ze&&"pagination"==ze&&(0,a.createElement)(m.Z,{paginationNav:Ge,paginationAjax:Re,paginationText:qe,onClick:e=>{Ye("pagination"),Xe("pagination")}}))))}},7285:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=9,y=e=>{const{store:t}=e,{layout:l,queryType:n,advFilterEnable:r,advPaginationEnable:u,V4_1_0_CompCheck:{runComp:g}}=t.attributes,{context:y,section:b}=t;return m((()=>{(0,d.CH)(y,r,t,u)}),[r,u,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6837",store:t}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:t,initialOpen:!0,exclude:["columns","columnGridGap"],dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-list-2",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pl2/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pl2/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pl2/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pl2/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0}],variation:{layout1:{counterColor:"#767676"},layout2:{counterColor:"#767676"},layout3:{counterColor:"var(--postx_preset_Base_2_color)"},layout4:{counterColor:"var(--postx_preset_Base_2_color)"}}}},{position:5,data:{type:"separator"}},{position:6,data:{type:"range",key:"septSpace",min:0,max:80,step:1,_inline:!0,responsive:!0,label:__("Spacing","ultimate-post")}},{data:{type:"toggle",key:"imgFlip",label:__("Image Flip","ultimate-post")}},{data:{type:"toggle",key:"mobileImageTop",label:__("Stack on Mobile","ultimate-post")}},{data:{type:"tag",key:"varticalAlign",label:__("Vertical Align","ultimate-post"),options:[{value:"top",label:__("Top","ultimate-post")},{value:"middle",label:__("Middle","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:b.title,include:[{position:5,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}},{position:8,data:{type:"dimension",key:"titleLgPadding",label:__("Padding Large Item","ultimate-post"),step:1,unit:!0,responsive:!0}}],exclude:["titleBackground"],hrIdx:[4,9]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:b.image,include:[{position:5,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{position:1,data:{type:"range",key:"largeimgSpacing",label:__("Large Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{position:2,data:{type:"range",key:"largeHeight",min:0,max:800,step:1,unit:!0,responsive:!0,label:__("Large Image Height","ultimate-post")}},{position:3,data:{type:"range",key:"spaceLargeItem",min:0,max:100,step:1,unit:!0,responsive:!0,label:__("Large Item Space","ultimate-post")}},{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin"],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[6]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,depend:"metaShow",initialOpen:b.meta,include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}}],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:b["taxonomy-/-category"],depend:"catShow",store:t,include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}}],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:b.excerpt,store:t,include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}},{position:4,data:{type:"toggle",key:"fullExcerptLg",label:__("Show Full Excerpt (Large Post)","ultimate-post")}},{position:5,data:{type:"range",key:"excerptLimitLg",label:__("Large Post Excerpt Limit","ultimate-post"),min:0,max:500,step:1,help:__("Excerpt Limit from Post Content.","ultimate-post")}}],hrIdx:[3,6]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:b["read-more"],depend:"readMore",include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:b.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),(0,o.createElement)(a.O2,{store:t,exclude:["contenWraptWidth","contenWraptHeight"]}),("layout3"===l||"layout4"===l)&&(0,o.createElement)(a.wT,{store:t}),(0,o.createElement)(a.Yp,{depend:"separatorShow",store:t,exclude:["septSpace"]}),!g&&(0,o.createElement)(i.Z,{open:b.filter||b.pagination||b.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:b.heading,depend:"headingShow"}),"posts"!=n&&"customPosts"!=n&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:b.filter,depend:"filterShow",hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,initialOpen:b.pagination,depend:"paginationShow",store:t}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:s,titleShow:p,catPosition:d,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,p&&0==m,i&&"top"==b,p&&1==m,f&&"aboveTitle"==d,h&&s];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,exStyle:["pagiTypo","pagiMargin","pagiPadding"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],include:[{position:7,data:{type:"dimension",key:"titleLgPadding",label:__("Padding Large Item","ultimate-post"),step:1,unit:!0,responsive:!0}}],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post"),include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}},{position:4,data:{type:"toggle",key:"fullExcerptLg",label:__("Show Full Excerpt (Large Post)","ultimate-post")}},{position:5,data:{type:"range",key:"excerptLimitLg",label:__("Large Post Excerpt Limit","ultimate-post"),min:0,max:500,step:1,help:__("Excerpt Limit from Post Content.","ultimate-post")}}]}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,incSettings:[{position:0,data:{type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}}],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catTypo","catSacing","catPadding"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}}]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,incStyle:[{position:2,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{position:0,data:{type:"range",key:"largeimgSpacing",label:__("Large Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{position:1,data:{type:"range",key:"largeHeight",min:0,max:800,step:1,unit:!0,responsive:!0,label:__("Large Image Height","ultimate-post")}},{position:2,data:{type:"range",key:"spaceLargeItem",min:0,max:100,step:1,unit:!0,responsive:!0,label:__("Large Item Space","ultimate-post")}}],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exStyle:["imgMargin"]}));default:return null}}},9220:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},largeHeight:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-image img { width: 100%; object-fit: cover; height: {{largeHeight}}; }"}]},spaceLargeItem:{type:"object",default:{lg:"60",xs:"25",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-item:first-child { margin-bottom: {{spaceLargeItem}};}"}]},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!0},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover { text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"28",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"36",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-title a"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"24",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"30",unit:"px"},transform:"",decoration:"none",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title, \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:10,bottom:15,unit:"px"},xs:{top:0,bottom:10,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLgPadding:{type:"object",default:{lg:{top:10,bottom:15,unit:"px"},xs:{top:"0",bottom:10,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title { padding:{{titleLgPadding}}; }"}]},titleLength:{type:"string",default:0},mobileImageTop:{type:"boolean",default:!1,style:[{selector:"@media (max-width: 768px) { {{ULTP}} .ultp-block-media .ultp-block-content-wrap { display: block;} }"}]},imgFlip:{type:"boolean",default:!1,style:[{depends:[{key:"layout",condition:"!=",value:["layout2","layout3"]}],selector:"{{ULTP}} .ultp-block-content-true .ultp-block-media, \n          {{ULTP}} .ultp-block-content-1 .ultp-block-media { flex-direction: row-reverse; }"}]},imgCrop:{type:"string",default:"full",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",depends:[{key:"showImage",condition:"==",value:!0}]},imgWidth:{type:"object",default:{lg:"40",ulg:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { height:fit-content; } \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { max-width: {{imgWidth}}; }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { height:fit-content; } \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image img { height:{{imgHeight}}; }"}]},imageScale:{type:"string",default:"cover",style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img { object-fit:{{imageScale}}; }"}]},imgAnimation:{type:"string",default:"opacity"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-media .ultp-block-content-wrap { overflow:visible } \n          {{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-content-wrap { overflow:visible } \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},imgSpacing:{type:"object",default:{lg:"40",xs:"25"},style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"imgFlip",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-right: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }"},{depends:[{key:"showImage",condition:"==",value:!0},{key:"imgFlip",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-left: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-left: 0; margin-right: {{imgSpacing}}px; }"}]},largeimgSpacing:{type:"object",default:{lg:"15"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-image { margin-bottom: {{largeimgSpacing}}px; }"}]},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSmallMeta:{type:"boolean",default:!0},metaListSmall:{type:"string",default:'["metaAuthor","metaDate","metaRead"]'},showSmallCat:{type:"boolean",default:!0},showSeoMeta:{type:"boolean",default:!1},showSmallExcerpt:{type:"boolean",default:!0},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},fullExcerptLg:{type:"boolean",default:!1},excerptLimit:{type:"string",default:40,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptLimitLg:{type:"string",default:70,style:[{depends:[{key:"fullExcerptLg",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:21,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n          {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:0,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},showSmallBtn:{type:"boolean",default:!0},varticalAlign:{type:"string",default:"middle",style:[{depends:[{key:"varticalAlign",condition:"==",value:"top"}],selector:"{{ULTP}} .ultp-block-content-top .ultp-block-content { -ms-flex-item-align: flex-start;-ms-grid-row-align: flex-start;align-self: flex-start; }"},{depends:[{key:"varticalAlign",condition:"==",value:"middle"}],selector:"{{ULTP}} .ultp-block-content-middle .ultp-block-content { -ms-flex-item-align: center;-ms-grid-row-align: center;align-self: center; }"},{depends:[{key:"varticalAlign",condition:"==",value:"bottom"}],selector:"{{ULTP}} .ultp-block-content-bottom .ultp-block-content { -ms-flex-item-align: flex-end;-ms-grid-row-align: flex-end;align-self: flex-end; }"}]},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: center; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-end; } \n          .rtl {{ULTP}} .ultp-block-meta { justify-content: start; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:".rtl {{ULTP}} .ultp-block-readmore a { display:flex; flex-direction:row-reverse; justify-content:flex-end; align-items:center; }"}]},contentWrapBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-content-wrap { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapInnerPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content { padding: {{contentWrapInnerPadding}}; }"}]},contentWrapPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; }"}]},counterTypo:{type:"object",default:{openTypography:1,size:{lg:18,unit:"px"},height:{lg:"20",unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""},style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:first-child .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before, \n          {{ULTP}} .ultp-layout3 .ultp-block-content::before"}]},counterColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:first-child .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before, \n          {{ULTP}} .ultp-layout3 .ultp-block-content::before { color:{{counterColor}}; }"}]},counterBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Contrast_2_color)"},style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:first-child .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before, \n          {{ULTP}} .ultp-layout3 .ultp-block-content::before"}]},counterWidth:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:first-child .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before, \n          {{ULTP}} .ultp-layout3 .ultp-block-content::before { width:{{counterWidth}}px; }"}]},counterHeight:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:first-child .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before, \n          {{ULTP}} .ultp-layout3 .ultp-block-content::before { height:{{counterHeight}}px; }"}]},counterBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Base_3_color)",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:first-child .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before, \n          {{ULTP}} .ultp-layout3 .ultp-block-content::before"}]},counterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:first-child .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before, \n          {{ULTP}} .ultp-layout3 .ultp-block-content::before { border-radius:{{counterRadius}}; }"}]},separatorShow:{type:"boolean",default:!0},septColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-color:{{septColor}}; }"}]},septStyle:{type:"string",default:"dashed",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-style:{{septStyle}}; }"}]},septSize:{type:"string",default:{lg:"1"},style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-width: {{septSize}}px; }"}]},septSpace:{type:"object",default:{lg:"30"},style:[{selector:"{{ULTP}} .ultp-block-item:not(:first-child) { padding-bottom: {{septSpace}}px; } \n          {{ULTP}} .ultp-block-item:not(:first-child) { margin-bottom: {{septSpace}}px; }"}]},headingText:{type:"string",default:"Post List #2"},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto; }"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)s",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"pagination"},...(0,o.t)(["advFilter","heading","advanceAttr","pagination","video","meta","category","readMore","query"],[],[{key:"queryNumPosts",default:{lg:5}},{key:"queryNumber",default:5},{key:"pagiAlign",default:{lg:"left"}},{key:"vidIconPosition",default:"center"},{key:"iconSize",default:{lg:"80",sm:"50",xs:"50",unit:"px"}},{key:"metaTypo",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:20,unit:"px"},transform:"capitalize",weight:"500",decoration:"none",family:""}},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"metaSpacing",default:{lg:"10",unit:"px"}},{key:"metaMargin",default:{lg:{bottom:"15",unit:"px"},xs:{bottom:"5",unit:"px"}}},{key:"metaPadding",default:{lg:{top:"0",bottom:"0",unit:"px"}}},{key:"catLineColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"catTypo",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""}},{key:"catColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"catBgColor",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"catHoverColor",default:"var(--postx_preset_Contrast_2_color)"},{key:"catBgHoverColor",default:"var(--postx_preset_Base_2_color)"},{key:"catSacing",default:{lg:{top:0,bottom:0,left:0,right:0,unit:"px"}}},{key:"readMore",default:!0},{key:"readMoreIcon",default:" "},{key:"readMoreTypo",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:"",unit:"px"},transform:"uppercase",weight:"500",decoration:"underline",family:""}},{key:"readMoreColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"readMoreHoverColor",default:"var(--postx_preset_Contrast_3_color)"},{key:"readMoreSacing",default:{lg:{top:20,bottom:"",left:"",right:"",unit:"px"},xs:{top:15,unit:"px"}}}]),V4_1_0_CompCheck:a.O,...(0,i.b)({})}},9038:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(2510),n=l(9220);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-List-2/","block_docs"),r("ultimate-post/post-list-2",{title:__("Post List #2","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-list-2.svg"}),category:"ultimate-post",keywords:[__("Post List","ultimate-post"),__("List View","ultimate-post"),__("Article","ultimate-post"),__("Listing","ultimate-post"),__("List","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postlist2.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},8602:(e,t,l)=>{"use strict";l.d(t,{Z:()=>M});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(3508),u=l(6896),d=l(1411),m=l(3985),g=l(8152),y=l(6005),b=l(9838),v=l(1760),h=l(3151),f=l(9735),k=l(2963),w=l(9349),x=l(7025),T=l(138);const{__}=wp.i18n,{InspectorControls:S}=wp.blockEditor,{useEffect:P,useState:C,useRef:E,Fragment:_}=wp.element,{Spinner:L,Placeholder:I}=wp.components,{getBlockAttributes:U,getBlockRootClientId:B}=wp.data.select("core/block-editor");function M(e){const t=E(null),[l,M]=C(x.Ti),{setAttributes:A,name:H,clientId:N,className:j,isSelected:O,context:Z,attributes:R,attributes:{blockId:D,previewImg:F,readMoreIcon:z,imgCrop:W,excerptLimit:G,showFullExcerpt:V,columns:q,metaStyle:$,metaShow:K,catShow:J,readMore:Y,readMoreText:X,showImage:Q,metaSeparator:ee,titleShow:te,catStyle:le,catPosition:oe,titlePosition:ae,excerptShow:ie,imgAnimation:ne,imgOverlayType:re,imgOverlay:se,metaList:pe,varticalAlign:ce,imgFlip:ue,metaPosition:de,layout:me,customCatColor:ge,onlyCatColor:ye,contentTag:be,titleTag:ve,showSeoMeta:he,titleLength:fe,metaMinText:ke,metaAuthorPrefix:we,titleStyle:xe,metaDateFormat:Te,authorLink:Se,fallbackEnable:Pe,vidIconEnable:Ce,notFoundMessage:Ee,dcEnabled:_e,dcFields:Le,advanceId:Ie,paginationShow:Ue,paginationAjax:Be,headingShow:Me,filterShow:Ae,paginationType:He,navPosition:Ne,paginationNav:je,loadMoreText:Oe,paginationText:Ze,V4_1_0_CompCheck:{runComp:Re},currentPostId:De}}=e;function Fe(e){M({...l,selectedDC:e})}function ze(){M({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function We(e){M({...l,section:{...x.ZQ,[e]:!0}}),(0,x.Rt)(e),(0,x.ob)(e)}function Ge(e){M((t=>({...t,toolbarSettings:e}))),(0,x.os)(e)}function Ve(){l.error&&M({...l,error:!1}),l.loading||M({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(R)}).then((e=>{M({...l,postsList:e,loading:!1})})).catch((e=>{M({...l,loading:!1,error:!0})}))}P((()=>{(0,x.oA)(),Ve()}),[]),P((()=>{const t=N.substr(0,6),l=U(B(N));(0,i.qi)(A,l,De,N),(0,h.h)(e),D?D&&D!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||A({blockId:t})):(A({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&A({queryType:"archiveBuilder"}))}),[D]),P((()=>{const e=t.current;(0,f.o6)()&&0===R.dcFields.length&&A({dcFields:Array(T.PR).fill(void 0)}),e?((0,i.Qr)(e,R)&&(Ve(),t.current=R),e.isSelected!==O&&O&&(0,x.gT)(We,Ge)):t.current=R}),[R]);const qe={setAttributes:A,name:H,attributes:R,setSection:We,section:l.section,clientId:N,context:Z,setSelectedDc:Fe,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){Fe(e),Ge("dc_group")}};let $e;return D&&($e=(0,b.Kh)(R,"ultimate-post/post-list-3",D,(0,i.k0)())),(0,a.createElement)(_,null,(0,a.createElement)(T.FP,{store:qe,selected:l.toolbarSettings}),(0,a.createElement)(v.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",include:[{position:1,data:{type:"range",key:"rowSpace",min:0,max:80,step:1,responsive:!0,label:__("Row Gap","ultimate-post")}}],exclude:["spaceSep","wrapOuterPadding","wrapMargin"]},{type:"layout",block:"post-list-3",key:"layout",options:[{img:"assets/img/layouts/pl3/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pl3/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pl3/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pl3/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0},{img:"assets/img/layouts/pl3/l5.png",label:__("Layout 5","ultimate-post"),value:"layout5",pro:!0}]},{type:"feat_toggle",label:__("Post List Features","ultimate-post"),new:i.KE,[Re?"exclude":"dep"]:i.N2}],store:qe}),(0,a.createElement)(S,null,(0,a.createElement)(T.ZP,{store:qe})),(0,a.createElement)("div",(0,o.Z)({},Ie&&{id:Ie},{className:`ultp-block-${D} ${j}`,onClick:e=>{e.stopPropagation(),We("general"),Ge("")}}),$e&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:$e}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(Me||Ae||Ue)&&(0,a.createElement)(s.m,{attributes:R,setAttributes:A,onClick:()=>{We("heading"),Ge("heading")},setSection:We,setToolbarSettings:Ge}),function(){const e=`${be}`,t=(e,t)=>(0,f.o6)()&&_e&&(0,a.createElement)(w.Z,{idx:e,postId:t,fields:Le,settingsOnClick:(e,t)=>{e?.stopPropagation(),Ge(t)},selectedDC:l.selectedDC,setSelectedDc:Fe,setAttributes:A,dcFields:Le});return F?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:F}):l.error?(0,a.createElement)(I,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:__("Loading....","ultimate-post")},(0,a.createElement)(L,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-row ultp-block-column-${q.lg} ultp-block-content-${ce} ultp-block-content-${ue} ultp-${me}`},l.postsList.map(((l,o)=>{const i=JSON.parse(pe.replaceAll("u0022",'"'));return(0,a.createElement)(e,{key:o,className:`ultp-block-item ultp-block-media post-id-${l.ID}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap"},(0,a.createElement)(p._g,{imgOverlay:se,imgOverlayType:re,imgAnimation:ne,post:l,fallbackEnable:Pe,vidIconEnable:Ce,showImage:Q,idx:o,imgCrop:W,onClick:()=>{We("image"),Ge("image")},Video:Ce&&l.has_video?(0,a.createElement)(p.nk,{onClick:()=>{We("video"),Ge("video")}}):null,Category:"aboveTitle"!=oe?(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:J,catStyle:le,catPosition:oe,customCatColor:ge,onlyCatColor:ye,onClick:e=>{We("taxonomy-/-category"),Ge("cat")}})):null}),(0,a.createElement)("div",{className:"ultp-block-content"},t(7,l.ID),"aboveTitle"==oe&&(0,a.createElement)(n.Z,{post:l,catShow:J,catStyle:le,catPosition:oe,customCatColor:ge,onlyCatColor:ye,onClick:e=>{We("taxonomy-/-category"),Ge("cat")}}),t(6,l.ID),l.title&&te&&1==ae&&(0,a.createElement)(y.Z,{title:l.title,headingTag:ve,titleLength:fe,titleStyle:xe,onClick:e=>{We("title"),Ge("title")}}),t(5,l.ID),K&&"top"==de&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:ee,metaStyle:$,metaMinText:ke,metaAuthorPrefix:we,metaDateFormat:Te,authorLink:Se,onClick:e=>{We("meta"),Ge("meta")}}),t(4,l.ID),l.title&&te&&0==ae&&(0,a.createElement)(y.Z,{title:l.title,headingTag:ve,titleLength:fe,titleStyle:xe,onClick:e=>{We("title"),Ge("title")}}),t(3,l.ID),ie&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:G,showFullExcerpt:V,showSeoMeta:he,onClick:e=>{We("excerpt"),Ge("excerpt")}})),t(2,l.ID),Y&&(0,a.createElement)(g.Z,{readMoreText:X,readMoreIcon:z,titleLabel:l.title,onClick:()=>{We("read-more"),Ge("read-more")}}),t(1,l.ID),K&&"bottom"==de&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:ee,metaStyle:$,metaMinText:ke,metaAuthorPrefix:we,metaDateFormat:Te,authorLink:Se,onClick:e=>{We("meta"),Ge("meta")}}),t(0,l.ID),(0,f.o6)()&&_e&&(0,a.createElement)(k.Z,{dcFields:Le,setAttributes:A,startOnboarding:ze}))))}))):(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:Ee})}(),Ue&&"loadMore"==He&&(0,a.createElement)(c.Z,{loadMoreText:Oe,onClick:e=>{We("pagination"),Ge("pagination")}}),Ue&&"navigation"==He&&"topRight"!=Ne&&(0,a.createElement)(d.Z,{onClick:()=>{We("pagination"),Ge("pagination")}}),Ue&&"pagination"==He&&(0,a.createElement)(m.Z,{paginationNav:je,paginationAjax:Be,paginationText:Ze,onClick:e=>{We("pagination"),Ge("pagination")}}))))}},138:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=8,y=e=>{const{store:t}=e,{layout:l,queryType:n,advFilterEnable:r,advPaginationEnable:u,V4_1_0_CompCheck:{runComp:g}}=t.attributes,{context:y,section:b}=t;return m((()=>{(0,d.CH)(y,r,t,u)}),[r,u,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6838",store:t}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:t,initialOpen:!0,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-list-3",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pl3/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pl3/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pl3/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pl3/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0},{img:"assets/img/layouts/pl3/l5.png",label:__("Layout 5","ultimate-post"),value:"layout5",pro:!0}],variation:{layout1:{imgWidth:{lg:"45",ulg:"%"},catSacing:{lg:{top:"0",bottom:"10",unit:"px"},xs:{top:"15",bottom:"5",unit:"px"}},contentWrapBorder:{width:{top:"0.5",right:"0.5",bottom:"0.5",left:"0.5",unit:"px"},type:"solid",color:"#969696",openBorder:0},contentWrapInnerPadding:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"},xs:{top:"",bottom:"",left:"",right:"",unit:"px"}}},layout2:{imgWidth:{lg:"50",ulg:"%"},catSacing:{lg:{top:"0",bottom:"10",unit:"px"},xs:{top:"15",bottom:"5",unit:"px"}},contentWrapBorder:{width:{top:"0.5",right:"0.5",bottom:"0.5",left:"0.5",unit:"px"},type:"solid",color:"#969696",openBorder:0},contentWrapInnerPadding:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"},xs:{top:"",bottom:"",left:"",right:"",unit:"px"}}},layout3:{imgWidth:{lg:"50",ulg:"%"},catSacing:{lg:{top:"0",bottom:"10",unit:"px"},xs:{top:"0",bottom:"5",unit:"px"}},contentWrapBorder:{width:{top:"0.5",right:"0.5",bottom:"0.5",left:"0.5",unit:"px"},type:"solid",color:"#969696",openBorder:1},contentWrapInnerPadding:{lg:{top:"40",bottom:"40",left:"30",right:"30",unit:"px"},xs:{top:"21",bottom:"21",left:"21",right:"21",unit:"px"}}},layout4:{imgWidth:{lg:"50",ulg:"%"},catSacing:{lg:{top:"0",bottom:"10",unit:"px"},xs:{top:"15",bottom:"5",unit:"px"}},contentWrapBorder:{width:{top:"0.5",right:"0.5",bottom:"0.5",left:"0.5",unit:"px"},type:"solid",color:"#969696",openBorder:0},contentWrapInnerPadding:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"},xs:{top:"",bottom:"",left:"",right:"",unit:"px"}}},layout5:{imgWidth:{lg:"50",ulg:"%"},catSacing:{lg:{top:"0",bottom:"10",unit:"px"},xs:{top:"0",bottom:"5",unit:"px"}},contentWrapBorder:{width:{top:"0.5",right:"0.5",bottom:"0.5",left:"0.5",unit:"px"},type:"solid",color:"#969696",openBorder:1},contentWrapInnerPadding:{lg:{top:"40",bottom:"40",left:"30",right:"30",unit:"px"},xs:{top:"21",bottom:"21",left:"21",right:"21",unit:"px"}}}}}},{position:5,data:{type:"separator"}},{position:7,data:{type:"range",_inline:!0,key:"rowSpace",min:0,max:80,step:1,responsive:!0,label:__("Row Gap","ultimate-post")}},{data:{type:"toggle",key:"imgFlip",label:__("Image Flip","ultimate-post")}},{data:{type:"toggle",key:"mobileImageTop",label:__("Stack on Mobile","ultimate-post")}},{data:{type:"tag",key:"varticalAlign",label:__("Vertical Align","ultimate-post"),options:[{value:"top",label:__("Top","ultimate-post")},{value:"middle",label:__("Middle","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:b.title,exclude:["titleBackground"],hrIdx:[4,8]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:b.image,include:[{position:3,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin","imgCropSmall"],hrIdx:[{tab:"settings",hr:[2,10]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,depend:"metaShow",initialOpen:b.meta,exclude:["metaListSmall"],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:b["taxonomy-/-category"],depend:"catShow",store:t,hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:b.excerpt,store:t,hrIdx:[3,6]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:b["read-more"],depend:"readMore",hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:b.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),(0,o.createElement)(a.Yp,{depend:"separatorShow",exclude:["septSpace"],store:t}),(0,o.createElement)(a.O2,{store:t,exclude:["contenWraptWidth","contenWraptHeight"]}),"layout2"===l&&(0,o.createElement)(a.wT,{store:t}),!g&&(0,o.createElement)(i.Z,{open:b.filter||b.pagination||b.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:b.heading,depend:"headingShow"}),"posts"!=n&&"customPosts"!=n&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:b.filter,depend:"filterShow",hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,initialOpen:b.pagination,depend:"paginationShow",store:t}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:s,titleShow:p,catPosition:d,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,p&&0==m,i&&"top"==b,p&&1==m,f&&"aboveTitle"==d,h&&s];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,exStyle:["pagiTypo","pagiMargin","pagiPadding"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo"],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post")}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,exSettings:["metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],incStyle:[{position:0,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}}],exSettings:["imgCropSmall"],exStyle:["imgMargin"]}));default:return null}}},8490:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},columns:{type:"object",default:{lg:"1"},style:[{selector:"{{ULTP}} .ultp-block-row { grid-template-columns: repeat({{columns}}, 1fr); }"}]},columnGridGap:{type:"object",default:{lg:"30",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-row { grid-column-gap: {{columnGridGap}}; }"}]},rowSpace:{type:"object",default:{lg:"30"},style:[{depends:[{key:"separatorShow",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-block-row {row-gap: {{rowSpace}}px; }"},{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item { padding-bottom: {{rowSpace}}px; margin-bottom:{{rowSpace}}px; }"}]},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!0},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\");  }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"24",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"30",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title, \n          {{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:0,bottom:0,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},varticalAlign:{type:"string",default:"middle",style:[{depends:[{key:"varticalAlign",condition:"==",value:"top"}],selector:"{{ULTP}} .ultp-block-content-top .ultp-block-content { -ms-flex-item-align: flex-start;-ms-grid-row-align: flex-start;align-self: flex-start; }"},{depends:[{key:"varticalAlign",condition:"==",value:"middle"}],selector:"{{ULTP}} .ultp-block-content-middle .ultp-block-content { -ms-flex-item-align: center;-ms-grid-row-align: center;align-self: center; }"},{depends:[{key:"varticalAlign",condition:"==",value:"bottom"}],selector:"{{ULTP}} .ultp-block-content-bottom .ultp-block-content { -ms-flex-item-align: flex-end;-ms-grid-row-align: flex-end;align-self: flex-end; }"}]},imgFlip:{type:"boolean",default:!1,style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout3"]}],selector:"{{ULTP}} .ultp-block-content-true .ultp-block-media, \n          {{ULTP}} .ultp-block-content-1 .ultp-block-media { flex-direction: row-reverse; }"}]},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",depends:[{key:"showImage",condition:"==",value:!0}]},imgWidth:{type:"object",default:{lg:"50",ulg:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { max-width: {{imgWidth}}; height:fit-content; }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { height:fit-content; } \n          {{ULTP}} .ultp-block-item .ultp-block-image img { height: {{imgHeight}}; }"}]},imageScale:{type:"string",default:"cover",style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img {object-fit: {{imageScale}};}"}]},imgAnimation:{type:"string",default:"opacity"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap { overflow:visible } \n          {{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-content-wrap { overflow:visible } \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},imgSpacing:{type:"object",default:{lg:"40"},style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"imgFlip",condition:"==",value:!1},{key:"layout",condition:"==",value:"layout4"}],selector:"{{ULTP}} .ultp-block-image { margin-right: {{imgSpacing}}px; margin-left: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }"},{depends:[{key:"showImage",condition:"==",value:!0},{key:"imgFlip",condition:"==",value:!1},{key:"layout",condition:"==",value:"layout5"}],selector:"{{ULTP}} .ultp-block-image { margin-right: {{imgSpacing}}px; margin-left: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }"},{depends:[{key:"showImage",condition:"==",value:!0},{key:"imgFlip",condition:"==",value:!1},{key:"layout",condition:"!=",value:"layout4"}],selector:"{{ULTP}} .ultp-block-image { margin-right: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }"},{depends:[{key:"showImage",condition:"==",value:!0},{key:"imgFlip",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { margin-left: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-block-image { margin-left: 0; margin-right: {{imgSpacing}}px; }"},{depends:[{key:"showImage",condition:"==",value:!0},{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-layout4 .ultp-block-item:nth-child(even) .ultp-block-content-wrap .ultp-block-image { margin-left:20px; }"}]},mobileImageTop:{type:"boolean",default:!0,style:[{selector:"@media (max-width: 768px) {\n            {{ULTP}} .ultp-block-item .ultp-block-image {margin-right:0; margin-left:0; max-width: 100%;} \n          {{ULTP}} .ultp-block-media .ultp-block-content-wrap { display: block;} \n          {{ULTP}} .ultp-block-media .ultp-block-content-wrap .ultp-block-content { margin: auto 0px !important; padding: 0px } }"}]},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:40,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:21,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:0,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt{ padding: {{excerptPadding}}; }"}]},separatorShow:{type:"boolean",default:!0},septColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:last-of-type) { border-bottom-color:{{septColor}}; }"}]},septStyle:{type:"string",default:"dashed",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:last-of-type) { border-bottom-style:{{septStyle}}; }"}]},septSize:{type:"string",default:{lg:"1"},style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:last-of-type) { border-bottom-width: {{septSize}}px; }"}]},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: center;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-end; } \n          .rtl  {{ULTP}} .ultp-block-meta { justify-content: start; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:" .rtl {{ULTP}} .ultp-block-readmore a {display:flex; flex-direction:row-reverse;justify-content: flex-end;}"}]},contentWrapBg:{type:"string",default:"var(--postx_preset_Base_1_color)",style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content-wrap { background:{{contentWrapBg}}; }"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content { background:{{contentWrapBg}} !important; }"}]},contentWrapHoverBg:{type:"string",style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap:hover .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content-wrap:hover .ultp-block-content { background:{{contentWrapHoverBg}} !important; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Contrast_1_color)",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content-wrap"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content-wrap:hover"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap:hover .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content-wrap:hover .ultp-block-content"}]},contentWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap:hover .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content-wrap:hover .ultp-block-content{ border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content-wrap"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content-wrap:hover"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap:hover, .ultp-block-content \n          {{ULTP}} .ultp-layout5 .ultp-block-content-wrap:hover .ultp-block-content"}]},contentWrapInnerPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["layout1","layout2","layout4"]}],selector:"{{ULTP}} .ultp-block-content { padding: {{contentWrapInnerPadding}}; }"},{depends:[{key:"layout",condition:"==",value:["layout3","layout5"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-content-wrap .ultp-block-content, \n          {{ULTP}} .ultp-layout5 .ultp-block-content-wrap .ultp-block-content { padding: {{contentWrapInnerPadding}}; }"}]},contentWrapPadding:{type:"object",default:{lg:"0",ulg:"px"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; }"}]},counterTypo:{type:"object",default:{openTypography:1,size:{lg:18,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""},style:[{depends:[{key:"layout",condition:"==",value:"layout2"}],selector:"{{ULTP}} .ultp-layout2 .ultp-block-item::before"}]},counterColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{selector:"{{ULTP}} .ultp-layout2 .ultp-block-item::before { color:{{counterColor}}; }"}]},counterBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Contrast_2_color)"},style:[{selector:"{{ULTP}} .ultp-layout2 .ultp-block-item::before"}]},counterWidth:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-layout2 .ultp-block-item::before { width:{{counterWidth}}px; }"}]},counterHeight:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-layout2 .ultp-block-item::before { height:{{counterHeight}}px; }"}]},counterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Base_3_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-layout2 .ultp-block-item::before"}]},counterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-layout2 .ultp-block-item::before { border-radius:{{counterRadius}}; }"}]},headingText:{type:"string",default:"Post List #3"},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto;}"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a, \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"pagination"},wrapAlign:{type:"object",default:{lg:"left"},style:[{selector:"{{ULTP}} .ultp-block-wrapper .ultp-block-item { text-align:{{wrapAlign}}; }"}]},...(0,o.t)(["heading","advFilter","advanceAttr","pagination","video","meta","category","readMore","query"],[],[{key:"queryNumPosts",default:{lg:5}},{key:"queryNumber",default:5},{key:"pagiAlign",default:{lg:"left"}},{key:"vidIconPosition",default:"center"},{key:"iconSize",default:{lg:"80",sm:"50",xs:"50",unit:"px"}},{key:"metaSeparatorColor",default:"var(--postx_preset_Contrast_3_color)"},{key:"metaSpacing",default:{lg:"10",unit:"px"}},{key:"metaMargin",default:{lg:{top:"15",bottom:"15",unit:"px"},xs:{top:"10",bottom:"10",unit:"px"}}},{key:"metaPadding",default:{lg:{top:"1",bottom:"0",unit:"px"}}},{key:"catLineColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"catTypo",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""}},{key:"catColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"catBgColor",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"catHoverColor",default:"var(--postx_preset_Contrast_2_color)"},{key:"catBgHoverColor",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_2_color)"}},{key:"catSacing",default:{lg:{top:0,bottom:10,left:0,right:0,unit:"px"},xs:{top:15,bottom:0,left:0,right:0,unit:"px"}}},{key:"readMore",default:!0},{key:"readMoreIcon",default:" "},{key:"readMoreTypo",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"25",unit:"px"},spacing:{lg:"",unit:"px"},transform:"uppercase",weight:"500",decoration:"underline",family:""}},{key:"readMoreColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"readMoreHoverColor",default:"var(--postx_preset_Contrast_2_color)"},{key:"readMoreSacing",default:{lg:{top:20,bottom:"",left:"",right:"",unit:"px"},xs:{top:15,unit:"px"}}}]),V4_1_0_CompCheck:a.O,...(0,i.b)({})}},2756:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(8602),n=l(8490);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-List-3/","block_docs"),r("ultimate-post/post-list-3",{title:__("Post List #3","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-list-3.svg"}),category:"ultimate-post",keywords:[__("Post List","ultimate-post"),__("List View","ultimate-post"),__("Article","ultimate-post"),__("Listing","ultimate-post"),__("List","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postlist3.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},3576:(e,t,l)=>{"use strict";l.d(t,{Z:()=>M});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(3508),u=l(6896),d=l(1411),m=l(3985),g=l(8152),y=l(6005),b=l(9838),v=l(1760),h=l(3151),f=l(9735),k=l(2963),w=l(9349),x=l(7025),T=l(1162);const{__}=wp.i18n,{InspectorControls:S}=wp.blockEditor,{useEffect:P,useState:C,useRef:E,Fragment:_}=wp.element,{Spinner:L,Placeholder:I}=wp.components,{getBlockAttributes:U,getBlockRootClientId:B}=wp.data.select("core/block-editor");function M(e){const t=E(null),[l,M]=C(x.Ti),{setAttributes:A,name:H,clientId:N,attributes:j,isSelected:O,className:Z,context:R,attributes:{blockId:D,currentPostId:F,readMoreIcon:z,imgCrop:W,imgCropSmall:G,excerptLimit:V,showFullExcerpt:q,showSmallMeta:$,metaStyle:K,metaShow:J,catShow:Y,showImage:X,metaSeparator:Q,titleShow:ee,catStyle:te,catPosition:le,titlePosition:oe,excerptShow:ae,imgAnimation:ie,imgOverlayType:ne,imgOverlay:re,metaList:se,metaListSmall:pe,showSmallCat:ce,readMore:ue,readMoreText:de,showSmallBtn:me,showSmallExcerpt:ge,varticalAlign:ye,imgFlip:be,metaPosition:ve,layout:he,customCatColor:fe,onlyCatColor:ke,contentTag:we,titleTag:xe,showSeoMeta:Te,titleLength:Se,metaMinText:Pe,metaAuthorPrefix:Ce,titleStyle:Ee,metaDateFormat:_e,authorLink:Le,fallbackEnable:Ie,vidIconEnable:Ue,notFoundMessage:Be,excerptLimitLg:Me,showFullExcerptLg:Ae,dcEnabled:He,dcFields:Ne,previewImg:je,advanceId:Oe,paginationShow:Ze,paginationAjax:Re,headingShow:De,filterShow:Fe,paginationType:ze,navPosition:We,paginationNav:Ge,loadMoreText:Ve,paginationText:qe,V4_1_0_CompCheck:{runComp:$e}}}=e;function Ke(e){M({...l,selectedDC:e})}function Je(){M({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function Ye(e){M({...l,section:{...x.ZQ,[e]:!0}}),(0,x.Rt)(e),(0,x.ob)(e)}function Xe(e){M((t=>({...t,toolbarSettings:e}))),(0,x.os)(e)}function Qe(){l.error&&M({...l,error:!1}),l.loading||M({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(j)}).then((e=>{M({...l,postsList:e,loading:!1})})).catch((e=>{M({...l,loading:!1,error:!0})}))}P((()=>{(0,x.oA)(),Qe()}),[]),P((()=>{const t=N.substr(0,6),l=U(B(N));(0,i.qi)(A,l,F,N),(0,h.h)(e),D?D&&D!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||A({blockId:t})):(A({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&A({queryType:"archiveBuilder"}))}),[N]),P((()=>{const e=t.current;(0,f.o6)()&&0===j.dcFields.length&&A({dcFields:Array(T.PR).fill(void 0)}),e?((0,i.Qr)(e,j)&&(Qe(),t.current=j),e.isSelected!==O&&O&&(0,x.gT)(Ye,Xe)):t.current=j}),[j]);const et={setAttributes:A,name:H,attributes:j,setSection:Ye,section:l.section,clientId:N,context:R,setSelectedDc:Ke,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){Ke(e),Xe("dc_group")}};let tt;return D&&(tt=(0,b.Kh)(j,"ultimate-post/post-list-4",D,(0,i.k0)())),je?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:je}):(0,a.createElement)(_,null,(0,a.createElement)(T.FP,{store:et,selected:l.toolbarSettings}),(0,a.createElement)(v.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"layout",block:"post-list-4",key:"layout",options:[{img:"assets/img/layouts/pl4/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pl4/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pl4/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pl4/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0}]},{type:"feat_toggle",label:__("Post List Features","ultimate-post"),new:i.KE,[$e?"exclude":"dep"]:i.N2}],store:et}),(0,a.createElement)(S,null,(0,a.createElement)(T.ZP,{store:et})),(0,a.createElement)("div",(0,o.Z)({},Oe&&{id:Oe},{className:`ultp-block-${D} ${Z}`,onClick:e=>{e.stopPropagation(),Ye("general"),Xe("")}}),tt&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:tt}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(De||Fe||Ze)&&(0,a.createElement)(s.m,{attributes:j,setAttributes:A,onClick:()=>{Ye("heading"),Xe("heading")},setSection:Ye,setToolbarSettings:Xe}),function(){const e=`${we}`,t=(e,t)=>(0,f.o6)()&&He&&(0,a.createElement)(w.Z,{idx:e,postId:t,fields:Ne,settingsOnClick:(e,t)=>{e?.stopPropagation(),Xe(t)},selectedDC:l.selectedDC,setSelectedDc:Ke,setAttributes:A,dcFields:Ne});return l.error?(0,a.createElement)(I,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(L,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-content-${ye} ultp-block-content-${be} ultp-${he}`},l.postsList.map(((l,o)=>{const i=0==o?JSON.parse(se.replaceAll("u0022",'"')):JSON.parse(pe.replaceAll("u0022",'"'));return(0,a.createElement)(e,{key:o,className:`ultp-block-item ultp-block-media post-id-${l.ID}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap "+(0===o?"ultp-first-postlist-2":"ultp-all-postlist-2")},(0,a.createElement)(p.qI,{imgOverlay:re,imgOverlayType:ne,imgAnimation:ie,post:l,fallbackEnable:Ie,vidIconEnable:Ue,showImage:X,idx:o,imgCrop:W,imgCropSmall:G,layout:he,onClick:()=>{Ye("image"),Xe("image")},Video:Ue&&l.has_video?(0,a.createElement)(p.nk,{onClick:()=>{Ye("video"),Xe("video")}}):null,Category:(Y&&0==o||ce)&&"aboveTitle"!=le?(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:Y,catStyle:te,catPosition:le,customCatColor:fe,onlyCatColor:ke,onClick:e=>{Ye("taxonomy-/-category"),Xe("cat")}})):null}),(0,a.createElement)("div",{className:"ultp-block-content"},t(7,l.ID),"aboveTitle"==le&&(0==o||ce)&&(0,a.createElement)(n.Z,{post:l,catShow:Y,catStyle:te,catPosition:le,customCatColor:fe,onlyCatColor:ke,onClick:e=>{Ye("taxonomy-/-category"),Xe("cat")}}),t(6,l.ID),l.title&&ee&&1==oe&&(0,a.createElement)(y.Z,{title:l.title,headingTag:xe,titleLength:Se,titleStyle:Ee,onClick:e=>{Ye("title"),Xe("title")}}),t(5,l.ID),(0==o||$)&&J&&"top"==ve&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:Q,metaStyle:K,metaMinText:Pe,metaAuthorPrefix:Ce,metaDateFormat:_e,authorLink:Le,onClick:e=>{Ye("meta"),Xe("meta")}}),t(4,l.ID),l.title&&ee&&0==oe&&(0,a.createElement)(y.Z,{title:l.title,headingTag:xe,titleLength:Se,titleStyle:Ee,onClick:e=>{Ye("title"),Xe("title")}}),t(3,l.ID),(0==o||ge)&&ae&&(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:V,showFullExcerpt:q,showSeoMeta:Te,onClick:e=>{Ye("excerpt"),Xe("excerpt")}}),t(2,l.ID),(0==o||me)&&ue&&(0,a.createElement)(g.Z,{readMoreText:de,readMoreIcon:z,titleLabel:l.title,onClick:()=>{Ye("read-more"),Xe("read-more")}}),t(1,l.ID),(0==o||$)&&J&&"bottom"==ve&&(0,a.createElement)(u.Z,{meta:i,post:l,metaSeparator:Q,metaStyle:K,metaMinText:Pe,metaAuthorPrefix:Ce,metaDateFormat:_e,authorLink:Le,onClick:e=>{Ye("meta"),Xe("meta")}}),t(0,l.ID),(0,f.o6)()&&He&&(0,a.createElement)(k.Z,{dcFields:Ne,setAttributes:A,startOnboarding:Je}))))}))):(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:Be})}(),Ze&&"loadMore"==ze&&(0,a.createElement)(c.Z,{loadMoreText:Ve,onClick:e=>{Ye("pagination"),Xe("pagination")}}),Ze&&"navigation"==ze&&"topRight"!=We&&(0,a.createElement)(d.Z,{onClick:()=>{Ye("pagination"),Xe("pagination")}}),Ze&&"pagination"==ze&&(0,a.createElement)(m.Z,{paginationNav:Ge,paginationAjax:Re,paginationText:qe,onClick:e=>{Ye("pagination"),Xe("pagination")}}))))}},1162:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=8,y=e=>{const{store:t}=e,{layout:l,queryType:n,advFilterEnable:r,advPaginationEnable:u,V4_1_0_CompCheck:{runComp:g}}=t.attributes,{context:y,section:b}=t;return m((()=>{(0,d.CH)(y,r,t,u)}),[r,u,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6839",store:t}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:t,initialOpen:b.general,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:["columns","columnGridGap"],include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-list-4",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pl4/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pl4/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pl4/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pl4/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0}],variation:{layout1:{counterColor:"#767676"},layout2:{counterColor:"#767676"},layout3:{counterColor:"#767676"},layout4:{counterColor:"#fff"}}}},{position:5,data:{type:"separator"}},{position:6,data:{type:"range",key:"largeHeight",min:0,max:800,step:1,unit:!0,responsive:!0,_inline:!0,label:__("Large Image Height","ultimate-post")}},{position:7,data:{type:"range",key:"spaceLargeItem",min:0,max:100,step:1,unit:!0,responsive:!0,_inline:!0,label:__("Large Image Space","ultimate-post")}},{data:{type:"toggle",key:"imgFlip",label:__("Image Flip","ultimate-post"),pro:!0}},{data:{type:"toggle",key:"mobileImageTop",label:__("Stack on Mobile","ultimate-post")}},{data:{type:"tag",key:"varticalAlign",label:__("Vertical Align","ultimate-post"),options:[{value:"top",label:__("Top","ultimate-post")},{value:"middle",label:__("Middle","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:b.title,include:[{position:5,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}},{position:8,data:{type:"color",key:"lgTitleColor",label:__("Large Title Color","ultimate-post")}},{position:9,data:{type:"color",key:"lgTitleHoverColor",label:__("Large Title Hover Color","ultimate-post")}}],hrIdx:[4,12]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:b.image,include:[{position:3,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgMargin"],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,depend:"metaShow",initialOpen:b.meta,include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF},{position:13,data:{tab:"style",type:"color",key:"lgMetaHoverColor",label:__("Large Meta Hover Color","ultimate-post")}}],exclude:["metaSeparator","metaStyle","metaList","metaListSmall"],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:b["taxonomy-/-category"],depend:"catShow",store:t,include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}],exclude:["catPosition"],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:b.excerpt,store:t,include:[{position:1,data:{type:"toggle",key:"showFullExcerptLg",label:__("Show Full Excerpt (Large Post)","ultimate-post")}},{position:2,data:{type:"range",key:"excerptLimitLg",label:__("Large Post Excerpt Limit","ultimate-post"),min:0,max:500,step:1,help:__("Excerpt Limit from Post Content.","ultimate-post")}},{position:4,data:{type:"toggle",key:"showSmallExcerpt",label:__("Show Small Excerpt","ultimate-post")}}],hrIdx:[6,9]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:b["read-more"],depend:"readMore",include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:b.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),(0,o.createElement)(a.Yp,{depend:"separatorShow",store:t}),(0,o.createElement)(a.O2,{store:t,include:[{position:0,data:{type:"color",key:"overlayImgBg",label:__("Overlay Content Background Color","ultimate-post")}},{position:11,data:{type:"dimension",key:"lgContentPadding",label:__("Large Content Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}],exclude:["contenWraptWidth","contenWraptHeight"]}),("layout3"===l||"layout4"===l)&&(0,o.createElement)(a.wT,{store:t}),!g&&(0,o.createElement)(i.Z,{open:b.filter||b.pagination||b.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:b.heading,depend:"headingShow",hrIdx:[{tab:"settings",hr:[{idx:1,label:__("Heading Settings","ultimate-posts")},{idx:8,label:__("Subheading Settings","ultimate-posts")}]},{tab:"style",hr:[{idx:1,label:__("Heading Style","ultimate-posts")},{idx:12,label:__("Subheading Style","ultimate-posts")}]}]}),"posts"!=n&&"customPosts"!=n&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:b.filter,depend:"filterShow",include:[{position:1,data:a.YA},{position:2,data:a.sx}],exclude:["filterType","filterValue"],hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,initialOpen:b.pagination,depend:"paginationShow",store:t,include:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"loadMore",label:__("Load More","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")},{value:"pagination",label:__("Pagination","ultimate-post")}]}}],exclude:["paginationType"]}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:s,titleShow:p,catPosition:d,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,p&&0==m,i&&"top"==b,p&&1==m,f&&"aboveTitle"==d];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,incSettings:[{position:1,data:a.YA},{position:2,data:a.sx}],exSettings:["filterType","filterValue"],exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiMargin","pagiPadding"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,incSettings:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"loadMore",label:__("Load More","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")},{value:"pagination",label:__("Pagination","ultimate-post")}]}}],exSettings:["paginationType"],exStyle:["pagiTypo","pagiMargin","pagiPadding"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor","titleBackground",{position:3,data:{type:"color",key:"lgTitleColor",label:__("Large Title Color","ultimate-post")}},{position:4,data:{type:"color",key:"lgTitleHoverColor",label:__("Large Title Hover Color","ultimate-post")}}],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleTypo","titleColor","titleHoverColor","titleBackground"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post"),include:[{position:1,data:{type:"toggle",key:"showFullExcerptLg",label:__("Show Full Excerpt (Large Post)","ultimate-post")}},{position:2,data:{type:"range",key:"excerptLimitLg",label:__("Large Post Excerpt Limit","ultimate-post"),min:0,max:500,step:1,help:__("Excerpt Limit from Post Content.","ultimate-post")}},{position:4,data:{type:"toggle",key:"showSmallExcerpt",label:__("Show Small Excerpt","ultimate-post")}}]}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,incSettings:[{position:0,data:{type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],incStyle:[{position:4,data:{type:"color",key:"lgMetaHoverColor",label:__("Large Meta Hover Color","ultimate-post")}}],exSettings:["metaSeparator","metaStyle","metaList","metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exSettings:["catPosition"],exStyle:["catTypo","catSacing","catPadding"],incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exStyle:["imgMargin"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],incStyle:[{position:0,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}}]}));default:return null}}},4371:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},largeHeight:{type:"object",default:{lg:"100",unit:"%"},style:[{selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-image img { width: 100%; object-fit: cover; height: {{largeHeight}}; }"}]},spaceLargeItem:{type:"object",default:{lg:"60",xs:"40",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-item:first-child { margin-bottom: {{spaceLargeItem}};}"}]},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!0},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a { background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-all-postlist-2 .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"28",unit:"px"},spacing:{lg:"",unit:"px"},height:{lg:"36",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-block-item:first-child .ultp-block-title a"}]},lgTitleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-first-postlist-2 .ultp-block-content .ultp-block-title a { color:{{lgTitleColor}} !important; }"}]},lgTitleHoverColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-first-postlist-2 .ultp-block-content .ultp-block-title a:hover { color:{{lgTitleHoverColor}} !important; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"28",unit:"px"},transform:"",decoration:"none",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title, \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:0,bottom:15,unit:"px"},xs:{top:0,bottom:10,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:first-child .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},varticalAlign:{type:"string",default:"middle",style:[{depends:[{key:"varticalAlign",condition:"==",value:"top"}],selector:"{{ULTP}} .ultp-block-content-top .ultp-block-content { -ms-flex-item-align: flex-start;-ms-grid-row-align: flex-start;align-self: flex-start; }"},{depends:[{key:"varticalAlign",condition:"==",value:"middle"}],selector:"{{ULTP}} .ultp-block-content-middle .ultp-block-content { -ms-flex-item-align: center;-ms-grid-row-align: center;align-self: center; }"},{depends:[{key:"varticalAlign",condition:"==",value:"bottom"}],selector:"{{ULTP}} .ultp-block-content-bottom .ultp-block-content { -ms-flex-item-align: flex-end;-ms-grid-row-align: flex-end;align-self: flex-end; }"}]},imgFlip:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} .ultp-block-content-true .ultp-block-media, \n          {{ULTP}} .ultp-block-content-1 .ultp-block-media { flex-direction: row-reverse; }"}]},imgCrop:{type:"string",default:"full",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",depends:[{key:"showImage",condition:"==",value:!0}]},imgWidth:{type:"object",default:{lg:"150",ulg:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { height:fit-content; }  \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { max-width: {{imgWidth}}; }"}]},imgHeight:{type:"object",default:{lg:"",ulg:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { height:fit-content; }  \n          {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image img { height: {{imgHeight}}; }"}]},imageScale:{type:"string",default:"cover",style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image img {object-fit: {{imageScale}};}"}]},imgAnimation:{type:"string",default:"opacity"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content-wrap { overflow:visible }  \n          {{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-content-wrap { overflow:visible}  \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},imgSpacing:{type:"object",default:{lg:"25"},style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"imgFlip",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-right: {{imgSpacing}}px; }  \n          .rtl {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }"},{depends:[{key:"showImage",condition:"==",value:!0},{key:"imgFlip",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-left: {{imgSpacing}}px; }  \n          .rtl {{ULTP}} .ultp-block-item:not(:first-child) .ultp-block-image { margin-left: 0; margin-right: {{imgSpacing}}px; }"}]},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-items-wrap  .ultp-block-item:first-child .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSmallMeta:{type:"boolean",default:!0},metaListSmall:{type:"string",default:'["metaAuthor","metaDate","metaRead"]'},metaHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-all-postlist-2 span.ultp-block-meta-element:hover , \n          {{ULTP}} .ultp-block-items-wrap .ultp-all-postlist-2 span.ultp-block-meta-element:hover a { color: {{metaHoverColor}}; } \n          {{ULTP}} .ultp-all-postlist-2 span.ultp-block-meta-element:hover svg { fill: {{metaHoverColor}}; }"}]},lgMetaHoverColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-first-postlist-2 span.ultp-block-meta-element:hover,  \n          {{ULTP}} .ultp-block-items-wrap .ultp-first-postlist-2 span.ultp-block-meta-element:hover a { color: {{lgMetaHoverColor}}; } \n          {{ULTP}} .ultp-first-postlist-2 span.ultp-block-meta-element:hover svg { fill: {{lgMetaHoverColor}}; }"}]},showSmallCat:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},showFullExcerptLg:{type:"boolean",default:!1},excerptLimitLg:{type:"string",default:40,style:[{depends:[{key:"showFullExcerptLg",condition:"==",value:!1}]}]},showSmallExcerpt:{type:"boolean",default:!0},excerptLimit:{type:"string",default:30,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1},{key:"showSmallExcerpt",condition:"==",value:!0}]}]},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:21,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n          {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:15,bottom:0,unit:"px"},xs:{top:5}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},showSmallBtn:{type:"boolean",default:!1},separatorShow:{type:"boolean",default:!0},septColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-color:{{septColor}}; }"}]},septStyle:{type:"string",default:"dashed",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-style:{{septStyle}}; }"}]},septSize:{type:"string",default:{lg:"1"},style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:first-child) { border-bottom-width: {{septSize}}px; }"}]},septSpace:{type:"object",default:{lg:"30"},style:[{selector:"{{ULTP}} .ultp-block-item:not(:first-child) { padding-bottom: {{septSpace}}px; }  \n          {{ULTP}} .ultp-block-item:not(:first-child) { margin-bottom: {{septSpace}}px; }"}]},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: center; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta { justify-content: flex-end; } \n          .rtl {{ULTP}} .ultp-block-meta { justify-content: start; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:" .rtl {{ULTP}} .ultp-block-readmore a { display:flex; flex-direction:row-reverse; justify-content: flex-end; align-items:center; }"}]},overlayImgBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item:first-child .ultp-block-content { background-color:{{overlayImgBg}}; }"}]},contentWrapBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item:not(:first-child) .ultp-block-content-wrap, \n        {{ULTP}} .ultp-first-postlist-2 { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},lgContentPadding:{type:"object",default:{lg:{top:"24",bottom:"24",left:"24",right:"24",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-first-postlist-2  .ultp-block-content { padding: {{lgContentPadding}}; }"}]},contentWrapInnerPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content { padding: {{contentWrapInnerPadding}}; }"}]},contentWrapPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; } \n          {{ULTP}} .ultp-first-postlist-2 .ultp-block-content { margin: {{contentWrapPadding}}; }"}]},mobileImageTop:{type:"boolean",default:!1,style:[{selector:"@media (max-width: 768px) {  \n            {{ULTP}} .ultp-block-media .ultp-block-content-wrap { display: block;}\n          }"}]},headingText:{type:"string",default:"Post List #4"},counterTypo:{type:"object",default:{openTypography:1,size:{lg:18,unit:"px"},height:{lg:"30",unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""},style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:not(:first-child) .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before"}]},counterColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:not(:first-child) .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before { color:{{counterColor}}; }"}]},counterBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Contrast_2_color)"},style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:not(:first-child) .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before"}]},counterWidth:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:not(:first-child) .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before { width:{{counterWidth}}px; }"}]},counterHeight:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:not(:first-child) .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before { height:{{counterHeight}}px; }"}]},counterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Base_3_color)",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:not(:first-child) .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before"}]},counterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"layout",condition:"==",value:["layout3","layout4"]}],selector:"{{ULTP}} .ultp-layout3 .ultp-block-item:not(:first-child) .ultp-block-content::before, \n          {{ULTP}} .ultp-layout4 .ultp-block-item::before { border-radius:{{counterRadius}}; }"}]},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto;}"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover,  \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; } \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover,  \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active, \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a,  \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"pagination"},...(0,o.t)(["advFilter","heading","advanceAttr","pagination","video","meta","category","readMore","query"],["metaHoverColor"],[{key:"queryNumPosts",default:{lg:5}},{key:"queryNumber",default:5},{key:"pagiAlign",default:{lg:"left"}},{key:"vidIconPosition",default:"center"},{key:"metaSpacing",default:{lg:"10",unit:"px"}},{key:"metaMargin",default:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}}},{key:"metaPadding",default:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}}},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"catLineColor",default:"var(--postx_preset_Primary_color)"},{key:"catLineHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catTypo",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""}},{key:"catColor",default:"var(--postx_preset_Primary_color)"},{key:"catBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"catHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)"}},{key:"catSacing",default:{lg:{top:0,bottom:10,left:0,right:0,unit:"px"}}},{key:"readMore",default:!0},{key:"readMoreIcon",default:" "},{key:"readMoreTypo",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"25",unit:"px"},spacing:{lg:"",unit:"px"},transform:"uppercase",weight:"500",decoration:"underline",family:""}},{key:"readMoreColor",default:"var(--postx_preset_Primary_color)"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"readMoreHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"readMoreBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)"}},{key:"readMoreSacing",default:{lg:{top:20,bottom:"",left:"",right:"",unit:"px"},xs:{top:15,unit:"px"}}}]),V4_1_0_CompCheck:a.O,...(0,i.b)({})}},1845:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(3576),n=l(4371);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-List-4/","block_docs"),r("ultimate-post/post-list-4",{title:__("Post List #4","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-list-4.svg"}),category:"ultimate-post",keywords:[__("Post List","ultimate-post"),__("List View","ultimate-post"),__("Article","ultimate-post"),__("Listing","ultimate-post"),__("List","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postlist4.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},77:(e,t,l)=>{"use strict";l.d(t,{Z:()=>U});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(6896),u=l(1411),d=l(8152),m=l(6005),g=l(9838),y=l(1760),b=l(3151),v=l(9735),h=l(2963),f=l(9349),k=l(7025),w=l(6778);const{__}=wp.i18n,{InspectorControls:x}=wp.blockEditor,{useEffect:T,useState:S,useRef:P,Fragment:C}=wp.element,{Spinner:E,Placeholder:_}=wp.components,{getBlockAttributes:L,getBlockRootClientId:I}=wp.data.select("core/block-editor");function U(e){const t=P(null),[l,U]=S(k.Ti),{setAttributes:B,name:M,className:A,attributes:H,context:N,isSelected:j,clientId:O,attributes:{blockId:Z,readMoreIcon:R,excerptLimit:D,showFullExcerpt:F,showSmallMeta:z,metaStyle:W,metaShow:G,catShow:V,metaSeparator:q,titleShow:$,catStyle:K,catPosition:J,titlePosition:Y,excerptShow:X,metaList:Q,metaListSmall:ee,showSmallCat:te,readMore:le,readMoreText:oe,showSmallBtn:ae,showSmallExcerpt:ie,varticalAlign:ne,columnFlip:re,metaPosition:se,layout:pe,customCatColor:ce,onlyCatColor:ue,contentTag:de,titleTag:me,showSeoMeta:ge,titleLength:ye,metaMinText:be,metaAuthorPrefix:ve,titleStyle:he,metaDateFormat:fe,authorLink:ke,vidIconEnable:we,notFoundMessage:xe,dcEnabled:Te,dcFields:Se,previewImg:Pe,advanceId:Ce,headingShow:Ee,filterShow:_e,paginationShow:Le,paginationType:Ie,navPosition:Ue,V4_1_0_CompCheck:{runComp:Be},currentPostId:Me}}=e;function Ae(e){U({...l,selectedDC:e})}function He(){U({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function Ne(e){U({...l,section:{...k.ZQ,[e]:!0}}),(0,k.Rt)(e),(0,k.ob)(e)}function je(e){U((t=>({...t,toolbarSettings:e}))),(0,k.os)(e)}function Oe(){l.error&&U({...l,error:!1}),l.loading||U({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(H)}).then((e=>{U({...l,postsList:e,loading:!1})})).catch((e=>{U({...l,loading:!1,error:!0})}))}T((()=>{(0,k.oA)(),Oe()}),[]),T((()=>{const t=O.substr(0,6),l=L(I(O));(0,i.qi)(B,l,Me,O),(0,b.h)(e),Z?Z&&Z!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||B({blockId:t})):(B({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&B({queryType:"archiveBuilder"}))}),[O]),T((()=>{const e=t.current;(0,v.o6)()&&0===H.dcFields.length&&B({dcFields:Array(w.PR).fill(void 0)}),e?((0,i.Qr)(e,H)&&(Oe(),t.current=H),e.isSelected!==j&&j&&(0,k.gT)(Ne,je)):t.current=H}),[H]);const Ze={setAttributes:B,name:M,attributes:H,setSection:Ne,section:l.section,clientId:O,context:N,setSelectedDc:Ae,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){Ae(e),je("dc_group")}};let Re;return Z&&(Re=(0,g.Kh)(H,"ultimate-post/post-module-1",Z,(0,i.k0)())),Pe?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Pe}):(0,a.createElement)(C,null,(0,a.createElement)(w.FP,{store:Ze,selected:l.toolbarSettings}),(0,a.createElement)(x,null,(0,a.createElement)(w.ZP,{store:Ze})),(0,a.createElement)(y.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",exclude:["columns","spaceSep","wrapOuterPadding","wrapMargin"]},{type:"layout",block:"post-module-1",key:"layout",options:[{img:"assets/img/layouts/pm1/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pm1/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pm1/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pm1/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0},{img:"assets/img/layouts/pm1/l5.png",label:__("Layout 5","ultimate-post"),value:"layout5",pro:!0}]},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),new:i.KE,[Be?"exclude":"dep"]:i.N2}],store:Ze}),(0,a.createElement)("div",(0,o.Z)({},Ce&&{id:Ce},{className:`ultp-block-${Z} ${A}`,onClick:e=>{e.stopPropagation(),Ne("general"),je("")}}),Re&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:Re}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(Ee||_e||Le)&&(0,a.createElement)(s.m,{attributes:H,setAttributes:B,onClick:()=>{Ne("heading"),je("heading")},setSection:Ne,setToolbarSettings:je}),function(){const e=`${de}`;let t=[],o=[];const i=(e,t)=>(0,v.o6)()&&Te&&(0,a.createElement)(f.Z,{idx:e,postId:t,fields:Se,settingsOnClick:(e,t)=>{e?.stopPropagation(),je(t)},selectedDC:l.selectedDC,setSelectedDc:Ae,setAttributes:B,dcFields:Se});return l.error?(0,a.createElement)(_,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(E,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-post-module1 ultp-block-content-${ne} ultp-block-content-${re} ultp-${pe}`},l.postsList.map(((l,s)=>{const u=0==s?JSON.parse(Q.replaceAll("u0022",'"')):JSON.parse(ee.replaceAll("u0022",'"'));(0==s?t:o).push((0,a.createElement)(e,{key:s,className:`ultp-block-item post-id-${l.ID}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap"},0===s&&i(8,l.ID),(0,a.createElement)(p.y6,{attributes:H,post:l,idx:s,VideoContent:we&&l.has_video?(0,a.createElement)(p.nk,{onClick:e=>{e.preventDefault(),Ne("video"),je("video")}}):null,CatCotent:0!==s&&!te||"aboveTitle"==J?null:(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:V,catStyle:K,catPosition:J,customCatColor:ce,onlyCatColor:ue,onClick:e=>{Ne("taxonomy-/-category"),je("cat")}})),onClick:()=>{Ne("image"),je("image")}}),(0,a.createElement)("div",{className:"ultp-block-content"},0!==s&&i(8,l.ID),i(7,l.ID),"aboveTitle"==J&&(0===s||te)&&(0,a.createElement)(n.Z,{post:l,catShow:V,catStyle:K,catPosition:J,customCatColor:ce,onlyCatColor:ue,onClick:e=>{Ne("taxonomy-/-category"),je("cat")}}),i(6,l.ID),l.title&&$&&1==Y&&(0,a.createElement)(m.Z,{title:l.title,headingTag:me,titleLength:ye,titleStyle:he,onClick:e=>{Ne("title"),je("title")}}),i(5,l.ID),(0===s||z)&&G&&"top"==se&&(0,a.createElement)(c.Z,{meta:u,post:l,metaSeparator:q,metaStyle:W,metaMinText:be,metaAuthorPrefix:ve,metaDateFormat:fe,authorLink:ke,onClick:e=>{Ne("meta"),je("meta")}}),i(4,l.ID),l.title&&$&&0==Y&&(0,a.createElement)(m.Z,{title:l.title,headingTag:me,titleLength:ye,titleStyle:he,onClick:e=>{Ne("title"),je("title")}}),i(3,l.ID),(0===s||ie)&&X&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:D,showFullExcerpt:F,showSeoMeta:ge,onClick:e=>{Ne("excerpt"),je("excerpt")}})),i(2,l.ID),(0===s||ae)&&le&&(0,a.createElement)(d.Z,{readMoreText:oe,readMoreIcon:R,titleLabel:l.title,onClick:()=>{Ne("read-more"),je("read-more")}}),i(1,l.ID),(0===s||z)&&G&&"bottom"==se&&(0,a.createElement)(c.Z,{meta:u,post:l,metaSeparator:q,metaStyle:W,metaMinText:be,metaAuthorPrefix:ve,metaDateFormat:fe,authorLink:ke,onClick:e=>{Ne("meta"),je("meta")}}),i(0,l.ID),(0,v.o6)()&&Te&&(0,a.createElement)(h.Z,{dcFields:Se,setAttributes:B,startOnboarding:He})))))})),(0,a.createElement)("div",{className:"ultp-big-post-module1"},t),(0,a.createElement)("div",{className:"ultp-small-post-module1"},o)):(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:xe})}(),Le&&"navigation"==Ie&&"topRight"!=Ue&&(0,a.createElement)(u.Z,{onClick:()=>{Ne("pagination"),je("pagination")}}))))}},6778:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=9,y=e=>{const{store:t}=e,{layout:l,queryType:n,advFilterEnable:r,advPaginationEnable:u,V4_1_0_CompCheck:{runComp:g}}=t.attributes,{context:y,section:b}=t;return m((()=>{(0,d.CH)(y,r,t,u)}),[r,u,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6825",store:t}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:t,initialOpen:b.general,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:["columns"],include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-module-1",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pm1/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pm1/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pm1/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pm1/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0},{img:"assets/img/layouts/pm1/l5.png",label:__("Layout 5","ultimate-post"),value:"layout5",pro:!0}]}},{position:5,data:{type:"separator"}},{position:6,data:{type:"range",key:"largeHeight",min:0,max:800,step:1,unit:!0,responsive:!0,_inline:!0,label:__("Large Image Height","ultimate-post")}},{data:{type:"toggle",key:"columnFlip",label:__("Flip Layout","ultimate-post"),pro:!0}},{data:{type:"tag",key:"varticalAlign",label:__("Small Vertical Align","ultimate-post"),options:[{value:"top",label:__("Top","ultimate-post")},{value:"middle",label:__("Middle","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:b.title,exclude:["titleBackground"],include:[{position:5,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}},{data:{type:"dimension",key:"titleLgPadding",label:__("Padding Large Item","ultimate-post"),step:1,unit:!0,responsive:!0}}],hrIdx:[4,9]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:b.image,depend:"showImage",exclude:["imgMargin"],include:[{position:3,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{position:4,data:{type:"range",key:"lgImgSpacing",label:__("Large Image Spacing ( Y )","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,initialOpen:b.meta,depend:"metaShow",exclude:["metaSeparator","metaStyle","metaList","metaListSmall"],include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],hrIdx:[{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:b["taxonomy-/-category"],depend:"catShow",exclude:["catPosition"],include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}],store:t,hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{initialOpen:b.excerpt,depend:"excerptShow",include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}],store:t,hrIdx:[4,7]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:b["read-more"],depend:"readMore",include:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:b.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),("layout4"===l||"layout5"===l)&&(0,o.createElement)(a.wT,{store:t}),(0,o.createElement)(a.Yp,{depend:"separatorShow",store:t}),(0,o.createElement)(a.O2,{store:t,exclude:["contenWraptWidth","contenWraptHeight"]}),!g&&(0,o.createElement)(i.Z,{open:b.filter||b.pagination||b.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:b.heading,depend:"headingShow",hrIdx:[{tab:"settings",hr:[{idx:1,label:__("Heading Settings","ultimate-posts")},{idx:8,label:__("Subheading Settings","ultimate-posts")}]},{tab:"style",hr:[{idx:1,label:__("Heading Style","ultimate-posts")},{idx:12,label:__("Subheading Style","ultimate-posts")}]}]}),"posts"!=n&&"customPosts"!=n&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:b.filter,depend:"filterShow",exclude:["filterType","filterValue"],include:[{position:2,data:a.YA},{position:3,data:a.sx}],hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,store:t,initialOpen:b.pagination,depend:"paginationShow",include:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}],exclude:["paginationType","paginationAjax","loadMoreText","paginationText","navPosition","pagiMargin"],hrIdx:[{tab:"style",hr:[4]}]}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:s,titleShow:p,catPosition:d,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,p&&0==m,i&&"top"==b,p&&1==m,f&&"aboveTitle"==d,h&&s];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,incSettings:[{position:1,data:a.YA},{position:2,data:a.sx}],exSettings:["filterType","filterValue"],exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiPadding","navMargin"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,incSettings:[{position:1,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}],exStyle:["pagiTypo","pagiMargin","pagiPadding","navMargin"],exSettings:["paginationType","paginationAjax","loadMoreText","paginationText","navPosition"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({include:[{position:7,data:{type:"dimension",key:"titleLgPadding",label:__("Padding Large Item","ultimate-post"),step:1,unit:!0,responsive:!0}}],exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({include:[{position:0,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}}],exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post")}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaMargin","metaPadding","metaSpacing"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,incSettings:[{position:0,data:{type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],exSettings:["metaSeparator","metaStyle","metaList","metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}],exSettings:["catPosition"],exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,incStyle:[{position:0,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{position:4,data:{type:"range",key:"lgImgSpacing",label:__("Large Image Spacing ( Y )","ultimate-post"),min:0,max:100,step:1,responsive:!0}}],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exStyle:["imgMargin"]}));default:return null}}},1910:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!1},columnGridGap:{type:"object",default:{lg:"15",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-post-module1 { margin: 0 -{{columnGridGap}}; } \n          {{ULTP}} .ultp-block-post-module1 .ultp-big-post-module1, \n          {{ULTP}} .ultp-block-post-module1 .ultp-small-post-module1 { padding: 0 {{columnGridGap}};} \n          {{ULTP}} .ultp-block-row {grid-column-gap: {{columnGridGap}}; }"}]},largeHeight:{type:"object",default:{lg:"245",unit:"px"},style:[{selector:"{{ULTP}} .ultp-big-post-module1 .ultp-block-content-wrap .ultp-block-image img {width: 100%; object-fit: cover; height: {{largeHeight}};}"}]},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"24",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"32",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-big-post-module1 .ultp-block-item:first-child .ultp-block-title, \n          {{ULTP}} .ultp-big-post-module1 .ultp-block-item:first-child .ultp-block-title a"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"22",unit:"px"},transform:"",decoration:"none",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-item .ultp-block-title, \n          {{ULTP}} .ultp-small-post-module1 .ultp-block-item .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:0,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLgPadding:{type:"object",default:{lg:{top:10,bottom:8,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-big-post-module1 .ultp-block-title { padding:{{titleLgPadding}}; }"}]},titleLength:{type:"string",default:0},varticalAlign:{type:"string",default:"middle",style:[{depends:[{key:"varticalAlign",condition:"==",value:"top"}],selector:"{{ULTP}} .ultp-block-content-top .ultp-block-content { -ms-flex-item-align: flex-start;-ms-grid-row-align: flex-start;align-self: flex-start; }"},{depends:[{key:"varticalAlign",condition:"==",value:"middle"}],selector:"{{ULTP}} .ultp-block-content-middle .ultp-block-content { -ms-flex-item-align: center;-ms-grid-row-align: center;align-self: center; }"},{depends:[{key:"varticalAlign",condition:"==",value:"bottom"}],selector:"{{ULTP}} .ultp-block-content-bottom .ultp-block-content { -ms-flex-item-align: flex-end;-ms-grid-row-align: flex-end;align-self: flex-end; }"}]},imgCrop:{type:"string",default:"full",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",style:[{depends:[{key:"layout",condition:"!=",value:"layout1"},{key:"showImage",condition:"==",value:!0}]}]},imgWidth:{type:"object",default:{lg:"80",sm:"65",xs:"",ulg:"px",usm:"px"},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-image { max-width: {{imgWidth}}; }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-image img {height: {{imgHeight}}; }"}]},imageScale:{type:"string",default:"cover",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-image img {object-fit: {{imageScale}};}"}]},imgAnimation:{type:"string",default:"opacity"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image, \n        {{ULTP}} .ultp-block-image img, \n        {{ULTP}} .ultp-block-image.ultp-block-image-overlay > a:before, \n        {{ULTP}} .ultp-block-image.ultp-block-image-overlay > a:after { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img, \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image, \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image.ultp-block-image-overlay > a:before, \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image.ultp-block-image-overlay > a:after { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},imgSpacing:{type:"object",default:{lg:"20"},style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout2"},{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-image { margin-right: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-small-post-module1 .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }"},{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout2"}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-image { margin-left: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-small-post-module1 .ultp-block-image { margin-left: 0; margin-right: {{imgSpacing}}px; }"}]},lgImgSpacing:{type:"object",default:{lg:"0"},style:[{selector:"{{ULTP}} .ultp-big-post-module1 .ultp-block-image { margin-bottom:{{lgImgSpacing}}px; }"}]},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSmallMeta:{type:"boolean",default:!0},metaListSmall:{type:"string",default:'["metaAuthor","metaDate"]'},showSmallCat:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showSmallExcerpt:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:20,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt,    \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt,    \n          {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:5,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},counterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""},style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout4 .ultp-small-post-module1 .ultp-block-content::before,   \n          {{ULTP}} .ultp-layout5 .ultp-small-post-module1 .ultp-block-item::before"}]},counterColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout4 .ultp-small-post-module1 .ultp-block-content::before,   \n          {{ULTP}} .ultp-layout5 .ultp-small-post-module1 .ultp-block-item::before { color:{{counterColor}}; }"}]},counterBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Contrast_2_color)"},style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout4 .ultp-small-post-module1 .ultp-block-content::before,   \n          {{ULTP}} .ultp-layout5 .ultp-small-post-module1 .ultp-block-item::before"}]},counterWidth:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout4 .ultp-small-post-module1 .ultp-block-content::before,   \n          {{ULTP}} .ultp-layout5 .ultp-small-post-module1 .ultp-block-item::before { width:{{counterWidth}}px; }"}]},counterHeight:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout4 .ultp-small-post-module1 .ultp-block-content::before,   \n          {{ULTP}} .ultp-layout5 .ultp-small-post-module1 .ultp-block-item::before { height:{{counterHeight}}px; }"}]},counterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Base_3_color)",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout4 .ultp-small-post-module1 .ultp-block-content::before,   \n          {{ULTP}} .ultp-layout5 .ultp-small-post-module1 .ultp-block-item::before"}]},counterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout4 .ultp-small-post-module1 .ultp-block-content::before,   \n          {{ULTP}} .ultp-layout5 .ultp-small-post-module1 .ultp-block-item::before { border-radius:{{counterRadius}}; }"}]},separatorShow:{type:"boolean",default:!1},septColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-item:not(:last-child) { border-bottom-color:{{septColor}}; }"}]},septStyle:{type:"string",default:"dashed",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-item:not(:last-child) { border-bottom-style:{{septStyle}}; }"}]},septSize:{type:"string",default:{lg:"1"},style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-item:not(:last-child) { border-bottom-width: {{septSize}}px; }"}]},septSpace:{type:"object",default:{lg:"15"},style:[{selector:"{{ULTP}} .ultp-small-post-module1 .ultp-block-item:not(:last-child) { padding-bottom: {{septSpace}}px; }   \n          {{ULTP}} .ultp-small-post-module1 .ultp-block-item:not(:last-child) { margin-bottom: {{septSpace}}px; }"}]},showSmallBtn:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }   \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }   \n          {{ULTP}} .ultp-block-meta { justify-content: center; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }   \n          {{ULTP}} .ultp-block-meta {justify-content: flex-end;} \n          .rtl {{ULTP}} .ultp-block-meta { justify-content: start; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:" .rtl   \n          {{ULTP}} .ultp-block-readmore a { display: flex; flex-direction: row-reverse; justify-content: flex-end; }"}]},contentWrapBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-content-wrap { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapInnerPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content { padding: {{contentWrapInnerPadding}}; }"}]},contentWrapPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; }"}]},columnFlip:{type:"boolean",default:!1},headingText:{type:"string",default:"Post Module #1"},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto;}"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover,   \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; }   \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover,   \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active,   \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a,   \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"navigation"},...(0,o.t)(["pagiBlockCompatibility","advFilter","heading","advanceAttr","pagination","video","meta","category","readMore","query"],["pagiMargin"],[{key:"queryNumPosts",default:{lg:5}},{key:"queryNumber",default:5},{key:"pagiAlign",default:{lg:"left"}},{key:"vidIconPosition",default:"center"},{key:"metaSeparatorColor",default:"var(--postx_preset_Contrast_3_color)"},{key:"metaSpacing",default:{lg:"10",unit:"px"}},{key:"metaMargin",default:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}}},{key:"catLineColor",default:"var(--postx_preset_Primary_color)"},{key:"catLineHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catTypo",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""}},{key:"catColor",default:"var(--postx_preset_Primary_color)"},{key:"catBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"catHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)"}},{key:"catSacing",default:{lg:{top:15,bottom:0,left:0,right:0,unit:"px"}}},{key:"catPadding",default:{lg:{top:0,right:0,bottom:0,left:0,unit:"px"}}},{key:"readMoreColor",default:"var(--postx_preset_Contrast_1_color)"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"readMoreHoverColor",default:"var(--postx_preset_Primary_color)"},{key:"readMoreBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)"}}]),V4_1_0_CompCheck:a.O,...(0,i.b)({})}},7549:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(77),n=l(1910);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-module-1/","block_docs"),r("ultimate-post/post-module-1",{title:__("Post Module #1","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-module-1.svg"}),category:"ultimate-post",keywords:[__("Post List","ultimate-post"),__("Post Grid","ultimate-post"),__("Post Module","ultimate-post"),__("Latest Post","ultimate-post"),__("Module","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postmodule1.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},4988:(e,t,l)=>{"use strict";l.d(t,{Z:()=>U});var o=l(7462),a=l(7294),i=l(3049),n=l(3890),r=l(9491),s=l(3105),p=l(9236),c=l(6896),u=l(1411),d=l(8152),m=l(6005),g=l(9838),y=l(1760),b=l(3151),v=l(9735),h=l(2963),f=l(9349),k=l(7025),w=l(9982);const{__}=wp.i18n,{InspectorControls:x}=wp.blockEditor,{useEffect:T,useState:S,useRef:P,Fragment:C}=wp.element,{Spinner:E,Placeholder:_}=wp.components,{getBlockAttributes:L,getBlockRootClientId:I}=wp.data.select("core/block-editor");function U(e){const t=P(null),[l,U]=S(k.Ti),{setAttributes:B,name:M,attributes:A,className:H,context:N,isSelected:j,clientId:O,attributes:{blockId:Z,readMoreIcon:R,excerptLimit:D,showFullExcerpt:F,showSmallMeta:z,smallExcerptLimit:W,metaStyle:G,metaShow:V,catShow:q,metaSeparator:$,titleShow:K,catStyle:J,catPosition:Y,titlePosition:X,excerptShow:Q,metaList:ee,metaListSmall:te,showSmallCat:le,readMore:oe,readMoreText:ae,showSmallBtn:ie,showSmallExcerpt:ne,varticalAlign:re,columnFlip:se,metaPosition:pe,layout:ce,customCatColor:ue,onlyCatColor:de,contentTag:me,titleTag:ge,showSeoMeta:ye,titleLength:be,metaMinText:ve,metaAuthorPrefix:he,titleStyle:fe,metaDateFormat:ke,authorLink:we,vidIconEnable:xe,notFoundMessage:Te,dcEnabled:Se,dcFields:Pe,previewImg:Ce,advanceId:Ee,headingShow:_e,filterShow:Le,paginationShow:Ie,paginationType:Ue,navPosition:Be,V4_1_0_CompCheck:{runComp:Me},currentPostId:Ae}}=e;function He(e){U({...l,selectedDC:e})}function Ne(){U({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function je(e){U({...l,section:{...k.ZQ,[e]:!0}}),(0,k.Rt)(e),(0,k.ob)(e)}function Oe(e){U((t=>({...t,toolbarSettings:e}))),(0,k.os)(e)}function Ze(){l.error&&U({...l,error:!1}),l.loading||U({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,i.Ld)(A)}).then((e=>{U({...l,postsList:e,loading:!1})})).catch((e=>{U({...l,loading:!1,error:!0})}))}T((()=>{(0,k.oA)(),Ze()}),[]),T((()=>{const t=O.substr(0,6),l=L(I(O));(0,i.qi)(B,l,Ae,O),(0,b.h)(e),Z?Z&&Z!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||B({blockId:t})):(B({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&B({queryType:"archiveBuilder"}))}),[O]),T((()=>{const e=t.current;(0,v.o6)()&&0===A.dcFields.length&&B({dcFields:Array(w.PR).fill(void 0)}),e?((0,i.Qr)(e,A)&&(Ze(),t.current=A),e.isSelected!==j&&j&&(0,k.gT)(je,Oe)):t.current=A}),[A]);const Re={setAttributes:B,name:M,attributes:A,setSection:je,section:l.section,clientId:O,context:N,setSelectedDc:He,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){He(e),Oe("dc_group")}};let De;return Z&&(De=(0,g.Kh)(A,"ultimate-post/post-module-2",Z,(0,i.k0)())),Ce?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Ce}):(0,a.createElement)(C,null,(0,a.createElement)(w.FP,{store:Re,selected:l.toolbarSettings}),(0,a.createElement)(x,null,(0,a.createElement)(w.ZP,{store:Re})),(0,a.createElement)(y.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"grid_spacing",exclude:["columns","spaceSep","wrapOuterPadding","wrapMargin"]},{type:"layout",block:"post-module-2",key:"layout",options:[{img:"assets/img/layouts/pm2/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pm2/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pm2/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pm2/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0},{img:"assets/img/layouts/pm2/l5.png",label:__("Layout 5","ultimate-post"),value:"layout5",pro:!0}]},{type:"feat_toggle",label:__("Grid Features","ultimate-post"),new:i.KE,[Me?"exclude":"dep"]:i.N2}],store:Re}),(0,a.createElement)("div",(0,o.Z)({},Ee&&{id:Ee},{className:`ultp-block-${Z} ${H}`,onClick:e=>{e.stopPropagation(),je("general"),Oe("")}}),De&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:De}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(_e||Le||Ie)&&(0,a.createElement)(s.m,{attributes:A,setAttributes:B,onClick:()=>{je("heading"),Oe("heading")},setSection:je,setToolbarSettings:Oe}),function(){const e=`${me}`;let t=[],o=[];const i=(e,t)=>(0,v.o6)()&&Se&&(0,a.createElement)(f.Z,{idx:e,postId:t,fields:Pe,settingsOnClick:(e,t)=>{e?.stopPropagation(),Oe(t)},selectedDC:l.selectedDC,setSelectedDc:He,setAttributes:B,dcFields:Pe});return l.error?(0,a.createElement)(_,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(E,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-block-post-module2 ultp-block-content-${re} ultp-block-content-${se} ultp-${ce}`},l.postsList.map(((l,s)=>{const u=0==s?JSON.parse(ee.replaceAll("u0022",'"')):JSON.parse(te.replaceAll("u0022",'"'));(0==s?t:o).push((0,a.createElement)(e,{key:s,className:`ultp-block-item post-id-${l.ID}`},(0,a.createElement)("div",{className:"ultp-block-content-wrap"},(0,a.createElement)(p.kS,{attributes:A,post:l,idx:s,VideoContent:xe&&l.has_video?(0,a.createElement)(p.nk,{onClick:e=>{e.preventDefault(),je("video"),Oe("video")}}):null,CatCotent:0!==s&&!le||"aboveTitle"==Y?null:(0,a.createElement)("div",{className:"ultp-category-img-grid"},(0,a.createElement)(n.Z,{post:l,catShow:q,catStyle:J,catPosition:Y,customCatColor:ue,onlyCatColor:de,onClick:e=>{je("taxonomy-/-category"),Oe("cat")}})),onClick:()=>{je("image"),Oe("image")}}),(0,a.createElement)("div",{className:"ultp-block-content"},i(7,l.ID),"aboveTitle"==Y&&(0===s||le)&&(0,a.createElement)(n.Z,{post:l,catShow:q,catStyle:J,catPosition:Y,customCatColor:ue,onlyCatColor:de,onClick:e=>{je("taxonomy-/-category"),Oe("cat")}}),i(6,l.ID),l.title&&K&&1==X&&(0,a.createElement)(m.Z,{title:l.title,headingTag:ge,titleLength:be,titleStyle:fe,onClick:e=>{je("title"),Oe("title")}}),i(5,l.ID),(0===s||z)&&V&&"top"==pe&&(0,a.createElement)(c.Z,{meta:u,post:l,metaSeparator:$,metaStyle:G,metaMinText:ve,metaAuthorPrefix:he,metaDateFormat:ke,authorLink:we,onClick:e=>{je("meta"),Oe("meta")}}),i(4,l.ID),l.title&&K&&0==X&&(0,a.createElement)(m.Z,{title:l.title,headingTag:ge,titleLength:be,titleStyle:fe,onClick:e=>{je("title"),Oe("title")}}),i(3,l.ID),0==s&&Q&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:D,showFullExcerpt:F,showSeoMeta:ye,onClick:e=>{je("excerpt"),Oe("excerpt")}})),0!=s&&ne&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(r.Z,{excerpt:l.excerpt,excerpt_full:l.excerpt_full,seo_meta:l.seo_meta,excerptLimit:W,showFullExcerpt:F,showSeoMeta:ye,onClick:e=>{je("excerpt"),Oe("excerpt")}})),i(2,l.ID),(0===s||ie)&&oe&&(0,a.createElement)(d.Z,{readMoreText:ae,readMoreIcon:R,titleLabel:l.title,onClick:()=>{je("read-more"),Oe("read-more")}}),i(1,l.ID),(0===s||z)&&V&&"bottom"==pe&&(0,a.createElement)(c.Z,{meta:u,post:l,metaSeparator:$,metaStyle:G,metaMinText:ve,metaAuthorPrefix:he,metaDateFormat:ke,authorLink:we,onClick:e=>{je("meta"),Oe("meta")}}),i(0,l.ID),(0,v.o6)()&&Se&&(0,a.createElement)(h.Z,{dcFields:Pe,setAttributes:B,startOnboarding:Ne})))))})),(0,a.createElement)("div",{className:"ultp-big-post-module2"},t),(0,a.createElement)("div",{className:"ultp-small-post-module2"},o)):(0,a.createElement)(_,{className:"ultp-backend-block-loading",label:Te})}(),Ie&&"navigation"==Ue&&"topRight"!=Be&&(0,a.createElement)(u.Z,{onClick:()=>{je("pagination"),Oe("pagination")}}))))}},9982:(e,t,l)=>{"use strict";l.d(t,{FP:()=>b,PR:()=>g,ZP:()=>y});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(2637),p=l(3581),c=l(9735),u=l(2473),d=l(7025);const{__}=wp.i18n,{useEffect:m}=wp.element,g=8,y=e=>{const{store:t}=e,{layout:l,queryType:n,advFilterEnable:r,advPaginationEnable:u,V4_1_0_CompCheck:{runComp:g}}=t.attributes,{context:y,section:b}=t;return m((()=>{(0,d.CH)(y,r,t,u)}),[r,u,t.clientId]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6827",store:t}),(0,o.createElement)(s.Sections,null,(0,o.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{store:t,initialOpen:b.general,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:["columns"],include:[{position:0,data:{type:(0,c.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"advFilterEnable",key:"advFilterEnable"}},{position:2,data:{type:"advPagiEnable",key:"advPaginationEnable"}},{position:3,data:{type:"separator"}},{position:4,data:{type:"layout",block:"post-module-2",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/pm2/l1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/pm2/l2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/pm2/l3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0},{img:"assets/img/layouts/pm2/l4.png",label:__("Layout 4","ultimate-post"),value:"layout4",pro:!0},{img:"assets/img/layouts/pm2/l5.png",label:__("Layout 5","ultimate-post"),value:"layout5",pro:!0}]}},{position:5,data:{type:"separator"}},{position:6,data:{type:"range",key:"largeHeight",min:0,max:800,step:1,unit:!0,responsive:!0,_inline:!0,label:__("Large Image Height","ultimate-post")}},{data:{type:"toggle",key:"columnFlip",label:__("Flip Layout","ultimate-post"),pro:!0}},{data:{type:"tag",key:"varticalAlign",label:__("Vertical Align","ultimate-post"),options:[{value:"top",label:__("Top","ultimate-post")},{value:"middle",label:__("Middle","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,o.createElement)(a.VH,{store:t,depend:"titleShow",initialOpen:b.title,include:[{position:6,data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}},{position:7,data:{type:"color",key:"lgTitleColor",label:__("Large Title Color","ultimate-post")}},{position:8,data:{type:"color",key:"lgTitleHoverColor",label:__("Large Title Hover Color","ultimate-post")}}],hrIdx:[4,12]}),(0,o.createElement)(a.Hn,{isTab:!0,store:t,initialOpen:b.image,depend:"showImage",exclude:["imgMargin"],include:[{position:3,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],hrIdx:[{tab:"settings",hr:[3,11]},{tab:"style",hr:[4]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:t,initialOpen:b.meta,depend:"metaShow",exclude:["metaSeparator","metaStyle","metaList","metaListSmall"],include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF},{position:15,data:{tab:"style",type:"color",key:"LargeMetaColor",label:__("Large Post Meta Color","ultimate-post")}},{position:16,data:{tab:"style",type:"color",key:"LgMetaHoverColor",label:__("Large Meta Hover Color","ultimate-post")}}],hrIdx:[{tab:"style",hr:[9]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:b["taxonomy-/-category"],depend:"catShow",exclude:["catPosition"],include:[{position:0,data:{type:"toggle",tab:"settings",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}],store:t,hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.X_,{initialOpen:b.excerpt,depend:"excerptShow",include:[{position:0,data:{type:"toggle",key:"excerptShow",label:__("Large Item Excerpt","ultimate-post")}},{position:1,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}},{position:6,data:{type:"color",key:"excerptBigColor",label:__("Large Excerpt Color","ultimate-post")}},{position:4,data:{type:"range",key:"smallExcerptLimit",min:0,max:500,step:1,help:"Excerpt Limit from Post Content.",label:__("Small Excerpt Limit","ultimate-post")}}],store:t,hrIdx:[6,9]}),(0,o.createElement)(a.oY,{isTab:!0,store:t,initialOpen:b["read-more"],depend:"readMore",include:[{position:0,data:{tab:"settings",type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.rS,{initialOpen:b.video,depend:"vidIconEnable",store:t,hrIdx:[5]}),("layout4"===l||"layout5"===l)&&(0,o.createElement)(a.wT,{store:t}),(0,o.createElement)(a.Yp,{depend:"separatorShow",store:t}),(0,o.createElement)(a.O2,{store:t,include:[{position:3,data:{type:"dimension",key:"lgInnerPadding",label:__("Large Content Padding","ultimate-post"),min:0,max:100,step:1,responsive:!0}}],exclude:["contenWraptWidth","contenWraptHeight"]}),!g&&(0,o.createElement)(i.Z,{open:b.filter||b.pagination||b.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:t,initialOpen:b.heading,depend:"headingShow",hrIdx:[{tab:"settings",hr:[{idx:1,label:__("Heading Settings","ultimate-posts")},{idx:8,label:__("Subheading Settings","ultimate-posts")}]},{tab:"style",hr:[{idx:1,label:__("Heading Style","ultimate-posts")},{idx:12,label:__("Subheading Style","ultimate-posts")}]}]}),"posts"!=n&&"customPosts"!=n&&(0,o.createElement)(a.B0,{isTab:!0,store:t,initialOpen:b.filter,depend:"filterShow",exclude:["filterType","filterValue"],include:[{position:2,data:a.YA},{position:3,data:a.sx}],hrIdx:[{tab:"settings",hr:[5]},{tab:"style",hr:[4,9]}]}),(0,o.createElement)(a.ng,{isTab:!0,store:t,initialOpen:b.pagination,depend:"paginationShow",include:[{position:1,data:{type:"select",key:"paginationType",pro:!0,label:__("Pagination Type","ultimate-post"),options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}],exclude:["paginationType","paginationAjax","loadMoreText","paginationText","navPosition","pagiMargin"],hrIdx:[{tab:"style",hr:[4]}]}))),(0,o.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:t,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:t}),(0,o.createElement)(a.iv,{store:t}))),(0,a.dH)())};function b({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:s,titleShow:p,catPosition:d,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,p&&0==m,i&&"top"==b,p&&1==m,f&&"aboveTitle"==d];if((0,c.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(u.Z,{store:t,selected:e,layoutContext:k});switch(e){case"filter":return l?null:(0,o.createElement)(r.Z,{text:"Filter"},(0,o.createElement)(a.sT,{store:t,attrKey:"fliterTypo",label:__("Filter Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.Eo)({include:["fliterSpacing","fliterPadding"],exclude:"__all",title:__("Filter Spacing","ultimate-post")}),store:t,label:__("Filter Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Filter Settings","ultimate-post"),styleTitle:__("Filter Style","ultimate-post"),settingsKeys:a.Df,styleKeys:a.YF,oArgs:a.rx,incSettings:[{position:1,data:a.YA},{position:2,data:a.sx}],exSettings:["filterType","filterValue"],exStyle:["fliterTypo","fliterSpacing","fliterPadding"]}));case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"pagination":return l?null:(0,o.createElement)(r.Z,{text:"Pagination"},(0,o.createElement)(a.sT,{store:t,attrKey:"pagiTypo",label:__("Pagination Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.DU)({include:["pagiPadding","navMargin"],exclude:"__all",title:__("Pagination Spacing","ultimate-post")}),store:t,label:__("Pagination Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Pagination Settings","ultimate-post"),styleTitle:__("Pagination Style","ultimate-post"),settingsKeys:a.V2,styleKeys:a.xd,oArgs:a.YZ,incSettings:[{position:0,data:{type:"select",key:"paginationType",label:__("Pagination Type","ultimate-post"),pro:!0,options:[{value:"none",label:__("None","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")}]}},{position:2,data:a.dT}],exStyle:["pagiTypo","pagiMargin","pagiPadding","navMargin"],exSettings:["paginationType","paginationAjax","loadMoreText","paginationText","navPosition"]}));case"video":return(0,o.createElement)(r.Z,{text:"Video"},(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.q7)({include:a.JA,exclude:"__all",title:__("Video Icon Color","ultimate-post")}),store:t,label:__("Video Icon Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.q7)({exclude:a.JA}),store:t,label:__("Video Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(n.Z,{buttonContent:a.tj,include:(0,a.Wf)({include:["titleTypo",{data:{type:"typography",key:"titleLgTypo",label:__("Typography Large Title","ultimate-post")}}],exclude:"__all",title:__("Title Typography","ultimate-post")}),store:t,label:__("Title Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor",{data:{type:"color",key:"lgTitleColor",label:__("Large Title Color","ultimate-post")}},{data:{type:"color",key:"lgTitleHoverColor",label:__("Large Title Hover Color","ultimate-post")}}],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({include:[{data:{type:"dimension",key:"titleLgPadding",label:__("Padding Large Item","ultimate-post"),step:1,unit:!0,responsive:!0}}],exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:[{data:{type:"color",key:"excerptBigColor",label:__("Large Excerpt Color","ultimate-post")}}],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({include:[{position:0,data:{type:"toggle",key:"excerptShow",label:__("Large Item Excerpt","ultimate-post")}},{position:1,data:{type:"toggle",key:"showSmallExcerpt",label:__("Small Item Excerpt","ultimate-post")}},{position:4,data:{type:"range",key:"smallExcerptLimit",min:0,max:500,step:1,help:"Excerpt Limit from Post Content.",label:__("Small Excerpt Limit","ultimate-post")}}],exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post")}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,incSettings:[{position:0,data:{type:"toggle",key:"showSmallMeta",label:__("Small Item Meta","ultimate-post")}},{position:1,data:a.do},{position:3,data:a.Rd},{position:4,data:a.WD},{position:7,data:a.MF}],incStyle:[{position:4,data:{type:"color",key:"LargeMetaColor",label:__("Large Post Meta Color","ultimate-post")}},{position:5,data:{type:"color",key:"LgMetaHoverColor",label:__("Large Meta Hover Color","ultimate-post")}}],exSettings:["metaSeparator","metaStyle","metaList","metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,incSettings:[{position:0,data:{type:"toggle",key:"showSmallBtn",label:__("Small Item Read More","ultimate-post")}}],exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,incSettings:[{position:0,data:{type:"toggle",key:"showSmallCat",label:__("Small Item Category","ultimate-post")}},{position:1,data:a.WJ}],exSettings:["catPosition"],exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,incStyle:[{position:0,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}}],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exStyle:["imgMargin"]}));default:return null}}},6128:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},filterShow:{type:"boolean",default:!1,style:[{depends:[{key:"queryType",condition:"!=",value:["posts","customPosts"]}]}]},paginationShow:{type:"boolean",default:!1},columnGridGap:{type:"object",default:{lg:"15",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-post-module2 { margin: 0 -{{columnGridGap}};}    \n          {{ULTP}} .ultp-block-post-module2 .ultp-big-post-module2,    \n          {{ULTP}} .ultp-block-post-module2 .ultp-small-post-module2 { padding: 0 {{columnGridGap}};}    \n          {{ULTP}} .ultp-block-row { grid-column-gap: {{columnGridGap}}; }"}]},largeHeight:{type:"object",default:{lg:"450",unit:"px"},style:[{selector:"{{ULTP}} .ultp-big-post-module2 .ultp-block-content-wrap .ultp-block-image img {width: 100%; object-fit: cover; height: {{largeHeight}};}"}]},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a { background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-content .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleLgTypo:{type:"object",default:{openTypography:1,size:{lg:"24",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"32",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-big-post-module2 .ultp-block-item:first-child .ultp-block-title,    \n          {{ULTP}} .ultp-big-post-module2 .ultp-block-item:first-child .ultp-block-title a"}]},lgTitleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-big-post-module2 .ultp-block-content .ultp-block-title a { color: {{lgTitleColor}} !important }"}]},lgTitleHoverColor:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-big-post-module2 .ultp-block-content .ultp-block-title a:hover { color: {{lgTitleHoverColor}} !important }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"22",unit:"px"},transform:"",decoration:"none",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-title,   \n          {{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:5,bottom:5,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-big-post-module2 .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},varticalAlign:{type:"string",default:"middle",style:[{depends:[{key:"varticalAlign",condition:"==",value:"top"}],selector:"{{ULTP}} .ultp-block-content-top .ultp-block-content { -ms-flex-item-align: flex-start;-ms-grid-row-align: flex-start;align-self: flex-start; }"},{depends:[{key:"varticalAlign",condition:"==",value:"middle"}],selector:"{{ULTP}} .ultp-block-content-middle .ultp-block-content { -ms-flex-item-align: center;-ms-grid-row-align: center;align-self: center; }"},{depends:[{key:"varticalAlign",condition:"==",value:"bottom"}],selector:"{{ULTP}} .ultp-block-content-bottom .ultp-block-content { -ms-flex-item-align: flex-end;-ms-grid-row-align: flex-end;align-self: flex-end; }"}]},imgCrop:{type:"string",default:"full",depends:[{key:"showImage",condition:"==",value:!0}]},imgCropSmall:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_square",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout1"}]}]},imgWidth:{type:"object",default:{lg:"80",sm:"65",xs:"",ulg:"px",usm:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-image { max-width: {{imgWidth}}; }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-image img {height: {{imgHeight}}; }"}]},imageScale:{type:"string",default:"cover",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-image img { object-fit: {{imageScale}}; }"}]},imgAnimation:{type:"string",default:"opacity"},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-big-post-module2 .ultp-block-image,   \n          {{ULTP}} .ultp-small-post-module2 .ultp-block-image,   \n          {{ULTP}} .ultp-block-image img,   \n          {{ULTP}} .ultp-block-image.ultp-block-image-overlay > a:before,   \n          {{ULTP}} .ultp-block-image.ultp-block-image-overlay > a:after { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image,   \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image img,   \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image.ultp-block-image-overlay > a:before,   \n          {{ULTP}} .ultp-block-item:hover .ultp-block-image.ultp-block-image-overlay > a:after{ border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"showImage",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},imgSpacing:{type:"object",default:{lg:"20"},style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"!=",value:"layout2"},{key:"layout",condition:"!=",value:"layout1"}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-image { margin-right: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-small-post-module2 .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }"},{depends:[{key:"showImage",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout2"}],selector:"{{ULTP}} .ultp-small-post-module2  .ultp-block-image { margin-left: {{imgSpacing}}px; } \n          .rtl {{ULTP}} .ultp-small-post-module2  .ultp-block-image { margin-left: 0; margin-right: {{imgSpacing}}px; }"}]},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},fallbackEnable:{type:"boolean",default:!0,style:[{depends:[{key:"showImage",condition:"==",value:!0}]}]},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"showImage",condition:"==",value:!0},{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSmallMeta:{type:"boolean",default:!0},metaListSmall:{type:"string",default:'["metaAuthor","metaDate"]'},metaHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module2 span.ultp-block-meta-element:hover ,  \n          {{ULTP}} .ultp-block-items-wrap .ultp-small-post-module2 span.ultp-block-meta-element:hover a { color: {{metaHoverColor}}!important; }  \n          {{ULTP}} .ultp-small-post-module2 span.ultp-block-meta-element:hover svg { fill: {{metaHoverColor}}; }"}]},LargeMetaColor:{type:"string",default:"#fff",style:[{selector:"{{ULTP}} .ultp-big-post-module2 span.ultp-block-meta-element { color: {{LargeMetaColor}} !important; } \n          {{ULTP}} .ultp-big-post-module2 span.ultp-block-meta-element svg { fill: {{LargeMetaColor}} !important; } \n          {{ULTP}} .ultp-block-items-wrap .ultp-big-post-module2 span.ultp-block-meta-element a { color: {{LargeMetaColor}} !important; }\n          {{ULTP}} .ultp-big-post-module2 .ultp-block-meta-dot span:after { background:{{LargeMetaColor}} !important; } \n          {{ULTP}} .ultp-big-post-module2 span.ultp-block-meta-element:after { color:{{LargeMetaColor}} !important; }"}]},LgMetaHoverColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-big-post-module2 span.ultp-block-meta-element:hover svg { fill: {{LgMetaHoverColor}} !important; }  \n          {{ULTP}} .ultp-block-items-wrap .ultp-big-post-module2 span.ultp-block-meta-element a:hover { color: {{LgMetaHoverColor}} !important; }  \n          {{ULTP}} .ultp-big-post-module2 span.ultp-block-meta-element:hover { color: {{LgMetaHoverColor}} !important; }"}]},showSmallCat:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showSmallExcerpt:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:20,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},smallExcerptLimit:{type:"string",default:20,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"showSmallExcerpt",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-excerpt,    \n        {{ULTP}} .ultp-small-post-module2 .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptBigColor:{type:"string",default:"#fff",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-big-post-module2 .ultp-block-excerpt,                     \n        {{ULTP}} .ultp-big-post-module2 .ultp-block-excerpt p { color:{{excerptBigColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{selector:"{{ULTP}} .ultp-block-excerpt,                     \n        {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:5,bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},counterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""},style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before,    \n          {{ULTP}} .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before"}]},counterColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before,  \n          {{ULTP}} .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before { color:{{counterColor}}; }"}]},counterBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Contrast_2_color)"},style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before,  \n          {{ULTP}} .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before"}]},counterWidth:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before,  \n          {{ULTP}} .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before { width:{{counterWidth}}px; }"}]},counterHeight:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before,  \n          {{ULTP}} .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before { height:{{counterHeight}}px; }"}]},counterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"var(--postx_preset_Base_3_color)",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before,    \n          {{ULTP}} .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before"}]},counterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"layout",condition:"==",value:["layout4","layout5"]}],selector:"{{ULTP}} .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before,    \n          {{ULTP}} .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before { border-radius:{{counterRadius}}; }"}]},separatorShow:{type:"boolean",default:!1},septColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { border-bottom-color:{{septColor}}; }"}]},septStyle:{type:"string",default:"dashed",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { border-bottom-style:{{septStyle}}; }"}]},septSize:{type:"string",default:{lg:"1"},style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { border-bottom-width: {{septSize}}px; }"}]},septSpace:{type:"object",default:{lg:"15"},style:[{selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { padding-bottom: {{septSpace}}px; }    \n          {{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { margin-bottom: {{septSpace}}px; }"}]},showSmallBtn:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }    \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }    \n          {{ULTP}} .ultp-block-meta { justify-content: center; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; }    \n          {{ULTP}} .ultp-block-meta { justify-content: flex-end; } \n          .rtl {{ULTP}} .ultp-block-meta { justify-content: start; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"},{key:"readMore",condition:"==",value:!0}],selector:" .rtl {{ULTP}} .ultp-block-readmore a { display:flex; flex-direction:row-reverse;justify-content: flex-end; }"}]},contentWrapBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-content-wrap { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-content-wrap:hover"}]},lgInnerPadding:{type:"object",default:{lg:{top:25,bottom:25,left:25,right:25,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-big-post-module2 .ultp-block-content  { padding: {{lgInnerPadding}}; }"}]},contentWrapInnerPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-small-post-module2 .ultp-block-content { padding: {{contentWrapInnerPadding}}; }"}]},contentWrapPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; }"}]},columnFlip:{type:"boolean",default:!1},headingText:{type:"string",default:"Post Module #2"},filterBelowTitle:{type:"boolean",default:!1,style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; height: auto;}"}]},filterAlign:{type:"object",default:{lg:""},style:[{depends:[{key:"filterBelowTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation { text-align:{{filterAlign}}; }"}]},filterType:{type:"string",default:"category"},filterText:{type:"string",default:"all"},filterValue:{type:"string",default:"[]",style:[{depends:[{key:"filterType",condition:"!=",value:""}]}]},fliterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:22,unit:"px"},decoration:"none",family:"",weight:500},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a"}]},filterColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }\n          {{ULTP}} .flexMenu-viewMore a:before { border-color:{{filterColor}}}"}]},filterHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a:hover,  \n          {{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}} !important; }  \n          {{ULTP}} .ultp-flex-menu .flexMenu-viewMore a:hover::before { border-color:{{filterHoverColor}}}"}]},filterBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }"}]},filterHoverBgColor:{type:"string",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover,  \n          {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active,  \n          {{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore > a:hover { background:{{filterHoverBgColor}}; }"}]},filterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a"}]},filterHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover"}]},filterRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }"}]},fliterSpacing:{type:"object",default:{lg:{top:"",bottom:"",right:"",left:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }"}]},fliterPadding:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.filter-item > a,  \n          {{ULTP}} .ultp-filter-wrap .flexMenu-viewMore > a { padding:{{fliterPadding}}; }"}]},filterDropdownColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }"}]},filterDropdownHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }"}]},filterDropdownBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }"}]},filterDropdownRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }"}]},filterDropdownPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"filterShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }"}]},filterMobile:{type:"boolean",default:!0},filterMobileText:{type:"string",default:"More",style:[{depends:[{key:"filterMobile",condition:"==",value:!0}]}]},paginationType:{type:"string",default:"navigation"},...(0,o.t)(["advanceAttr","advFilter","heading","pagiBlockCompatibility","pagination","video","meta","category","readMore","query"],["pagiMargin"],[{key:"queryNumPosts",default:{lg:5}},{key:"queryNumber",default:5},{key:"pagiAlign",default:{lg:"left"}},{key:"vidIconPosition",default:"center"},{key:"metaSpacing",default:{lg:"10",unit:"px"}},{key:"metaMargin",default:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}}},{key:"catLineColor",default:"var(--postx_preset_Primary_color)"},{key:"catLineHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catTypo",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""}},{key:"catColor",default:"var(--postx_preset_Primary_color)"},{key:"catBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"catHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"catBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)"}},{key:"readMoreColor",default:"var(--postx_preset_Primary_color)"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_3_color)"}},{key:"readMoreHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"readMoreBgHoverColor",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)"}}]),V4_1_0_CompCheck:a.O,...(0,i.b)({})}},2528:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(4988),n=l(6128);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-module-2/","block_docs"),r("ultimate-post/post-module-2",{title:__("Post Module #2","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-module-2.svg"}),category:"ultimate-post",keywords:[__("Post List","ultimate-post"),__("Post Grid","ultimate-post"),__("Post Module","ultimate-post"),__("Latest Post","ultimate-post"),__("Module","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postmodule2.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},181:(e,t,l)=>{"use strict";l.d(t,{Z:()=>B});var o=l(7462),a=l(7294),i=l(6066),n=l(3049),r=l(3890),s=l(9491),p=l(9236),c=l(6896),u=l(8152),d=l(6005),m=l(9838),g=l(1760),y=l(5335),b=l(3151),v=l(9735),h=l(2963),f=l(9349),k=l(3245),w=l(7025),x=l(2807);const{__}=wp.i18n,{InspectorControls:T}=wp.blockEditor,{useEffect:S,useState:P,useRef:C,Fragment:E}=wp.element,{Spinner:_,Placeholder:L}=wp.components,{getBlockAttributes:I,getBlockRootClientId:U}=wp.data.select("core/block-editor");function B(e){const t=C(null),[l,B]=P(w.Ti),{setAttributes:M,clientId:A,className:H,name:N,isSelected:j,attributes:O,context:Z,attributes:{blockId:R,imageShow:D,imgCrop:F,readMoreIcon:z,arrowStyle:W,arrows:G,fade:V,dots:q,slideSpeed:$,autoPlay:K,readMore:J,readMoreText:Y,excerptLimit:X,metaStyle:Q,catShow:ee,metaSeparator:te,titleShow:le,catStyle:oe,catPosition:ae,titlePosition:ie,excerptShow:ne,metaList:re,metaShow:se,headingShow:pe,headingStyle:ce,headingAlign:ue,headingURL:de,headingText:me,headingBtnText:ge,subHeadingShow:ye,subHeadingText:be,metaPosition:ve,imgOverlay:he,imgOverlayType:fe,contentVerticalPosition:ke,contentHorizontalPosition:we,showFullExcerpt:xe,customCatColor:Te,onlyCatColor:Se,contentTag:Pe,titleTag:Ce,showSeoMeta:Ee,titleLength:_e,metaMinText:Le,metaAuthorPrefix:Ie,titleStyle:Ue,metaDateFormat:Be,slidesToShow:Me,authorLink:Ae,fallbackEnable:He,headingTag:Ne,notFoundMessage:je,dcEnabled:Oe,dcFields:Ze,V4_1_0_CompCheck:{runComp:Re},advanceId:De,previewImg:Fe,currentPostId:ze}}=e;function We(e){B({...l,selectedDC:e})}function Ge(){B({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function Ve(e){B({...l,section:{...w.ZQ,[e]:!0}}),(0,w.Rt)(e),(0,w.ob)(e)}function qe(e){B((t=>({...t,toolbarSettings:e}))),(0,w.os)(e)}function $e(){l.error&&B({...l,error:!1}),l.loading||B({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,n.Ld)(O)}).then((e=>{B({...l,postsList:e,loading:!1})})).catch((e=>{B({...l,loading:!1,error:!0})}))}function Ke(e,t){e.stopPropagation(),Ve("arrow"),qe("arrow"),t()}S((()=>{(0,w.oA)(),$e()}),[]),S((()=>{const t=A.substr(0,6),l=I(U(A));(0,b.h)(e),(0,n.qi)(M,l,ze,A),R?R&&R!=t&&(l?.hasOwnProperty("ref")||(0,n.k0)()||l?.hasOwnProperty("theme")||M({blockId:t})):(M({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&M({queryType:"archiveBuilder"}))}),[A]),S((()=>{const e=t.current;(0,v.o6)()&&0===O.dcFields.length&&M({dcFields:Array(x.PR).fill(void 0)}),e?((0,n.Qr)(e,O)&&($e(),t.current=O),e.isSelected!==j&&j&&(0,w.gT)(Ve,qe)):t.current=O}),[O]);const Je={setAttributes:M,name:N,attributes:O,setSection:Ve,section:l.section,clientId:A,context:Z,setSelectedDc:We,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){We(e),qe("dc_group")}};let Ye;return R&&(Ye=(0,m.Kh)(O,"ultimate-post/post-slider-1",R,(0,n.k0)())),Fe?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Fe}):(0,a.createElement)(E,null,(0,a.createElement)(x.FP,{store:Je,selected:l.toolbarSettings}),(0,a.createElement)(g.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"feat_toggle",label:__("Slider Features","ultimate-post"),data:[...n.$m,{type:"toggle",key:"imageShow",label:__("Image","ultimate-post")}],new:n.KE,[Re?"exclude":"dep"]:n.N2}],store:Je}),(0,a.createElement)(T,null,(0,a.createElement)(x.ZP,{store:Je})),(0,a.createElement)("div",(0,o.Z)({},De&&{id:De},{className:`ultp-block-${R} ${H}`,onClick:e=>{e.stopPropagation(),Ve("general"),qe("")}}),Ye&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:Ye}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},function(){const e=`${Pe}`;let t={arrows:G,dots:q,autoplay:K,autoplaySpeed:$,nextArrow:(0,a.createElement)((e=>{const{className:t,onClick:l}=e,o=W.split("#");return(0,a.createElement)("div",{className:t,onClick:e=>{Ke(e,l)}},k.ZP[o[1]])}),null),prevArrow:(0,a.createElement)((e=>{const{className:t,onClick:l}=e,o=W.split("#");return(0,a.createElement)("div",{className:t,onClick:e=>{Ke(e,l)}},k.ZP[o[0]])}),null)};void 0!==Me.lg&&parseInt(Me.lg)<2?(t.fade=V,t.slidesToShow=1):(t.slidesToShow=parseInt(Me.lg),t.responsive=[{breakpoint:1024,settings:{slidesToShow:parseInt(Me.sm)||1,slidesToScroll:1}},{breakpoint:600,settings:{slidesToShow:parseInt(Me.xs)||1,slidesToScroll:1}}]),t.appendDots=e=>(0,a.createElement)("div",{onClick:e=>function(e){e.stopPropagation(),Ve("dot"),qe("dot")}(e)},(0,a.createElement)("ul",null," ",e," "));const o=(0,n.fk)(t),m=(e,t)=>(0,v.o6)()&&Oe&&(0,a.createElement)(f.Z,{idx:e,postId:t,fields:Ze,settingsOnClick:(e,t)=>{e?.stopPropagation(),qe(t)},selectedDC:l.selectedDC,setSelectedDc:We,setAttributes:M,dcFields:Ze});return l.error?(0,a.createElement)(L,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(L,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(_,null)):l.postsList.length>0?(0,a.createElement)("div",{className:"ultp-block-items-wrap"},(0,a.createElement)("div",{onClick:e=>{e.preventDefault(),Ve("heading"),qe("heading")}},(0,a.createElement)(y.Z,{props:{headingShow:pe,headingStyle:ce,headingAlign:ue,headingURL:de,headingText:me,setAttributes:M,headingBtnText:ge,subHeadingShow:ye,subHeadingText:be,headingTag:Ne}})),(0,a.createElement)(i.Z,o,l.postsList.map(((t,l)=>{const o=JSON.parse(re.replaceAll("u0022",'"'));return(0,a.createElement)(e,{key:l,className:`ultp-block-item post-id-${t.ID}`},(0,a.createElement)("div",{className:"ultp-block-slider-wrap"},(0,a.createElement)("div",{className:"ultp-block-image-inner"},(t.image&&!t.is_fallback||He)&&D&&(0,a.createElement)(p.xj,{imgOverlay:he,imgOverlayType:fe,post:t,fallbackEnable:He,idx:l,imgCrop:F,onClick:()=>{}})),(0,a.createElement)(p.UU,{contentHorizontalPosition:we,contentVerticalPosition:ke,onClick:e=>{e.stopPropagation(),Ve("image"),qe("image")}},(0,a.createElement)("div",{className:"ultp-block-content-inner"},(0,a.createElement)(r.Z,{post:t,catShow:ee,catStyle:oe,catPosition:ae,customCatColor:Te,onlyCatColor:Se,onClick:e=>{Ve("taxonomy-/-category"),qe("cat")}}),m(6,t.ID),t.title&&le&&1==ie&&(0,a.createElement)(d.Z,{title:t.title,headingTag:Ce,titleLength:_e,titleStyle:Ue,onClick:e=>{Ve("title"),qe("title")}}),m(5,t.ID),se&&"top"==ve&&(0,a.createElement)(c.Z,{meta:o,post:t,metaSeparator:te,metaStyle:Q,metaMinText:Le,metaAuthorPrefix:Ie,metaDateFormat:Be,authorLink:Ae,onClick:e=>{Ve("meta"),qe("meta")}}),m(4,t.ID),t.title&&le&&0==ie&&(0,a.createElement)(d.Z,{title:t.title,headingTag:Ce,titleLength:_e,titleStyle:Ue,onClick:e=>{Ve("title"),qe("title")}}),m(3,t.ID),ne&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(s.Z,{excerpt:t.excerpt,excerpt_full:t.excerpt_full,seo_meta:t.seo_meta,excerptLimit:X,showFullExcerpt:xe,showSeoMeta:Ee,onClick:e=>{Ve("excerpt"),qe("excerpt")}})),m(2,t.ID),J&&(0,a.createElement)(u.Z,{readMoreText:Y,readMoreIcon:z,titleLabel:t.title,onClick:()=>{Ve("read-more"),qe("read-more")}}),m(1,t.ID),se&&"bottom"==ve&&(0,a.createElement)(c.Z,{meta:o,post:t,metaSeparator:te,metaStyle:Q,metaMinText:Le,metaAuthorPrefix:Ie,metaDateFormat:Be,authorLink:Ae,onClick:e=>{Ve("meta"),qe("meta")}}),m(0,t.ID),(0,v.o6)()&&Oe&&(0,a.createElement)(h.Z,{dcFields:Ze,setAttributes:M,startOnboarding:Ge})))))})))):(0,a.createElement)(L,{className:"ultp-backend-block-loading",label:je})}())))}},2807:(e,t,l)=>{"use strict";l.d(t,{FP:()=>g,PR:()=>d,ZP:()=>m});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(9735),p=l(2473),c=l(2637),u=l(3581);const{__}=wp.i18n,d=7;function m({store:e}){const{section:t}=e,{V4_1_0_CompCheck:{runComp:l}}=e.attributes;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6840",store:e}),(0,o.createElement)(c.Sections,null,(0,o.createElement)(c.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{initialOpen:t.general,store:e,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},include:[{position:0,data:{type:(0,s.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"range",key:"slidesToShow",min:1,max:8,step:1,responsive:!0,_inline:!0,label:__("Number of Slide","ultimate-post")}},{position:2,data:{type:"range",key:"height",label:__("Height","ultimate-post"),min:0,max:1e3,step:1,unit:!0,_inline:!0,responsive:!0}},{position:3,data:{type:"range",key:"slideSpeed",min:0,max:1e4,step:100,_inline:!0,label:__("Slide Speed","ultimate-post")}},{position:4,data:{type:"range",key:"sliderGap",min:0,max:100,_inline:!0,label:__("Slider Gap","ultimate-post")}},{position:5,data:{type:"toggle",key:"fade",label:__("Animation Fade","ultimate-post")}},{position:6,data:{type:"toggle",key:"autoPlay",label:__("Auto Play","ultimate-post")}},{position:7,data:{type:"toggle",key:"dots",label:__("Dots","ultimate-post")}},{position:8,data:{type:"toggle",key:"arrows",label:__("Arrows","ultimate-post")}},{position:9,data:{type:"toggle",key:"preLoader",label:__("Pre Loader","ultimate-post")}},{position:10,data:{type:"separator"}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}],exclude:["columns","columnGridGap"]}),(0,o.createElement)(a.VH,{store:e,depend:"titleShow",initialOpen:t.title,hrIdx:[4,9]}),(0,o.createElement)(a.Hn,{isTab:!0,store:e,initialOpen:t.image,include:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imgWidth","imgHeight","imageScale","imgMargin","imgSeparator","imgCropSmall","imgAnimation"],hrIdx:[{tab:"settings",hr:[1,9]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:e,depend:"metaShow",initialOpen:t.meta,exclude:["metaListSmall"],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:t["taxonomy-/-category"],depend:"catShow",store:e,exclude:["catPosition"],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.oY,{isTab:!0,store:e,initialOpen:t["read-more"],depend:"readMore",hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:t.excerpt,store:e,hrIdx:[3,6]}),(0,o.createElement)(a.tf,{depend:"arrows",store:e,initialOpen:t.arrow}),(0,o.createElement)(a.H_,{depend:"dots",store:e,initialOpen:t.dot}),(0,o.createElement)(a.O2,{store:e,exclude:["contentWrapInnerPadding"],include:[{position:0,data:{type:"tag",key:"contentVerticalPosition",label:"Vertical Position",disabled:!0,options:[{value:"topPosition",label:__("Top","ultimate-post")},{value:"middlePosition",label:__("Middle","ultimate-post")},{value:"bottomPosition",label:__("Bottom","ultimate-post")}]}},{position:1,data:{type:"tag",key:"contentHorizontalPosition",label:__("Horizontal Position","ultimate-post"),disabled:!0,options:[{value:"leftPosition",label:__("Left","ultimate-post")},{value:"centerPosition",label:__("Center","ultimate-post")},{value:"rightPosition",label:__("Right","ultimate-post")}]}},{position:11,data:{type:"dimension",key:"contentMargin",label:__("Content Margin","ultimate-post"),step:1,unit:!0,responsive:!0}}]}),!l&&(0,o.createElement)(i.Z,{open:t.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:e,initialOpen:t.heading,depend:"headingShow"}))),(0,o.createElement)(c.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:e,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))),(0,a.dH)())}function g({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,showImage:c,titleShow:u,catPosition:d,titlePosition:m,excerptShow:g,readMore:y,metaPosition:b,layout:v,fallbackEnable:h,catShow:f}=t.attributes,k=[i&&"bottom"==b,y,g,u&&0==m,i&&"top"==b,u&&1==m];if((0,s.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(p.Z,{store:t,selected:e,layoutContext:k});switch(e){case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"arrow":return(0,o.createElement)(r.Z,{text:"Arrow"},(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.fA)({include:a.I0,exclude:"__all",title:__("Arrow Dimension","ultimate-post")}),store:t,label:__("Arrow Dimension","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.YG,include:(0,a.fA)({title:__("Arrow Style","ultimate-post"),exclude:["separatorStyle",...a.I0]}),store:t,label:__("Arrow Style","ultimate-post")}));case"dot":return(0,o.createElement)(r.Z,{text:"Dots"},(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.oc)({include:a.EG,exclude:"__all",title:__("Dots Dimension","ultimate-post")}),store:t,label:__("Dots Dimension","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.YG,include:(0,a.oc)({title:__("Dots Settings","ultimate-post"),exclude:["separatorStyle",...a.EG]}),store:t,label:__("Dots Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(a.sT,{store:t,attrKey:"titleTypo",label:__("Title Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleBackground","titleColor","titleHoverColor"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post")}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,exSettings:["metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exSettings:["catPosition"],exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exSettings:["imgWidth","imgHeight","imageScale","imgMargin","imgSeparator","imgCropSmall","imgAnimation"],exStyle:["imgWidth","imgHeight","imageScale","imgMargin","imgSeparator","imgCropSmall","imgAnimation"],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},8161:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},slidesToShow:{type:"object",default:{lg:"1",sm:"1",xs:"1"}},autoPlay:{type:"boolean",default:!0},height:{type:"object",default:{lg:"550",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-image,  \n          {{ULTP}} .ultp-block-slider-wrap { height: {{height}}; }"}]},slideSpeed:{type:"string",default:"3000",style:[{depends:[{key:"autoPlay",condition:"==",value:!0}]}]},sliderGap:{type:"string",default:"10",style:[{selector:"{{ULTP}} .ultp-block-items-wrap .slick-slide > div { padding: 0 {{sliderGap}}px; line-height: 0px; }\n          {{ULTP}} .ultp-block-items-wrap .slick-list { margin: 0 -{{sliderGap}}px; }"}]},dots:{type:"boolean",default:!0},arrows:{type:"boolean",default:!0},preLoader:{type:"boolean",default:!1},fade:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } "}]},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"#0e1523",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"#037fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"28",unit:"px"},height:{lg:"36",unit:"px"},decoration:"none",family:"",weight:"500"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-block-content .ultp-block-title,  \n          {{ULTP}} .ultp-block-item .ultp-block-content .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:25,bottom:12,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},imageShow:{type:"boolean",default:!0},imgCrop:{type:"string",default:"full"},imgOverlay:{type:"boolean",default:!1},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{selector:"{{ULTP}} .ultp-block-image img { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},fallbackEnable:{type:"boolean",default:!0},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:40,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"#777",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt,  \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:26,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt,  \n          {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:10,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt { padding: {{excerptPadding}}; }"}]},arrowStyle:{type:"string",default:"leftAngle2#rightAngle2",style:[{depends:[{key:"arrows",condition:"==",value:!0}]}]},arrowSize:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-next svg,  \n          {{ULTP}} .slick-prev svg { width:{{arrowSize}}; }"}]},arrowWidth:{type:"object",default:{lg:"60",unit:"px"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow { width:{{arrowWidth}}; }"}]},arrowHeight:{type:"object",default:{lg:"60",unit:"px"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow { height:{{arrowHeight}}; }  \n          {{ULTP}} .slick-arrow { line-height:{{arrowHeight}}; }"}]},arrowVartical:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-next { right:{{arrowVartical}}; }  \n          {{ULTP}} .slick-prev { left:{{arrowVartical}}; }"}]},arrowColor:{type:"string",default:"#037fff",style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:before { color:{{arrowColor}}; }  \n          {{ULTP}} .slick-arrow svg { fill:{{arrowColor}}; }"}]},arrowHoverColor:{type:"string",default:"#fff",style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover:before { color:{{arrowHoverColor}}; }  \n          {{ULTP}} .slick-arrow:hover svg { fill:{{arrowHoverColor}}; }"}]},arrowBg:{type:"string",default:"#fff",style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow { background:{{arrowBg}}; }"}]},arrowHoverBg:{type:"string",default:"#037fff",style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover { background:{{arrowHoverBg}}; }"}]},arrowBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow"}]},arrowHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover"}]},arrowRadius:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow { border-radius: {{arrowRadius}}; }"}]},arrowHoverRadius:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover { border-radius: {{arrowHoverRadius}}; }"}]},arrowShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow"}]},arrowHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover"}]},dotWidth:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button { width:{{dotWidth}}; }"}]},dotHeight:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button { height:{{dotHeight}}; }"}]},dotHoverWidth:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li.slick-active button { width:{{dotHoverWidth}}; }"}]},dotHoverHeight:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li.slick-active button { height:{{dotHoverHeight}}; }"}]},dotSpace:{type:"object",default:{lg:"4",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots { padding: 0 {{dotSpace}}; }  \n          {{ULTP}} .slick-dots li button { margin: 0 {{dotSpace}}; }"}]},dotVartical:{type:"object",default:{lg:"40",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots { bottom:{{dotVartical}}; }"}]},dotHorizontal:{type:"object",default:{lg:""},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots { left:{{dotHorizontal}}; }"}]},dotBg:{type:"string",default:"#f5f5f5",style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button { background:{{dotBg}}; }"}]},dotHoverBg:{type:"string",default:"#000",style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button:hover,  \n          {{ULTP}} .slick-dots li.slick-active button { background:{{dotHoverBg}}; }"}]},dotBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button"}]},dotHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button:hover,  \n          {{ULTP}} .slick-dots li.slick-active button"}]},dotRadius:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button { border-radius: {{dotRadius}}; }"}]},dotHoverRadius:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button:hover,  \n          {{ULTP}} .slick-dots li.slick-active button { border-radius: {{dotHoverRadius}}; }"}]},dotShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button"}]},dotHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button:hover,  \n          {{ULTP}} .slick-dots li.slick-active button"}]},contentVerticalPosition:{type:"string",default:"middlePosition",style:[{depends:[{key:"contentVerticalPosition",condition:"==",value:"topPosition"}],selector:"{{ULTP}} .ultp-block-content-topPosition { align-items:flex-start; }"},{depends:[{key:"contentVerticalPosition",condition:"==",value:"middlePosition"}],selector:"{{ULTP}} .ultp-block-content-middlePosition { align-items:center; }"},{depends:[{key:"contentVerticalPosition",condition:"==",value:"bottomPosition"}],selector:"{{ULTP}} .ultp-block-content-bottomPosition { align-items:flex-end; }"}]},contentHorizontalPosition:{type:"string",default:"centerPosition",style:[{depends:[{key:"contentHorizontalPosition",condition:"==",value:"leftPosition"}],selector:"{{ULTP}} .ultp-block-content-leftPosition { justify-content:flex-start; }"},{depends:[{key:"contentHorizontalPosition",condition:"==",value:"centerPosition"}],selector:"{{ULTP}} .ultp-block-content-centerPosition { justify-content:center; }"},{depends:[{key:"contentHorizontalPosition",condition:"==",value:"rightPosition"}],selector:"{{ULTP}} .ultp-block-content-rightPosition { justify-content:flex-end; }"}]},contentAlign:{type:"string",default:"center",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content-inner { text-align:{{contentAlign}}; }  \n          {{ULTP}} .ultp-block-meta { justify-content: flex-start; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content-inner { text-align:{{contentAlign}}; }  \n          {{ULTP}} .ultp-block-meta { justify-content: center; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content-inner { text-align:{{contentAlign}}; }  \n          {{ULTP}} .ultp-block-meta { justify-content: flex-end; }"}]},contenWraptWidth:{type:"object",default:{lg:"60",unit:"%"},style:[{selector:"{{ULTP}} .ultp-block-content-inner { width:{{contenWraptWidth}}; }"}]},contenWraptHeight:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} .ultp-block-content-inner { height:{{contenWraptHeight}}; }"}]},contentWrapBg:{type:"string",default:"#fff",style:[{selector:"{{ULTP}} .ultp-block-content-inner { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",style:[{selector:"{{ULTP}} .ultp-block-content-inner:hover { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-inner"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-content-inner:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:"6",bottom:"6",left:"6",right:"6",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner{ border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"10",bottom:"10",left:"10",right:"10",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner:hover{ border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:0,right:5,bottom:15,left:0},color:"rgba(0,0,0,0.15)"},style:[{selector:"{{ULTP}} .ultp-block-content-inner"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:0,right:10,bottom:25,left:0},color:"rgba(0,0,0,0.25)"},style:[{selector:"{{ULTP}} .ultp-block-content-inner:hover"}]},contentWrapPadding:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner { padding: {{contentWrapPadding}}; }"}]},contentMargin:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-content-inner { margin: {{contentMargin}}; }"}]},headingShow:{type:"boolean",default:!1},headingText:{type:"string",default:"Post Slider #1"},...(0,o.t)(["advanceAttr","heading","meta","category","readMore","query"],[],[{key:"queryNumPosts",default:{lg:5}},{key:"queryNumber",default:5},{key:"metaSeparator",default:"dash"},{key:"metaColor",default:"#989898"},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"catSacing",default:{lg:{top:-65,bottom:5,left:0,right:0,unit:"px"}}},{key:"catPadding",default:{lg:{top:8,bottom:6,left:16,right:16,unit:"px"}}},{key:"readMore",default:!0},{key:"readMoreColor",default:"#000"},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"#037fff"}},{key:"readMoreHoverColor",default:"#037fff"},{key:"readMoreBgHoverColor",default:{openColor:0,type:"color",color:"#0c32d8"}},{key:"readMoreSacing",default:{lg:{top:30,bottom:"",left:"",right:"",unit:"px"}}},{key:"readMorePadding",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}}}]),V4_1_0_CompCheck:a.O,...(0,i.b)()}},5930:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(181),n=l(8161);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-slider-1/","block_docs"),r("ultimate-post/post-slider-1",{title:__("Post Slider #1","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-slider-1.svg"}),category:"ultimate-post",keywords:[__("Post Slider","ultimate-post"),__("Post Carousel","ultimate-post"),__("Slide","ultimate-post"),__("Slider","ultimate-post"),__("Feature","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/postslider1.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},3504:(e,t,l)=>{"use strict";l.d(t,{Z:()=>M});var o=l(7462),a=l(7294),i=l(6066),n=l(5335),r=l(3049),s=l(3151),p=l(3890),c=l(9491),u=l(9236),d=l(6896),m=l(8152),g=l(6005),y=l(9838),b=l(9735),v=l(2963),h=l(9349),f=l(3245),k=l(7025),w=l(1760),x=l(3100),T=l(4047);const{__}=wp.i18n,{InspectorControls:S}=wp.blockEditor,{useEffect:P,useState:C,useRef:E,Fragment:_}=wp.element,{Spinner:L,Placeholder:I}=wp.components,{getBlockAttributes:U,getBlockRootClientId:B}=wp.data.select("core/block-editor");function M(e){const t=E(null),[l,M]=C(k.Ti),{setAttributes:A,className:H,clientId:N,name:j,attributes:O,isSelected:Z,context:R,attributes:{blockId:D,imageShow:F,imgCrop:z,readMoreIcon:W,arrowStyle:G,arrows:V,fade:q,dots:$,slideSpeed:K,autoPlay:J,readMore:Y,readMoreText:X,excerptLimit:Q,metaStyle:ee,catShow:te,metaSeparator:le,titleShow:oe,catStyle:ae,catPosition:ie,titlePosition:ne,excerptShow:re,metaList:se,metaShow:pe,headingShow:ce,headingStyle:ue,headingAlign:de,headingURL:me,headingText:ge,headingBtnText:ye,subHeadingShow:be,subHeadingText:ve,metaPosition:he,imgOverlay:fe,imgOverlayType:ke,contentVerticalPosition:we,contentHorizontalPosition:xe,showFullExcerpt:Te,customCatColor:Se,onlyCatColor:Pe,contentTag:Ce,titleTag:Ee,showSeoMeta:_e,titleLength:Le,metaMinText:Ie,metaAuthorPrefix:Ue,titleStyle:Be,metaDateFormat:Me,slidesToShow:Ae,authorLink:He,layout:Ne,sliderGap:je,contenWraptHeight:Oe,catBgColor:Ze,catPadding:Re,dotVartical:De,dotRadius:Fe,slidesCenterPadding:ze,fallbackEnable:We,headingTag:Ge,notFoundMessage:Ve,dcEnabled:qe,dcFields:$e,previewImg:Ke,advanceId:Je,V4_1_0_CompCheck:{runComp:Ye},currentPostId:Xe,blockPubDate:Qe}}=e;function et(e){M({...l,selectedDC:e})}function tt(){M({...l,selectedDC:"0,0,1",toolbarSettings:"dc_field"})}function lt(e){M({...l,section:{...k.ZQ,[e]:!0}}),(0,k.Rt)(e),(0,k.ob)(e)}function ot(e){M((t=>({...t,toolbarSettings:e}))),(0,k.os)(e)}function at(){l.error&&M({...l,error:!1}),l.loading||M({...l,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,r.Ld)(O)}).then((e=>{M({...l,postsList:e,loading:!1})})).catch((e=>{M({...l,loading:!1,error:!0})}))}function it(e,t){e.stopPropagation(),lt("arrow"),ot("arrow"),t()}P((()=>{(0,k.oA)(),at()}),[]),P((()=>{const t=N.substr(0,6),l=U(B(N));(0,s.h)(e),(0,r.qi)(A,l,Xe,N),"empty"==Qe&&A({blockPubDate:(new Date).toISOString()}),D?D&&D!=t&&(l?.hasOwnProperty("ref")||(0,r.k0)()||l?.hasOwnProperty("theme")||A({blockId:t})):(A({blockId:t}),ultp_data.archive&&"archive"==ultp_data.archive&&A({queryType:"archiveBuilder"}))}),[N]),P((()=>{const e=t.current;(0,b.o6)()&&0===O.dcFields.length&&A({dcFields:Array(T.PR).fill(void 0)}),e?((0,r.Qr)(e,O)&&(at(),t.current=O),e.isSelected!==Z&&Z&&(0,k.gT)(lt,ot)):t.current=O}),[O]);const nt={setAttributes:A,name:j,attributes:O,setSection:lt,section:l.section,clientId:N,context:R,setSelectedDc:et,selectedDC:l.selectedDC,selectParentMetaGroup:function(e){et(e),ot("dc_group")}};let rt;if(D&&(rt=(0,y.Kh)(O,"ultimate-post/post-slider-2",D,(0,r.k0)())),Ke)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:Ke});let st=(0,x.Z)("","slider_2",ultp_data.affiliate_id);return(0,a.createElement)(_,null,(0,a.createElement)(T.FP,{store:nt,selected:l.toolbarSettings}),(0,a.createElement)(w.Z,{include:[{type:"query"},{type:"template"},{type:"grid_align",key:"contentAlign"},{type:"feat_toggle",label:__("Slider Features","ultimate-post"),data:r.$m,new:r.KE,[Ye?"exclude":"dep"]:r.N2}],store:nt}),(0,a.createElement)(S,null,(0,a.createElement)(T.ZP,{store:nt})),(0,a.createElement)("div",(0,o.Z)({},Je&&{id:Je},{className:`ultp-block-${D} ${H}`,onClick:e=>{e.stopPropagation(),lt("general"),ot("")}}),rt&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:rt}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},!ultp_data.active&&(0,a.createElement)("div",{className:"ultp-pro-helper"},(0,a.createElement)("div",{className:"ultp-pro-helper__upgrade"},(0,a.createElement)("span",null,"To Unlock Slider Block"),(0,a.createElement)("a",{className:"ultp-upgrade-pro",href:st,target:"_blank"}," ","Upgrade to Pro"," "),(0,a.createElement)("a",{href:"https://www.wpxpo.com/postx/blocks/#demoid7487",target:"_blank"}," ","View Demo"))),function(){const e=`${Ce}`;let t={arrows:V,dots:$,autoplay:J,infinite:!0,cssEase:"linear",speed:500,autoplaySpeed:parseInt(K),nextArrow:(0,a.createElement)((e=>{const{className:t,onClick:l}=e,o=G.split("#");return(0,a.createElement)("div",{className:t,onClick:e=>{it(e,l)}},f.ZP[o[1]])}),null),prevArrow:(0,a.createElement)((e=>{const{className:t,onClick:l}=e,o=G.split("#");return(0,a.createElement)("div",{className:t,onClick:e=>{it(e,l)}},f.ZP[o[0]])}),null)},o="slide2"==Ne||"slide3"==Ne||"slide5"==Ne||"slide6"==Ne||"slide8"==Ne;const s=parseInt(Ae.lg)?parseInt(Ae.lg):1,y=parseInt(Ae.sm)?parseInt(Ae.sm):1,k=parseInt(Ae.xs)?parseInt(Ae.xs):1;if(q&&o)t.slidesToShow=1,t.fade=q;else if(!q&&o)t.slidesToShow=s,t.responsive=[{breakpoint:991,settings:{slidesToShow:y,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:k,slidesToScroll:1}}];else{const e=wp.data.select("core/editor").getDeviceType?.()||wp.data.select(wp.data.select("core/edit-site")?"core/edit-site":"core/edit-post").__experimentalGetPreviewDeviceType();t.centerMode=!0,"Tablet"==e?(t.slidesToShow=y,t.centerPadding=ze.sm?ze.sm+"px":"50px"):"Mobile"==e?(t.slidesToShow=k,t.centerPadding=ze.xs?ze.xs+"px":"100px"):(t.slidesToShow=s,t.centerPadding=ze.lg?ze.lg+"px":"100px"),t.responsive=[{breakpoint:991,settings:{slidesToShow:y,slidesToScroll:1,centerPadding:ze.sm?ze.sm+"px":"100px"}},{breakpoint:767,settings:{slidesToShow:k,slidesToScroll:1,centerPadding:ze.xs?ze.xs+"px":"50px"}}]}t.appendDots=e=>(0,a.createElement)("div",{onClick:e=>function(e){e.stopPropagation(),lt("dot"),ot("dot")}(e)},(0,a.createElement)("ul",null," ",e," "));const w=(0,r.fk)(t),x=(e,t)=>(0,b.o6)()&&qe&&(0,a.createElement)(h.Z,{idx:e,postId:t,fields:$e,settingsOnClick:(e,t)=>{e?.stopPropagation(),ot(t)},selectedDC:l.selectedDC,setSelectedDc:et,setAttributes:A,dcFields:$e});return l.error?(0,a.createElement)(I,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):l.loading?(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:__("Loading...","ultimate-post")},(0,a.createElement)(L,null)):l.postsList.length>0?(0,a.createElement)("div",{className:`ultp-block-items-wrap ultp-slide-${Ne} ${ultp_data.active?"":" ultp-wrapper-pro"}`},(0,a.createElement)("div",{onClick:e=>{e.preventDefault(),lt("heading"),ot("heading")}},(0,a.createElement)(n.Z,{props:{headingShow:ce,headingStyle:ue,headingAlign:de,headingURL:me,headingText:ge,setAttributes:A,headingBtnText:ye,subHeadingShow:be,subHeadingText:ve,headingTag:Ge}})),(0,a.createElement)(i.Z,w,l.postsList.map(((t,l)=>{const o=JSON.parse(se.replaceAll("u0022",'"'));return(0,a.createElement)(e,{key:l,className:`ultp-block-item post-id-${t.ID}`},(0,a.createElement)("div",{className:"ultp-block-slider-wrap"},(0,a.createElement)("div",{className:"ultp-block-image-inner"},(t.image&&!t.is_fallback||We)&&(0,a.createElement)(u.xj,{imgOverlay:fe,imgOverlayType:ke,post:t,fallbackEnable:We,idx:l,imgCrop:z,onClick:()=>{}})),(0,a.createElement)(u.UU,{contentHorizontalPosition:xe,contentVerticalPosition:we,onClick:e=>{e.stopPropagation(),lt("image"),ot("image")}},(0,a.createElement)("div",{className:"ultp-block-content-inner"},x(7,t.ID),(0,a.createElement)(p.Z,{post:t,catShow:te,catStyle:ae,catPosition:ie,customCatColor:Se,onlyCatColor:Pe,onClick:e=>{lt("taxonomy-/-category"),ot("cat")}}),x(6,t.ID),t.title&&oe&&1==ne&&(0,a.createElement)(g.Z,{title:t.title,headingTag:Ee,titleLength:Le,titleStyle:Be,onClick:e=>{lt("title"),ot("title")}}),x(5,t.ID),pe&&"top"==he&&(0,a.createElement)(d.Z,{meta:o,post:t,metaSeparator:le,metaStyle:ee,metaMinText:Ie,metaAuthorPrefix:Ue,metaDateFormat:Me,authorLink:He,onClick:e=>{lt("meta"),ot("meta")}}),x(4,t.ID),t.title&&oe&&0==ne&&(0,a.createElement)(g.Z,{title:t.title,headingTag:Ee,titleLength:Le,titleStyle:Be,onClick:e=>{lt("title"),ot("title")}}),x(3,t.ID),re&&(0,a.createElement)("div",{className:"ultp-block-excerpt"},(0,a.createElement)(c.Z,{excerpt:t.excerpt,excerpt_full:t.excerpt_full,seo_meta:t.seo_meta,excerptLimit:Q,showFullExcerpt:Te,showSeoMeta:_e,onClick:e=>{lt("excerpt"),ot("excerpt")}})),x(2,t.ID),Y&&(0,a.createElement)(m.Z,{readMoreText:X,readMoreIcon:W,titleLabel:t.title,onClick:()=>{lt("read-more"),ot("read-more")}}),x(1,t.ID),pe&&"bottom"==he&&(0,a.createElement)(d.Z,{meta:o,post:t,metaSeparator:le,metaStyle:ee,metaMinText:Ie,metaAuthorPrefix:Ue,metaDateFormat:Me,authorLink:He,onClick:e=>{lt("meta"),ot("meta")}}),x(0,t.ID),(0,b.o6)()&&qe&&(0,a.createElement)(v.Z,{dcFields:$e,setAttributes:A,startOnboarding:tt})))))})))):(0,a.createElement)(I,{className:"ultp-backend-block-loading",label:Ve})}())))}},4047:(e,t,l)=>{"use strict";l.d(t,{FP:()=>y,PR:()=>m,ZP:()=>g});var o=l(7294),a=l(3049),i=l(8156),n=l(3448),r=l(2258),s=l(9735),p=l(2473),c=l(2637),u=l(3581),d=l(814);const{__}=wp.i18n,m=8;function g({store:e}){const{section:t}=e,{V4_1_0_CompCheck:{runComp:l}}=e.attributes;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid7487",store:e}),(0,o.createElement)(c.Sections,null,(0,o.createElement)(c.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.cA,{initialOpen:t.general,store:e,dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},include:[{position:0,data:{type:(0,s.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")}},{position:1,data:{type:"layout",block:"post-slider-2",key:"layout",exclude:["blockPubDate"],label:__("Slider Layout","ultimate-post"),options:[{img:"assets/img/layouts/slider2/layout1.png",label:__("Slide 1","ultimate-post"),value:"slide1"},{img:"assets/img/layouts/slider2/layout2.png",label:__("Slide 2","ultimate-post"),value:"slide2"},{img:"assets/img/layouts/slider2/layout3.png",label:__("Slide 3","ultimate-post"),value:"slide3"},{img:"assets/img/layouts/slider2/layout4.png",label:__("Slide 4","ultimate-post"),value:"slide4"},{img:"assets/img/layouts/slider2/layout5.png",label:__("Slide 5","ultimate-post"),value:"slide5"},{img:"assets/img/layouts/slider2/layout6.png",label:__("Slide 6","ultimate-post"),value:"slide6"},{img:"assets/img/layouts/slider2/layout7.png",label:__("Slide 7","ultimate-post"),value:"slide7"},{img:"assets/img/layouts/slider2/layout8.png",label:__("Slide 8","ultimate-post"),value:"slide8"}],variation:d.P}},{position:2,data:{type:"range",key:"slidesToShow",min:1,max:8,step:1,responsive:!0,label:__("Number of Slide","ultimate-post")}},{position:3,data:{type:"range",key:"height",label:__("Height","ultimate-post"),min:0,max:1e3,step:1,unit:!0,responsive:!0}},{position:4,data:{type:"range",key:"slidesCenterPadding",min:1,max:400,step:1,responsive:!0,label:__("Padding ( Center Mode )","ultimate-post")}},{position:5,data:{type:"range",key:"slidesTopPadding",min:0,max:150,step:1,label:__("Padding ( Top & Bottom )","ultimate-post")}},{position:6,data:{type:"range",key:"allItemScale",min:0,max:2.5,step:.01,responsive:!0,unit:!1,label:__("All Item Scale ( Center Mode )","ultimate-post")}},{position:7,data:{type:"range",key:"centerItemScale",min:0,max:2.5,step:.01,responsive:!0,unit:!1,label:__("Center Item Scale ( Center Mode )","ultimate-post")}},{position:8,data:{type:"range",key:"slideSpeed",min:0,max:1e4,step:100,label:__("Slide Speed","ultimate-post")}},{position:9,data:{type:"range",key:"sliderGap",min:-5,max:100,label:__("Slider Gap","ultimate-post")}},{position:10,data:{type:"toggle",key:"fade",label:__("Animation Fade","ultimate-post")}},{position:11,data:{type:"toggle",key:"autoPlay",label:__("Auto Play","ultimate-post")}},{position:12,data:{type:"toggle",key:"dots",label:__("Dots","ultimate-post")}},{position:13,data:{type:"toggle",key:"arrows",label:__("Arrows","ultimate-post")}},{position:14,data:{type:"toggle",key:"preLoader",label:__("Pre Loader","ultimate-post")}},{position:15,data:{type:"separator"}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}],exclude:["columns","columnGridGap"]}),(0,o.createElement)(a.VH,{store:e,depend:"titleShow",initialOpen:t.title,hrIdx:[4,9]}),(0,o.createElement)(a.Hn,{isTab:!0,store:e,initialOpen:t.image,include:[{position:3,data:{type:"range",key:"imgBgBlur",min:0,max:20,step:.5,responsive:!1,label:__("Background Blur","ultimate-post")}},{position:4,data:{type:"range",key:"imgBgbrightness",min:0,max:50,step:.5,responsive:!1,label:__("Background brightness","ultimate-post")}},{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}],exclude:["imageScale","imgMargin","imgSeparator","imgCropSmall","imgAnimation"],hrIdx:[{tab:"settings",hr:[1,9]}]}),(0,o.createElement)(a.Yk,{isTab:!0,store:e,depend:"metaShow",initialOpen:t.meta,exclude:["metaListSmall"],hrIdx:[{tab:"settings",hr:[4]},{tab:"style",hr:[7]}]}),(0,o.createElement)(a.Bq,{isTab:!0,initialOpen:t["taxonomy-/-category"],depend:"catShow",store:e,exclude:["catPosition"],hrIdx:[{tab:"style",hr:[8]}]}),(0,o.createElement)(a.oY,{isTab:!0,store:e,initialOpen:t["read-more"],depend:"readMore",hrIdx:[{tab:"style",hr:[3]}]}),(0,o.createElement)(a.X_,{depend:"excerptShow",initialOpen:t.excerpt,store:e,hrIdx:[3,6]}),(0,o.createElement)(a.tf,{depend:"arrows",store:e,initialOpen:t.arrow,include:[{position:5,data:{type:"separator",key:"separatorStyle",label:__("Arrow Position","ultimate-post")}},{position:6,data:{type:"toggle",key:"arrowSpaceBetween",label:__("Arrow Space Between","ultimate-post")}},{position:7,data:{type:"range",key:"arrowPosBetween",min:1,max:1500,step:1,responsive:!0,label:__("Arrow Position","ultimate-post")}},{position:8,data:{type:"tag",key:"arrowPos",label:"Arrow Possition",disabled:!0,options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")}]}},{position:9,data:{type:"range",key:"prevArrowPos",min:1,max:1500,step:1,responsive:!0,label:__("Previous Arrow Position","ultimate-post")}},{position:10,data:{type:"range",key:"nextArrowPos",min:1,max:1500,step:1,responsive:!0,label:__("Next Arrow Position","ultimate-post")}}]}),(0,o.createElement)(a.H_,{depend:"dots",store:e,initialOpen:t.dot}),(0,o.createElement)(a.O2,{store:e,exclude:["contentWrapInnerPadding"],include:[{position:0,data:{type:"tag",key:"contentVerticalPosition",label:"Vertical Position",disabled:!0,options:[{value:"topPosition",label:__("Top","ultimate-post")},{value:"middlePosition",label:__("Middle","ultimate-post")},{value:"bottomPosition",label:__("Bottom","ultimate-post")}]}},{position:1,data:{type:"tag",key:"contentHorizontalPosition",label:__("Horizontal Position","ultimate-post"),disabled:!0,options:[{value:"leftPosition",label:__("Left","ultimate-post")},{value:"centerPosition",label:__("Center","ultimate-post")},{value:"rightPosition",label:__("Right","ultimate-post")}]}},{position:4,data:{type:"range",key:"slideBgBlur",min:0,max:20,step:1,responsive:!1,label:__("Background Blur","ultimate-post")}},{position:7,data:{type:"dimension",key:"slideWrapMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0}}]}),!l&&(0,o.createElement)(i.Z,{open:t.heading},(0,o.createElement)(a.Wh,{isTab:!0,store:e,initialOpen:t.heading,depend:"headingShow"}))),(0,o.createElement)(c.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:e,include:[{position:2,data:{type:"color",key:"loadingColor",label:__("Loading Color","ultimate-post"),pro:!0}}]}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))),(0,a.dH)())}function y({selected:e,store:t}){const{V4_1_0_CompCheck:{runComp:l}}=t.attributes,{metaShow:i,titleShow:c,titlePosition:u,excerptShow:d,readMore:m,metaPosition:g,catShow:y}=t.attributes,b=[i&&"bottom"==g,m,d,c&&0==u,i&&"top"==g,c&&1==u,y];if((0,s.o6)()&&e.startsWith("dc_"))return(0,o.createElement)(p.Z,{store:t,selected:e,layoutContext:b});switch(e){case"heading":return l?null:(0,o.createElement)(r.Z,{text:"Heading"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Heading Settings","ultimate-post"),styleTitle:__("Heading Style","ultimate-post"),settingsKeys:a.cM,styleKeys:a.J5,oArgs:a.ii}));case"arrow":return(0,o.createElement)(r.Z,{text:"Arrow"},(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.fA)({include:a.I0,exclude:"__all",title:__("Arrow Dimension","ultimate-post")}),store:t,label:__("Arrow Dimension","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.YG,include:(0,a.fA)({title:__("Arrow Style","ultimate-post"),exclude:["separatorStyle",...a.I0],include:[{data:{type:"tag",key:"arrowPos",label:"Arrow Possition",disabled:!0,options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")}]}},{data:{type:"range",key:"prevArrowPos",min:1,max:1500,step:1,responsive:!0,label:__("Previous Arrow Position","ultimate-post")}},{data:{type:"range",key:"nextArrowPos",min:1,max:1500,step:1,responsive:!0,label:__("Next Arrow Position","ultimate-post")}}]}),store:t,label:__("Arrow Style","ultimate-post")}));case"dot":return(0,o.createElement)(r.Z,{text:"Dots"},(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.oc)({include:a.EG,exclude:"__all",title:__("Dots Dimension","ultimate-post")}),store:t,label:__("Dots Dimension","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.YG,include:(0,a.oc)({title:__("Dots Settings","ultimate-post"),exclude:["separatorStyle",...a.EG]}),store:t,label:__("Dots Settings","ultimate-post")}));case"title":return(0,o.createElement)(r.Z,{text:"Title"},(0,o.createElement)(a.sT,{store:t,attrKey:"titleTypo",label:__("Title Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.Wf)({include:["titleColor","titleHoverColor","titleBackground"],exclude:"__all",title:__("Title Color","ultimate-post")}),store:t,label:__("Title Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.Wf)({exclude:["titleBackground","titleTypo","titleColor","titleHoverColor"],title:__("Title Settings","ultimate-post")}),store:t,label:__("Title Settings","ultimate-post")}));case"excerpt":return(0,o.createElement)(r.Z,{text:"Excerpt"},(0,o.createElement)(a.sT,{store:t,attrKey:"excerptTypo",label:__("Excerpt Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.gA,include:(0,a.BO)({include:["excerptColor"],exclude:"__all",title:__("Excerpt Color","ultimate-post")}),store:t,label:__("Excerpt Color","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HU,include:(0,a.BO)({exclude:["excerptTypo","excerptColor"],title:__("Excerpt Settings","ultimate-post")}),store:t,label:__("Excerpt Settings","ultimate-post")}));case"meta":return(0,o.createElement)(r.Z,{text:"Meta"},(0,o.createElement)(a.sT,{store:t,attrKey:"metaTypo",label:__("Meta Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.cr)({include:["metaSpacing","metaMargin","metaPadding"],exclude:"__all",title:__("Meta Spacing","ultimate-post")}),store:t,label:__("Meta Spacing","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.Cz,include:(0,a.cr)({include:a._y,exclude:"__all",title:__("Meta Texts","ultimate-post")}),store:t,label:__("Meta Texts","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Meta Settings","ultimate-post"),styleTitle:__("Meta Style","ultimate-post"),settingsKeys:a.G7,styleKeys:a.hd,oArgs:a.jK,exSettings:["metaListSmall"],exStyle:["metaTypo","metaMargin","metaPadding","metaSpacing"]}));case"read-more":return(0,o.createElement)(r.Z,{text:"Read More"},(0,o.createElement)(a.sT,{store:t,attrKey:"readMoreTypo",label:__("Read More Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.NJ)({include:["readMoreSacing","readMorePadding"],exclude:"__all",title:__("Read More Spacing","ultimate-post")}),store:t,label:__("Read More Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Read More Settings","ultimate-post"),styleTitle:__("Read More Style","ultimate-post"),settingsKeys:a.qM,styleKeys:a.ad,oArgs:a.e5,exStyle:["readMoreTypo","readMoreSacing","readMorePadding"]}));case"cat":return(0,o.createElement)(r.Z,{text:"Taxonomy/Category"},(0,o.createElement)(a.sT,{store:t,attrKey:"catTypo",label:__("Category Typography","ultimate-post")}),(0,o.createElement)(n.Z,{buttonContent:a.HT,include:(0,a.v9)({include:["catSacing","catPadding"],exclude:"__all",title:__("Category Spacing","ultimate-post")}),store:t,label:__("Category Spacing","ultimate-post")}),(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Category Settings","ultimate-post"),styleTitle:__("Category Style","ultimate-post"),settingsKeys:a.eC,styleKeys:a.EK,oArgs:a.op,exSettings:["catPosition"],exStyle:["catTypo","catSacing","catPadding"]}));case"image":return(0,o.createElement)(r.Z,{text:"Image"},(0,o.createElement)(a.b0,{store:t,settingsTitle:__("Image Settings","ultimate-post"),styleTitle:__("Image Style","ultimate-post"),settingsKeys:a.pj,styleKeys:a.hH,oArgs:a.Po,exSettings:["imageScale","imgMargin","imgSeparator","imgCropSmall","imgAnimation"],exStyle:["imageScale","imgMargin","imgSeparator","imgCropSmall","imgAnimation"],incStyle:[{position:0,data:{type:"range",key:"imgBgBlur",min:0,max:20,step:.5,responsive:!1,label:__("Background Blur","ultimate-post")}},{position:1,data:{type:"range",key:"imgBgbrightness",min:0,max:50,step:.5,responsive:!1,label:__("Background brightness","ultimate-post")}}],incSettings:[{data:{type:"toggle",key:"fallbackEnable",label:__("Fallback Image Enable","ultimate-post")}},{data:{type:"media",key:"fallbackImg",label:__("Fallback Image","ultimate-post")}}]}));default:return null}}},2105:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(2165),a=l(3151),i=l(1579);const n={blockPubDate:{type:"string",default:"empty"},blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},slidesToShow:{type:"object",default:{lg:"1",sm:"1",xs:"1"},style:[{depends:[{key:"fade",condition:"!=",value:!0},{key:"layout",condition:"==",value:"slide2"}]},{depends:[{key:"layout",condition:"==",value:"slide3"}]}]},autoPlay:{type:"boolean",default:!0},height:{type:"object",default:{lg:"550",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-slider-wrap { height: {{height}}; }"}]},slidesCenterPadding:{type:"object",default:{lg:"160",sm:"100",xs:"50"},style:[{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"},{key:"layout",condition:"!=",value:"slide5"},{key:"layout",condition:"!=",value:"slide6"},{key:"layout",condition:"!=",value:"slide8"}]}]},slidesTopPadding:{type:"string",default:"0",style:[{depends:[{key:"layout",condition:"!=",value:"slide1"},{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"},{key:"layout",condition:"!=",value:"slide5"},{key:"layout",condition:"!=",value:"slide6"},{key:"layout",condition:"!=",value:"slide8"}],selector:"{{ULTP}} .ultp-block-items-wrap .slick-list { padding-top: {{slidesTopPadding}}px !important; padding-bottom: {{slidesTopPadding}}px !important; }"}]},allItemScale:{type:"object",default:{lg:".9"},style:[{depends:[{key:"layout",condition:"==",value:"slide4"}],selector:"{{ULTP}} .slick-slide { transition: .3s; transform: scale({{allItemScale}}) }"},{depends:[{key:"layout",condition:"==",value:"slide7"}],selector:"{{ULTP}} .slick-slide { transition: .3s; transform: scale({{allItemScale}}) }"}]},centerItemScale:{type:"object",default:{lg:"1.12"},style:[{depends:[{key:"layout",condition:"==",value:"slide4"}],selector:"{{ULTP}} .slick-center { transition: .3s; transform: scale({{centerItemScale}}) !important; }"},{depends:[{key:"layout",condition:"==",value:"slide7"}],selector:"{{ULTP}} .slick-center { transition: .3s; transform: scale({{centerItemScale}}) !important; }"}]},slideSpeed:{type:"string",default:"3000",style:[{depends:[{key:"autoPlay",condition:"==",value:!0}]}]},sliderGap:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"!=",value:"slide2"}],selector:"{{ULTP}} .ultp-block-items-wrap .slick-slide > div { padding: 0 {{sliderGap}}px; }\n          {{ULTP}} .ultp-block-items-wrap .slick-list{ margin: 0 -{{sliderGap}}px; }"}]},dots:{type:"boolean",default:!0},arrows:{type:"boolean",default:!0},preLoader:{type:"boolean",default:!1},fade:{type:"boolean",default:!1,style:[{depends:[{key:"layout",condition:"==",value:"slide2"}]},{depends:[{key:"layout",condition:"==",value:"slide5"}]},{depends:[{key:"layout",condition:"==",value:"slide6"}]},{depends:[{key:"layout",condition:"==",value:"slide8"}]}]},headingShow:{type:"boolean",default:!1},excerptShow:{type:"boolean",default:!1},contentTag:{type:"string",default:"div"},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Post Found"},layout:{type:"string",default:"slide1"},titleShow:{type:"boolean",default:!0},titleStyle:{type:"string",default:"none"},titleTag:{type:"string",default:"h3"},titlePosition:{type:"boolean",default:!0},titleColor:{type:"string",default:"#fff",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title a { color:{{titleColor}} !important; }"}]},titleHoverColor:{type:"string",default:"rgba(107,107,107,1)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-title a:hover { color:{{titleHoverColor}} !important; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"24",unit:"px"},height:{lg:"36",unit:"px"},decoration:"none",family:"",weight:"300",transform:"uppercase"},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-block-content .ultp-block-title, \n          {{ULTP}} .ultp-block-item .ultp-block-content .ultp-block-title a"}]},titlePadding:{type:"object",default:{lg:{top:0,bottom:0,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title { padding:{{titlePadding}}; }"}]},titleLength:{type:"string",default:0},titleBackground:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-title a { padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }"}]},titleAnimColor:{type:"string",default:"black",style:[{depends:[{key:"titleStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-title-style1 a {  cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-title-style2 a:hover {  border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-title-style3 a {  text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); }"},{depends:[{key:"titleStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a:hover { text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url(\"data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 10 18'%3E%3Cstyle type='text/css'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill='none' stroke='{{titleAnimColor}}' stroke-width='1' class='squiggle' d='M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5' /%3E%3C/svg%3E\"); } "},{depends:[{key:"titleStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }"},{depends:[{key:"titleStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-title-style6 a { background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }"},{depends:[{key:"titleStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% );  background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } "},{depends:[{key:"titleStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; }"}]},imageShow:{type:"boolean",default:!0},imgCrop:{type:"string",default:"full"},imgOverlay:{type:"boolean",default:!1},imgBgbrightness:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-image { filter: brightness({{imgBgbrightness}}); }"}]},imgBgBlur:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-image > a { filter: blur({{imgBgBlur}}px);}"}]},imgOverlayType:{type:"string",default:"default",style:[{depends:[{key:"imgOverlay",condition:"==",value:!0}]}]},overlayColor:{type:"object",default:{openColor:1,type:"color",color:"#0e1523"},style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before"}]},imgOpacity:{type:"string",default:.7,style:[{depends:[{key:"imgOverlayType",condition:"==",value:"custom"}],selector:"{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }"}]},imgHeight:{type:"object",default:{lg:""},style:[{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-block-slider-wrap > .ultp-block-image-inner { height:{{imgHeight}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide6"}],selector:"{{ULTP}} .ultp-block-slider-wrap > .ultp-block-image-inner { height:{{imgHeight}} !important; }"}]},imgWidth:{type:"object",default:{lg:"",unit:"%"},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-block-slider-wrap > .ultp-block-image-inner { width:{{imgWidth}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide7"}],selector:"{{ULTP}} .ultp-block-slider-wrap > .ultp-block-image-inner { width:{{imgWidth}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide6"}],selector:"{{ULTP}} .ultp-block-slider-wrap > .ultp-block-image-inner { width:{{imgWidth}} !important; }"}]},imgGrayScale:{type:"object",default:{lg:"0",ulg:"%",unit:"%"},style:[{selector:"{{ULTP}} .ultp-block-image img { filter: grayscale({{imgGrayScale}}); }"}]},imgHoverGrayScale:{type:"object",default:{lg:"0",unit:"%"},style:[{selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image img { filter: grayscale({{imgHoverGrayScale}}); }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }"}]},imgHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }"}]},imgShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-image"}]},imgHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-item:hover .ultp-block-image"}]},fallbackEnable:{type:"boolean",default:!0},fallbackImg:{type:"object",default:"",style:[{depends:[{key:"fallbackEnable",condition:"==",value:!0}]}]},imgSrcset:{type:"boolean",default:!1},imgLazy:{type:"boolean",default:!1},showSeoMeta:{type:"boolean",default:!1},showFullExcerpt:{type:"boolean",default:!1,style:[{depends:[{key:"showSeoMeta",condition:"==",value:!1}]}]},excerptLimit:{type:"string",default:40,style:[{depends:[{key:"showFullExcerpt",condition:"==",value:!1}]}]},excerptColor:{type:"string",default:"#fff8",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n        {{ULTP}} .ultp-block-excerpt p { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:26,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt, \n          {{ULTP}} .ultp-block-excerpt p"}]},excerptPadding:{type:"object",default:{lg:{top:10,bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-excerpt{ padding: {{excerptPadding}}; }"}]},arrowStyle:{type:"string",default:"leftAngle2#rightAngle2",style:[{depends:[{key:"arrows",condition:"==",value:!0}]}]},arrowSize:{type:"object",default:{lg:"80",unit:"px"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-next svg, \n          {{ULTP}} .slick-prev svg { width:{{arrowSize}}; }"}]},arrowWidth:{type:"object",default:{lg:"60",unit:"px"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow { width:{{arrowWidth}}; }"}]},arrowHeight:{type:"object",default:{lg:"60",unit:"px"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow { height:{{arrowHeight}}; } \n          {{ULTP}} .slick-arrow { line-height:{{arrowHeight}}; }"}]},arrowSpaceBetween:{type:"boolean",default:!1,style:[{depends:[{key:"layout",condition:"==",value:"slide6"}]},{depends:[{key:"layout",condition:"==",value:"slide5"}]},{depends:[{key:"layout",condition:"==",value:"slide8"}]}]},arrowPosBetween:{type:"object",default:{lg:"45",sm:"16",xs:"0",unit:"px"},style:[{depends:[{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"==",value:"slide6"},{key:"arrowSpaceBetween",condition:"==",value:!0}],selector:"{{ULTP}} .slick-next { right:{{arrowPosBetween}}; } \n          {{ULTP}} .slick-prev { left:{{arrowPosBetween}}; }"},{depends:[{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"==",value:"slide5"},{key:"arrowSpaceBetween",condition:"==",value:!0}],selector:"{{ULTP}} .slick-next { right:{{arrowPosBetween}}; } \n          {{ULTP}} .slick-prev { left:{{arrowPosBetween}}; }"},{depends:[{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"==",value:"slide8"},{key:"arrowSpaceBetween",condition:"==",value:!0}],selector:"{{ULTP}} .slick-next { right:{{arrowPosBetween}}; } \n          {{ULTP}} .slick-prev { left:{{arrowPosBetween}}; }"}]},arrowPos:{type:"string",default:"left",style:[{depends:[{key:"layout",condition:"==",value:"slide6"},{key:"arrows",condition:"==",value:!0},{key:"arrowSpaceBetween",condition:"==",value:!1}]},{depends:[{key:"layout",condition:"==",value:"slide5"},{key:"arrows",condition:"==",value:!0},{key:"arrowSpaceBetween",condition:"==",value:!1}]},{depends:[{key:"layout",condition:"==",value:"slide8"},{key:"arrows",condition:"==",value:!0},{key:"arrowSpaceBetween",condition:"==",value:!1}]}]},arrowVartical:{type:"object",default:{lg:"45",sm:"16",xs:"0",unit:"px"},style:[{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"!=",value:"slide5"},{key:"layout",condition:"!=",value:"slide8"},{key:"layout",condition:"!=",value:"slide6"}],selector:"{{ULTP}} .slick-next { right:{{arrowVartical}}; } \n          {{ULTP}} .slick-prev { left:{{arrowVartical}}; }"},{depends:[{key:"arrowSpaceBetween",condition:"==",value:!0},{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"!=",value:"slide5"},{key:"layout",condition:"!=",value:"slide8"},{key:"layout",condition:"!=",value:"slide6"}],selector:"{{ULTP}} .slick-next { right:{{arrowVartical}}; } \n          {{ULTP}} .slick-prev { left:{{arrowVartical}}; }"},{depends:[{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"==",value:"slide5"}],selector:"{{ULTP}} .slick-next { top:{{arrowVartical}}; } \n          {{ULTP}} .slick-prev { top:{{arrowVartical}}; }"},{depends:[{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"==",value:"slide6"}],selector:"{{ULTP}} .slick-next { top:{{arrowVartical}}; } \n          {{ULTP}} .slick-prev { top:{{arrowVartical}}; }"},{depends:[{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"==",value:"slide7"}],selector:"{{ULTP}} .slick-next { top:{{arrowVartical}}; } \n          {{ULTP}} .slick-prev { top:{{arrowVartical}}; }"},{depends:[{key:"arrows",condition:"==",value:!0},{key:"layout",condition:"==",value:"slide8"}],selector:"{{ULTP}} .slick-next { top:{{arrowVartical}}; } \n          {{ULTP}} .slick-prev { top:{{arrowVartical}}; }"}]},prevArrowPos:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide5"},{key:"arrowPos",condition:"==",value:"right"}],selector:"{{ULTP}} .slick-prev { left: unset !important; right: {{prevArrowPos}} !important; }"},{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide6"},{key:"arrowPos",condition:"==",value:"right"}],selector:"{{ULTP}} .slick-prev { left: unset !important; right: {{prevArrowPos}} !important; }"},{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide8"},{key:"arrowPos",condition:"==",value:"right"}],selector:"{{ULTP}} .slick-prev { left: unset !important; right: {{prevArrowPos}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide7"}],selector:"{{ULTP}} .slick-prev { right: unset !important; left: {{prevArrowPos}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide7"}],selector:"{{ULTP}} .slick-prev { right: unset !important; left: {{prevArrowPos}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide5"},{key:"arrowPos",condition:"==",value:"left"},{key:"arrowSpaceBetween",condition:"==",value:!1}],selector:"{{ULTP}} .slick-prev { right: unset !important; left: {{prevArrowPos}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide6"},{key:"arrowPos",condition:"==",value:"left"},{key:"arrowSpaceBetween",condition:"==",value:!1}],selector:"{{ULTP}} .slick-prev { right: unset !important; left: {{prevArrowPos}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide8"},{key:"arrowPos",condition:"==",value:"left"},{key:"arrowSpaceBetween",condition:"==",value:!1}],selector:"{{ULTP}} .slick-prev { right: unset !important; left: {{prevArrowPos}} !important; }"}]},nextArrowPos:{type:"object",default:{lg:"60",unit:"px"},style:[{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide5"},{key:"arrowPos",condition:"==",value:"right"}],selector:"{{ULTP}} .slick-next { left: unset !important; right: {{nextArrowPos}} !important; }"},{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide6"},{key:"arrowPos",condition:"==",value:"right"}],selector:"{{ULTP}} .slick-next { left: unset !important; right: {{nextArrowPos}} !important; }"},{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide8"},{key:"arrowPos",condition:"==",value:"right"}],selector:"{{ULTP}} .slick-next { left: unset !important; right: {{nextArrowPos}} !important; }"},{depends:[{key:"layout",condition:"==",value:"slide7"}],selector:"{{ULTP}} .slick-next { left: unset !important; right: {{nextArrowPos}} !important; }"},{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide5"},{key:"arrowPos",condition:"==",value:"left"}],selector:"{{ULTP}} .slick-next { right: unset !important; left: {{nextArrowPos}} !important; }"},{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide6"},{key:"arrowPos",condition:"==",value:"left"}],selector:"{{ULTP}} .slick-next { right: unset !important; left: {{nextArrowPos}} !important; }"},{depends:[{key:"arrowSpaceBetween",condition:"==",value:!1},{key:"layout",condition:"==",value:"slide8"},{key:"arrowPos",condition:"==",value:"left"}],selector:"{{ULTP}} .slick-next { right: unset !important; left: {{nextArrowPos}} !important; }"}]},arrowColor:{type:"string",default:"#000",style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:before { color:{{arrowColor}}; }\n          {{ULTP}} .slick-arrow svg { fill:{{arrowColor}}; }"}]},arrowHoverColor:{type:"string",default:"#000",style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover:before { color:{{arrowHoverColor}}; } \n          {{ULTP}} .slick-arrow:hover svg { fill:{{arrowHoverColor}}; }"}]},arrowBg:{type:"string",default:"",style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow { background:{{arrowBg}}; }"}]},arrowHoverBg:{type:"string",default:"",style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover { background:{{arrowHoverBg}}; }"}]},arrowBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow"}]},arrowHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover"}]},arrowRadius:{type:"object",default:{lg:{top:"0",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow { border-radius: {{arrowRadius}}; }"}]},arrowHoverRadius:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover{ border-radius: {{arrowHoverRadius}}; }"}]},arrowShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow"}]},arrowHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"arrows",condition:"==",value:!0}],selector:"{{ULTP}} .slick-arrow:hover"}]},dotWidth:{type:"object",default:{lg:"5",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button { width:{{dotWidth}}; }"}]},dotHeight:{type:"object",default:{lg:"5",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button { height:{{dotHeight}}; }"}]},dotHoverWidth:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li.slick-active button { width:{{dotHoverWidth}}; }"}]},dotHoverHeight:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li.slick-active button { height:{{dotHoverHeight}}; }"}]},dotSpace:{type:"object",default:{lg:"4",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots { padding: 0 {{dotSpace}}; } \n          {{ULTP}} .slick-dots li button { margin: 0 {{dotSpace}}; }"}]},dotVartical:{type:"object",default:{lg:"-20",unit:"px"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots { bottom:{{dotVartical}}; }"}]},dotHorizontal:{type:"object",default:{lg:""},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots { left:{{dotHorizontal}}; }"}]},dotBg:{type:"string",default:"#9b9b9b",style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button { background:{{dotBg}}; }"}]},dotHoverBg:{type:"string",default:"#9b9b9b",style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button:hover, \n          {{ULTP}} .slick-dots li.slick-active button { background:{{dotHoverBg}}; }"}]},dotBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button"}]},dotHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button:hover, \n          {{ULTP}} .slick-dots li.slick-active button"}]},dotRadius:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button { border-radius: {{dotRadius}}; }"}]},dotHoverRadius:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button:hover, \n          {{ULTP}} .slick-dots li.slick-active button { border-radius: {{dotHoverRadius}}; }"}]},dotShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button"}]},dotHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"dots",condition:"==",value:!0}],selector:"{{ULTP}} .slick-dots li button:hover, \n          {{ULTP}} .slick-dots li.slick-active button"}]},contentVerticalPosition:{type:"string",default:"bottomPosition",style:[{depends:[{key:"contentVerticalPosition",condition:"==",value:"topPosition"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-topPosition { align-items:flex-start; }"},{depends:[{key:"contentVerticalPosition",condition:"==",value:"middlePosition"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-middlePosition { align-items:center; }"},{depends:[{key:"contentVerticalPosition",condition:"==",value:"bottomPosition"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-bottomPosition { align-items:flex-end; }"}]},contentHorizontalPosition:{type:"string",default:"centerPosition",style:[{depends:[{key:"contentHorizontalPosition",condition:"==",value:"leftPosition"},{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-leftPosition { justify-content:flex-start; }"},{depends:[{key:"contentHorizontalPosition",condition:"==",value:"centerPosition"},{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-centerPosition { justify-content:center; }"},{depends:[{key:"contentHorizontalPosition",condition:"==",value:"rightPosition"},{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-rightPosition { justify-content:flex-end; }"}]},contentAlign:{type:"string",default:"center",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-content-inner { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-start;}"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-content-inner { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: center;}"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-content-inner { text-align:{{contentAlign}}; } \n          {{ULTP}} .ultp-block-meta {justify-content: flex-end;}"}]},contenWraptWidth:{type:"object",default:{lg:"100",unit:"%"},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-block-slider-wrap > .ultp-block-content { width:{{contenWraptWidth}}; }"},{depends:[{key:"layout",condition:"!=",value:"slide2"}],depends:[{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content .ultp-block-content-inner { width:{{contenWraptWidth}}; }"}]},contenWraptHeight:{type:"object",default:{lg:""},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-block-slider-wrap > .ultp-block-content { height:{{contenWraptHeight}}; }"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-block-slider-wrap > .ultp-block-content { height:{{contenWraptHeight}} !important; }"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner { height:{{contenWraptHeight}} !important; }"}]},slideBgBlur:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"},{key:"layout",condition:"!=",value:"slide6"}],selector:"{{ULTP}} .ultp-block-content-inner { backdrop-filter: blur({{slideBgBlur}}px); }"}]},contentWrapBg:{type:"string",default:"#00000069",style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content { background:{{contentWrapBg}}; }"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content { background:{{contentWrapBg}}; }"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",default:"#00000069",style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content:hover { background:{{contentWrapHoverBg}}; }"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content:hover { background:{{contentWrapHoverBg}}; }"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner:hover { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content:hover"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content:hover"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:"6",bottom:"6",left:"6",right:"6",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content { border-radius:{{contentWrapRadius}}; }"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content { border-radius:{{contentWrapRadius}}; }"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content:hover { border-radius: {{contentWrapHoverRadius}}; }"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content:hover { border-radius: {{contentWrapHoverRadius}}; }"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner:hover { border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:0,right:5,bottom:15,left:0},color:"rgba(0,0,0,0.15)"},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:0,right:10,bottom:25,left:0},color:"rgba(0,0,0,0.25)"},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner:hover"}]},contentWrapPadding:{type:"object",default:{lg:{top:"27",bottom:"27",left:"",right:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:"slide2"}],selector:"{{ULTP}} .ultp-slide-slide2 .ultp-block-content { padding: {{contentWrapPadding}}; }"},{depends:[{key:"layout",condition:"==",value:"slide3"}],selector:"{{ULTP}} .ultp-slide-slide3 .ultp-block-content { padding: {{contentWrapPadding}}; }"},{depends:[{key:"layout",condition:"!=",value:"slide2"},{key:"layout",condition:"!=",value:"slide3"}],selector:"{{ULTP}} .ultp-block-content-inner { padding: {{contentWrapPadding}}; }"}]},slideWrapMargin:{type:"object",default:{lg:{top:"50",bottom:"50",left:"50",right:"50",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:"slide6"}],selector:"{{ULTP}} .ultp-block-content { margin: {{slideWrapMargin}}; }"},{depends:[{key:"layout",condition:"==",value:"slide7"}],selector:"{{ULTP}} .ultp-block-content { margin: {{slideWrapMargin}}; }"},{depends:[{key:"layout",condition:"==",value:"slide8"}],selector:"{{ULTP}} .ultp-block-content { margin: {{slideWrapMargin}}; }"}]},headingText:{type:"string",default:"Post Slider #2"},...(0,o.t)(["advanceAttr","heading","meta","category","readMore","query"],[],[{key:"queryNumPosts",default:{lg:5}},{key:"queryNumber",default:5},{key:"loadingColor",style:[{selector:"{{ULTP}} .ultp-loading .ultp-loading-blocks div , \n          {{ULTP}} .ultp-loading .ultp-loading-spinner div { --loading-block-color: {{loadingColor}}; }"}]},{key:"metaStyle",default:"noIcon"},{key:"metaList",default:'["metaAuthor","metaDate"]'},{key:"metaColor",default:"#F3F3F3"},{key:"metaSeparatorColor",default:"#b3b3b3"},{key:"metaSpacing",default:{lg:"10",unit:"px"}},{key:"catTypo",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:18,unit:"px"},spacing:{lg:7.32002,unit:"px"},transform:"uppercase",weight:"300",decoration:"none",family:""}},{key:"catSacing",default:{lg:{top:0,bottom:0,unit:"px"}}},{key:"readMoreColor",default:"var(--postx_preset_Primary_color)"},{key:"catBgHoverColor",default:{openColor:0,type:"color",color:"#b3b3b3"}},{key:"readMoreBgColor",default:{openColor:0,type:"color",color:"#037fff"}},{key:"readMoreHoverColor",default:"var(--postx_preset_Secondary_color)"},{key:"readMoreBgHoverColor",default:{openColor:0,type:"color",color:"#0c32d8"}},{key:"readMoreSacing",default:{lg:{top:30,bottom:"",left:"",right:"",unit:"px"}}},{key:"readMorePadding",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}}}]),V4_1_0_CompCheck:a.O,...(0,i.b)()}},2633:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(3504),n=l(2105);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/post-slider-2/","block_docs"),r("ultimate-post/post-slider-2",{title:__("Post Slider #2","ultimate-post"),icon:(0,o.createElement)("div",{className:"ultp-block-inserter-icon-section"},(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/post-slider-2.svg"}),!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-pro-block"},"Pro")),category:"ultimate-post",keywords:[__("Post Slider","ultimate-post"),__("Post Carousel","ultimate-post"),__("Slide","ultimate-post"),__("Slider","ultimate-post"),__("Feature","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/post-slider2.svg"}},usesContext:["post-grid-parent/postBlockClientId"],edit:i.Z,save:()=>null})},814:(e,t,l)=>{"use strict";l.d(t,{P:()=>o});const o={slide1:{autoPlay:!0,excerptShow:!1,readMore:!1,imgOverlay:!1,sliderGap:0,height:{lg:550,unit:"px"},slidesCenterPadding:{lg:"160",sm:"100",xs:"50"},imgBgBlur:"0",contentWrapBg:"#00000069",contentWrapHoverBg:"#00000069",slideBgBlur:"",contentAlign:"center",contentVerticalPosition:"bottomPosition",contenWraptHeight:{lg:"",ulg:""},contentWrapRadius:{lg:"10"},contentWrapHoverRadius:{lg:"10"},contentWrapPadding:{lg:{top:"27",bottom:"27",left:"24",right:"24",unit:"px"},sm:{top:"27",bottom:"27",left:"16",right:"16",unit:"px"}},titleColor:"#fff",titleHoverColor:"rgba(107,107,107,1)",titleTypo:{decoration:"none",family:"",height:{lg:"36",unit:"px"},openTypography:1,size:{lg:"24",unit:"px"},weight:"300",transform:"uppercase"},metaColor:"#FFFFFFA8",metaHoverColor:"#a5a5a5",metaTypo:{decoration:"none",family:"",height:{lg:"20",unit:"px"},openTypography:1,size:{lg:"12",unit:"px"},weight:"300"},metaStyle:"noIcon",metaList:'["metaAuthor","metaDate"]',metaSpacing:{lg:6,unit:"px",ulg:"px"},metaSeparator:"emptyspace",metaDateFormat:"j M Y",metaAuthorPrefix:"",contenWraptWidth:{lg:"100",unit:"%",ulg:"%"},metaColor:"#FFFFFFA8",metaSeparator:"dot",metaSpacing:{lg:"13",unit:"px",ulg:"px"},catRadius:{lg:"0",unit:"px"},catBgColor:{color:"",openColor:1,type:"color"},catBgHoverColor:{color:"",openColor:1,type:"color"},catTypo:{decoration:"none",family:"",height:{lg:"15",unit:"px"},openTypography:1,size:{lg:"12",unit:"px"},weight:"300",transform:"uppercase",spacing:{lg:"7.32",unit:"px"}},dotWidth:{lg:"5",unit:"px"},dotHeight:{lg:"5",unit:"px"},dotHoverWidth:{lg:"8",unit:"px"},dotHoverHeight:{lg:"8",unit:"px"},dotVartical:{lg:"-20",unit:"px"},dotBg:"#9b9b9b",dotHoverBg:"#9b9b9b",dotRadius:{lg:{top:"30",bottom:"30",left:"30",right:"30",unit:"px"}},dotHoverRadius:{lg:{top:"30",bottom:"30",left:"30",right:"30",unit:"px"}},arrowBg:"",arrowHoverBg:"",arrowColor:"#000",arrowHoverColor:"#000",arrowSize:{lg:"80",unit:"px"},arrowVartical:{lg:"45",sm:"16",xs:"0",unit:"px"},arrowStyle:"leftAngle2#rightAngle2",arrowBorder:{width:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"},type:"solid",color:"rgba(255,255,255,1)",openBorder:1},arrowHoverBorder:{width:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"},type:"solid",color:"rgba(67,67,67,1)",openBorder:1},wrapMargin:{lg:{top:"",bottom:"50",unit:"px",left:"",right:""}}},slide2:{autoPlay:!0,fade:!0,slidesToShow:{lg:"1",sm:"1",xs:"1"},excerptShow:!0,readMore:!0,imgOverlay:!1,sliderGap:0,height:{lg:550,unit:"px"},imgWidth:{xs:"20",ulg:"%",unit:"%"},contenWraptWidth:{lg:71,unit:"%",ulg:"%",usm:"%",sm:100,xs:100},contentWrapBg:"#644737",contentWrapHoverBg:"#644737",contentAlign:"left",contenWraptHeight:{lg:"100",ulg:"%"},contentWrapRadius:{lg:"0"},contentWrapHoverRadius:{lg:"0"},contentVerticalPosition:"middlePosition",contentWrapPadding:{lg:{top:"0",bottom:"0",left:"60",right:"30",unit:"px"},xs:{top:"24",bottom:"24",left:"24",right:"24",unit:"px"}},titleLength:"12",titleColor:"#fff",titleHoverColor:"#fff6",titleTypo:{decoration:"none",height:{lg:"",unit:"px"},openTypography:1,size:{lg:"28",xs:"22",unit:"px"},weight:"400"},titlePadding:{lg:{top:"15",bottom:"5",unit:"px"}},metaColor:"#FFFFFFA8",metaHoverColor:"#a5a5a5",metaTypo:{decoration:"none",height:{lg:"",unit:"px"},openTypography:1,size:{lg:"16",unit:"px"},weight:"300"},catTypo:{decoration:"none",height:{lg:"12",unit:"px"},openTypography:1,size:{lg:"12",unit:"px"},spacing:{lg:"",unit:"px"},weight:"300",transform:""},excerptColor:"#d7d7d8d8",excerptTypo:{decoration:"none",height:{lg:"",unit:"px"},openTypography:1,size:{lg:"16",unit:"px"},weight:"300",transform:""},catRadius:{lg:"0",unit:"px"},catBgColor:{color:"#ffffff21",openColor:1,type:"color"},catBgHoverColor:{color:"#ffffff21",openColor:1,type:"color"},readMoreColor:"#fff",readMoreHoverColor:"#fff7",readMoreTypo:{decoration:"none",family:"",height:{lg:"12",unit:"px"},openTypography:1,size:{lg:"12",unit:"px"},weight:"300",transform:"uppercase"},dotBg:"#644737",dotHoverBg:"#644737",dotWidth:{lg:"6",unit:"px"},dotHeight:{lg:"6",unit:"px"},dotHoverWidth:{lg:"10",unit:"px"},dotHoverHeight:{lg:"10",unit:"px"},dotVartical:{lg:"-27",unit:"px"},dotRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},dotHoverRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},metaSeparator:"dot",metaSpacing:{lg:"13",unit:"px",ulg:"px"},arrowBg:"#503a2d",arrowHoverBg:"#614F44",arrowColor:"#fff",arrowHoverColor:"#fff",arrowWidth:{lg:"40",unit:"px"},arrowHeight:{lg:"40",unit:"px"},arrowSize:{lg:"20",unit:"px"},arrowVartical:{lg:"0",ulg:"px"},arrowRadius:{lg:"0",ulg:"px"},arrowHoverRadius:{lg:"0",ulg:"px"},arrowStyle:"leftAngle2#rightAngle2",arrowBorder:{width:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"},type:"solid",color:"rgba(255,255,255,1)",openBorder:1},arrowHoverBorder:{width:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"},type:"solid",color:"rgba(67,67,67,1)",openBorder:1},wrapMargin:{lg:{top:"",bottom:"50",unit:"px",left:"",right:""}}},slide3:{autoPlay:!0,excerptShow:!1,readMore:!1,height:{lg:550,unit:"px"},contentAlign:"center",imgHeight:{lg:50,unit:"%"},slidesToShow:{lg:"3",sm:"2",xs:"1"},fade:!1,sliderGap:"10",dots:!1,layout:"slide3",imgRadius:{lg:{top:"10",right:"10",bottom:"",left:"",unit:"px"},unit:"px"},imgOverlay:!1,contentWrapBg:"rgba(241,241,241,1)",contentWrapHoverBg:"",contenWraptHeight:{lg:45,unit:"%"},contentWrapHoverRadius:{lg:{top:"",bottom:"10",left:"10",right:"",unit:"px"}},contentWrapRadius:{lg:{top:"",bottom:"10",left:"10",right:"",unit:"px"}},contentWrapHoverRadius:{lg:{top:"",bottom:"10",left:"10",right:"",unit:"px"}},contentWrapPadding:{lg:{top:"16",bottom:"32",left:"16",right:"16",unit:"px"}},titleLength:"8",titleColor:"rgba(22,22,22,1)",titleHoverColor:"rgba(22,22,22, .4)",titleTypo:{openTypography:1,size:{lg:"22",unit:"px"},height:{lg:"32",unit:"px"},decoration:"none",family:"",weight:"700",transform:"capitalize"},arrowStyle:"leftArrowLg#rightArrowLg",arrowWidth:{lg:"56",unit:"px"},arrowHeight:{lg:"56",unit:"px"},arrowSize:{lg:"27",nit:"px",ulg:"px"},arrowVartical:{lg:"-32",unit:"px",ulg:"px"},arrowColor:"rgba(255,255,255,1)",arrowHoverColor:"rgba(67,67,67,1)",arrowBg:"rgba(67,67,67,1)",arrowHoverBg:"rgba(255,255,255,1)",arrowBorder:{width:{top:"2",right:"2",bottom:"2",left:"2",unit:"px"},type:"solid",color:"rgba(255,255,255,1)",openBorder:1},arrowHoverBorder:{width:{top:"2",right:"2",bottom:"2",left:"2",unit:"px"},type:"solid",color:"rgba(67,67,67,1)",openBorder:1},arrowRadius:{lg:{top:"51",bottom:"51",left:"51",right:"51",unit:"px"}},arrowHoverRadius:{lg:{top:"51",bottom:"51",left:"51",right:"51",unit:"px"}},catSacing:{lg:{top:"5",bottom:"10",left:"",right:"",unit:"px"}},catPadding:{lg:{top:"4",bottom:"4",left:"9",right:"9",unit:"px"}},catTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:"",unit:"px"},transform:"uppercase",weight:"400",decoration:"none",family:""},catBgColor:{openColor:1,type:"color",color:"rgba(97,59,255,1)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catBgHoverColor:{openColor:1,type:"color",color:"rgba(97,59,255,1)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},metaSeparator:"verticalbar",metaColor:"rgba(118,118,118,1)",metaHoverColor:"rgba(97,59,255,1)",metaSpacing:{lg:"10",unit:"px",ulg:"px"},metaTypo:{openTypography:1,size:{lg:"11",unit:"px"},height:{lg:"",unit:"px"},weight:"400",decoration:"none",family:"",transform:"uppercase"},wrapMargin:{lg:{top:"",bottom:"0",unit:"px",left:"30",right:"30"}}},slide4:{autoPlay:!0,sliderGap:0,excerptShow:!0,readMore:!1,layout:"slide4",contentAlign:"left",centerItemScale:{lg:"1.08"},slidesToShow:{lg:"1",sm:"1",xs:"1"},height:{lg:500,unit:"px",ulg:"px"},slidesCenterPadding:{lg:"180",xs:"30"},slidesTopPadding:"20",slideBgBlur:"",contentWrapBg:"",contentWrapHoverBg:"",contentWrapRadius:{lg:"0"},contentWrapHoverRadius:{lg:"0"},contenWraptHeight:{lg:"",ulg:"%"},contenWraptWidth:{lg:"100",unit:"%",ulg:"%"},contentWrapPadding:{lg:{top:"",bottom:"50",left:"35",right:"35",unit:"px"}},titleLength:"9",titleColor:"#fff",titleHoverColor:"#a5a5a5",titlePadding:{lg:{top:"15",bottom:"5",unit:"px"}},titleTypo:{decoration:"none",height:{lg:"",unit:"px"},openTypography:1,size:{lg:"32",xs:"22",unit:"px"},weight:"700",style:"italic"},arrowSize:{lg:"31",unit:"px",ulg:"px"},arrowWidth:{lg:"40",unit:"px"},arrowHeight:{lg:"80",unit:"px",ulg:"px"},arrowVartical:{lg:"100",sm:"24",xs:"16",ulg:"px",usm:"px",uxs:"px"},arrowColor:"#fff",arrowHoverColor:"#fff",arrowBg:"rgba(44,44,44,0.7)",arrowHoverBg:"#503a2d",arrowBorder:{width:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"},type:"solid",color:"rgba(255,255,255,1)",openBorder:1},arrowHoverBorder:{width:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"},type:"solid",color:"rgba(67,67,67,1)",openBorder:1},arrowRadius:{lg:"0",ulg:"px"},arrowHoverRadius:{lg:"0",ulg:"px"},dotWidth:{lg:"15",unit:"px"},dotHeight:{lg:"2",unit:"px",ulg:"px"},dotHoverWidth:{lg:"22",unit:"px"},dotHoverHeight:{lg:"3",unit:"px",ulg:"px"},dotVartical:{lg:"15",unit:"px",ulg:"px"},dotBg:"rgba(255,255,255,1)",dotHoverBg:"rgba(255,255,255,1)",dotRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},dotHoverRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},catTypo:{decoration:"none",height:{lg:"",unit:"px"},spacing:{lg:"",unit:"px"},openTypography:1,size:{lg:"12",unit:"px"},weight:"400",transform:"uppercase"},catColor:"rgba(96,96,96,1)",catHoverColor:"#a5a5a5",catBgColor:{openColor:1,type:"color",color:"rgba(255,255,255,1)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catBgHoverColor:{openColor:1,type:"color",color:"rgba(255,255,255,1)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catRadius:{lg:"0",unit:"px"},catSacing:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},catPadding:{lg:{top:"5",bottom:"5",left:"8",right:"8",unit:"px"}},imgOverlay:!0,imgOverlayType:"custom",overlayColor:{openColor:1,type:"gradient",color:"#0e1523",gradient:"linear-gradient(0deg,rgb(0,0,0) 0%,rgba(7,7,7,0) 100%)",clip:!1},imgOpacity:"0.61",imgHeight:{lg:"255",ulg:"px"},imgRadius:{lg:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"},unit:"px"},readMoreTypo:{decoration:"none",family:"",height:{lg:"12",unit:"px"},openTypography:1,size:{lg:"12",unit:"px"},weight:"300",transform:"uppercase"},readMoreColor:"#fff",readMoreHoverColor:"#a5a5a5",metaSeparator:"slash",metaAuthorPrefix:"By",metaTypo:{decoration:"none",height:{lg:"",unit:"px"},openTypography:1,size:{lg:"12",unit:"px"},weight:"400"},metaColor:"rgba(255,255,255,1)",metaHoverColor:"#a5a5a5",metaSpacing:{lg:"6",unit:"px",ulg:"px"},excerptLimit:"23",excerptColor:"rgba(255,255,255,0.61)",excerptTypo:{decoration:"none",height:{lg:"28",xs:"16",unit:"px"},openTypography:1,size:{lg:"16",unit:"px"},weight:"400",transform:""},excerptPadding:{lg:{top:"10",bottom:"10",unit:"px"}},wrapRadius:{lg:{top:"23",right:"23",bottom:"23",left:"23",unit:"px"},unit:"px"},wrapMargin:{lg:{top:"",bottom:"",unit:"px",left:"",right:""}}},slide5:{fade:!0,autoPlay:!0,readMore:!1,excerptShow:!1,imgOverlay:!1,slideBgBlur:"6",contentAlign:"left",slidesToShow:{lg:"1",sm:"1",xs:"1"},layout:"slide5",imgWidth:{lg:"75",ulg:"%"},contentHorizontalPosition:"leftPosition",contentVerticalPosition:"bottomPosition",contenWraptWidth:{lg:"57",xs:"100",unit:"%",ulg:"%",uxs:"%"},contentWrapBg:"rgba(255,255,255,0.75)",contentWrapHoverBg:"rgba(255,255,255,0.75)",contentWrapRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},contentWrapHoverRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},contentWrapPadding:{lg:{top:"20",bottom:"20",left:"24",right:"24",unit:"px"}},slideWrapMargin:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},titleColor:"rgba(40,74,0,1)",titleHoverColor:"rgba(40,74,0, .6)",titleTypo:{openTypography:1,size:{lg:"28",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",family:"",weight:"700",transform:"capitalize"},titlePadding:{lg:{top:"10",bottom:"0",unit:"px"}},titleLength:"5",arrowPos:"right",arrowSize:{lg:"20",unit:"px",ulg:"px"},arrowWidth:{lg:"38",unit:"px",ulg:"px"},arrowHeight:{lg:"38",unit:"px",ulg:"px"},arrowVartical:{lg:"278",unit:"px",ulg:"px"},prevArrowPos:{lg:"62",unit:"px"},nextArrowPos:{lg:"21",unit:"px"},arrowColor:"#284a00",arrowHoverColor:"#284a00",arrowBg:"rgba(255,255,255,1)",arrowHoverBg:"#e2e2e2",arrowRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},arrowHoverRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},dotWidth:{lg:"6",unit:"px"},dotHeight:{lg:"6",unit:"px",ulg:"px"},dotHoverWidth:{lg:"10",unit:"px"},dotHoverHeight:{lg:"10",unit:"px",ulg:"px"},dotSpace:{lg:"4",unit:"px",ulg:"px"},dotVartical:{lg:"109",xs:"200",unit:"px",ulg:"px",uxs:"px"},dotHorizontal:{lg:"0",ulg:"px"},dotBg:"rgba(255,255,255,1)",dotHoverBg:"rgba(117,137,78,1)",catTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:"",unit:"px"},transform:"uppercase",weight:"500",decoration:"none",family:""},catColor:"rgba(40,74,0,1)",catHoverColor:"rgba(40,74,0,.5)",catBgColor:{openColor:1,type:"color",color:"rgba(222,197,93,1)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catBgHoverColor:{openColor:1,type:"color",color:"rgba(222,197,93,1)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catSacing:{lg:{top:0,bottom:"5",left:0,right:0,unit:"px"}},catPadding:{lg:{top:"4",bottom:"4",left:"8",right:"8",unit:"px"}},metaList:'["metaDate"]',metaTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},weight:"400",decoration:"none",family:""},metaColor:"rgba(40,74,0,1)",metaHoverColor:"rgba(40,74,0,.5)",metaMargin:{lg:{top:"15",bottom:"",left:"",right:"",unit:"px"}},metaPadding:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}}},slide6:{autoPlay:!0,dots:!1,fade:!1,imgOverlay:!1,excerptShow:!1,readMore:!1,layout:"slide6",height:{lg:480,unit:"px",ulg:"px"},contentVerticalPosition:"middlePosition",contentHorizontalPosition:"rightPosition",contentAlign:"left",contenWraptWidth:{lg:"482",sm:"70",unit:"%",ulg:"px",uxs:"%",xs:"90",usm:"%"},contenWraptHeight:{lg:"288",ulg:"px",uxs:"px",xs:"250",usm:"%",sm:""},contentWrapBg:"rgba(255,255,255,1)",contentWrapHoverBg:"rgba(255,255,255,1)",contentWrapBorder:{width:{top:1,right:1,bottom:1,left:1},type:"solid",color:"rgba(112,112,112,1)",openBorder:0},contentWrapRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},contentWrapHoverRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},contentWrapPadding:{lg:{top:"35",bottom:"0",left:"35",right:"35",unit:"px"},xs:{top:"16",right:"16",bottom:"16",left:"16",unit:"px"}},contentWrapBorder:{width:{top:"1",right:"1",bottom:"1",left:"1",unit:"px"},type:"solid",color:"#707070",openBorder:1},slideWrapMargin:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},titleColor:"rgba(60,60,60,1)",titleHoverColor:"rgba(151,148,148,1)",titleTypo:{openTypography:1,size:{lg:"26",xs:"20",unit:"px"},height:{lg:"36",unit:"px"},decoration:"none",family:"",weight:"500",transform:""},titlePadding:{lg:{top:"20",bottom:"12",unit:"px",right:"0",left:"0"}},titleLength:"10",arrowSize:{lg:"25",unit:"px",ulg:"px"},arrowWidth:{lg:"52",unit:"px",ulg:"px"},arrowHeight:{lg:"52",unit:"px",ulg:"px"},arrowPos:"right",arrowVartical:{lg:"358",unit:"px",ulg:"px",uxs:"px",xs:"55"},prevArrowPos:{lg:"429",unit:"px",xs:"53",xs:""},nextArrowPos:{lg:"377",unit:"px",xs:"0",xs:""},arrowColor:"rgba(255,255,255,1)",arrowHoverColor:"",arrowBg:"#9f9f9f",arrowHoverBg:"#848484",arrowRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},arrowHoverRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},catColor:"rgba(121,175,167,1)",catHoverColor:"rgba(121,176,168,0.5)",catTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:"",unit:"px"},transform:"capitalize",weight:"300",decoration:"none",family:""},catBgColor:{openColor:0,type:"openColor",color:"",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catBgHoverColor:{openColor:0,type:"openColor",color:"#037fff",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catPadding:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},imgHeight:{lg:"100",ulg:"%",xs:"200",ulg:"%",uxs:"px"},imgWidth:{lg:"70",ulg:"%",uxs:"%",xs:"100"},metaStyle:"style3",metaSeparator:"dot",metaColor:"rgba(112,112,112,1)",metaHoverColor:"rgba(1,1,1,1)",metaSpacing:{lg:"12",unit:"px",ulg:"px"},metaTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},weight:"400",decoration:"none",family:""},wrapBg:{openColor:0,type:"color",color:"rgba(237,237,237,1)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},wrapOuterPadding:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}}},slide7:{autoPlay:!0,fade:!1,dots:!1,excerptShow:!1,sliderGap:"0",layout:"slide7",slideBgBlur:0,llItemScale:{lg:"0.93"},centerItemScale:{lg:"0.99"},height:{lg:"439",unit:"px"},slidesCenterPadding:{lg:"213",sm:"100",xs:"0",unit:"px"},contentWrapBg:"",contentWrapHoverBg:"",contentVerticalPosition:"middlePosition",contenWraptWidth:{lg:"",unit:"%",ulg:"%"},contentWrapPadding:{lg:{top:"",bottom:"",left:"24",right:"24",unit:"px"}},contentWrapRadius:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},contentWrapHoverRadius:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},slideWrapMargin:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},titleColor:"rgba(255,255,255,1)",titleHoverColor:"rgba(202,202,202,1)",titleTypo:{openTypography:1,size:{lg:"24",unit:"px"},height:{lg:"36",unit:"px"},decoration:"none",family:"",weight:"700",transform:"capitalize"},titlePadding:{lg:{top:"10",bottom:"10",unit:"px",right:"20",left:"20"}},arrowSize:{lg:"22",unit:"px",ulg:"px"},arrowWidth:{lg:"49",unit:"px",ulg:"px"},arrowHeight:{lg:"49",unit:"px",ulg:"px"},arrowVartical:{lg:"229",unit:"px"},arrowBg:"rgba(255,255,255,1)",arrowHoverBg:"rgba(255,255,255,1)",arrowRadius:{lg:{top:"5",bottom:"5",left:"5",right:"5",unit:"px"}},arrowHoverRadius:{lg:{top:"5",bottom:"5",left:"5",right:"5",unit:"px"}},arrowShadow:{inset:"",width:{top:"5",right:"6",bottom:"31",left:"0",unit:"px"},color:"rgba(0,0,0,0.32)",openShadow:1},catTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:"3.6",unit:"px"},transform:"uppercase",weight:"500",decoration:"none",family:""},prevArrowPos:{lg:"200",sm:"80",xs:"0",unit:"px"},nextArrowPos:{lg:"200",sm:"80",xs:"0",unit:"px"},catColor:"rgba(255,255,255,1)",catHoverColor:"rgba(255,255,255, .5)",catHoverColor:"rgba(207,207,207,1)",catBgColor:{openColor:0,type:"openColor",color:"#000",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catBgHoverColor:{openColor:0,type:"openColor",color:"#037fff",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},imgOverlay:!0,imgOverlayType:"custom",overlayColor:{openColor:1,type:"gradient",color:"#0e1523",gradient:"linear-gradient(359deg,rgb(0,0,0) 34%,rgba(30,30,30,0.64) 99%)",clip:!1},imgOpacity:"0.55",imgGrayScale:{lg:"0",unit:"%",ulg:"%"},imgRadius:{lg:{top:"24",right:"24",bottom:"24",left:"24",unit:"px"},unit:"px"},metaList:'["metaAuthor","metaView"]',metaStyle:"icon",metaSeparator:"dash",metaTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"20",unit:"px"},weight:"400",decoration:"none",family:""},metaColor:"rgba(255,255,255,1)",metaSpacing:{lg:"15",unit:"px",ulg:"px"},metaMargin:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}}},slide8:{autoPlay:!0,slideBgBlur:4,layout:"slide8",excerptShow:!1,readMore:!1,imgOverlay:!1,contentWrapBg:"#00000059",contentWrapHoverBg:"#00000059",contentAlign:"left",contentWrapRadius:{lg:"0"},contentWrapHoverRadius:{lg:"0"},contentHorizontalPosition:"leftPosition",contenWraptHeight:{lg:335,ulg:"px",usm:"%"},contenWraptWidth:{lg:742,unit:"%",ulg:"px",usm:"%",sm:100},contentWrapRadiu:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},contentWrapHoverRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},contentWrapPadding:{lg:{top:"67",bottom:"21",left:"67",right:"67",unit:"px"},xs:{top:"30",right:"16",bottom:"16",left:"16",unit:"px"}},slideWrapMargin:{lg:{top:"",bottom:"",left:"165",right:"",unit:"px"},sm:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"}},titleHoverColor:"rgba(141,141,141,1)",titleTypo:{openTypography:1,size:{lg:"38",xs:"25",unit:"px"},height:{lg:"1.3",xs:"34",ulg:"rem",uxs:"px"},decoration:"none",family:"",weight:"600",transform:"capitalize"},titlePadding:{lg:{top:"10",bottom:"10",unit:"px"}},titleLength:"9",arrowSize:{lg:"21",unit:"px",ulg:"px"},arrowWidth:{lg:"50",unit:"px",ulg:"px"},arrowHeight:{lg:"50",unit:"px",ulg:"px"},arrowVartical:{lg:"190",xs:"190",unit:"px"},prevArrowPos:{lg:"165",unit:"px",sm:"0"},nextArrowPos:{lg:"218",unit:"px",sm:"55"},arrowColor:"rgba(255,255,255,1)",arrowHoverColor:"rgba(255,255,255,1)",arrowBg:"rgba(56,56,56,1)",arrowHoverBg:"rgba(0,0,0,1)",arrowRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},arrowHoverRadius:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},dotWidth:{lg:"4",unit:"px"},dotHeight:{lg:"4",unit:"px",ulg:"px"},dotHoverWidth:{lg:"8",unit:"px"},dotHoverHeight:{lg:"8",unit:"px",ulg:"px"},dotVartical:{lg:"21",unit:"px",ulg:"px"},dotBg:"rgba(255,255,255,1)",dotHoverBg:"rgba(255,255,255,1)",catTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:"7.8",unit:"px"},transform:"uppercase",weight:"400",decoration:"none",family:""},catBgColor:{openColor:1,type:"color",color:"rgba(255,255,255,0.29)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catBgHoverColor:{openColor:1,type:"color",color:"rgba(255,255,255,0.29)",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},catRadius:{lg:{0:"2",top:"0",right:"0",bottom:"0",left:"0",unit:"px"},unit:"px"},catSacing:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},catPadding:{lg:{top:"8",bottom:"8",left:"10",right:"10",unit:"px"}},metaSeparator:"dash",metaTypo:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:20,unit:"px"},weight:"300",decoration:"none",family:""},metaColor:"rgba(255,255,255,1)",metaSpacing:{lg:"14",unit:"px",ulg:"px"}}}},6187:(e,t,l)=>{"use strict";l.d(t,{Z:()=>E});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(9902),s=l(2637),p=l(5040),c=l(4661),u=l(498);const{__}=wp.i18n,{InspectorControls:d,InnerBlocks:m}=wp.blockEditor,{Fragment:g,useEffect:y}=wp.element,{Tooltip:b}=wp.components,{serialize:v,parse:h}=wp.blocks,{getBlocksByClientId:f}=wp.data.select("core/block-editor"),{removeBlocks:k,updateBlockAttributes:w,insertBlocks:x}=wp.data.dispatch("core/block-editor"),{getBlockAttributes:T,getBlockRootClientId:S}=wp.data.select("core/block-editor"),P=[{lg:[100],sm:[100],xs:[100]},{lg:[50,50],sm:[50,50],xs:[100,100]},{lg:[70,30],sm:[50,50],xs:[100,100]},{lg:[30,70],sm:[50,50],xs:[100,100]},{lg:[33.33,33.33,33.34],sm:[33.33,33.33,33.34],xs:[100,100,100]},{lg:[25,25,50],sm:[25,25,50],xs:[100,100,100]},{lg:[50,25,25],sm:[50,25,25],xs:[100,100,100]},{lg:[25,25,25,25],sm:[50,50,50,50],xs:[100,100,100,100]},{lg:[20,20,20,20,20],sm:[20,20,20,20,20],xs:[100,100,100,100,100]},{lg:[16.66,16.66,16.66,16.66,16.66,16.7],sm:[16.66,16.66,16.66,16.66,16.66,16.7],xs:[100,100,100,100,100,100]}],C=[{lg:[100],sm:[100],xs:[100]},{lg:[50,50],sm:[50,50],xs:[100,100]},{lg:[33.33,33.33,33.34],sm:[33.33,33.33,33.34],xs:[100,100,100]},{lg:[25,25,25,25],sm:[50,50,50,50],xs:[100,100,100,100]},{lg:[20,20,20,20,20],sm:[20,20,20,20,20],xs:[100,100,100,100,100]},{lg:[16.66,16.66,16.66,16.66,16.66,16.7],sm:[16.66,16.66,16.66,16.66,16.66,16.7],xs:[100,100,100,100,100,100]}];function E(e){const{setAttributes:t,name:l,attributes:E,clientId:_,className:L,toggleSelection:I}=e,{blockId:U,currentPostId:B,advanceId:M,HtmlTag:A,rowBtmShape:H,rowTopShape:N,rowBgImg:j,rowOverlayBgImg:O,layout:Z,rowTopGradientColor:R,rowBtmGradientColor:D,rowWrapPadding:F,align:z}=E;y((()=>{const e=_.substr(0,6),l=T(S(_));(0,i.qi)(t,l,B,_),U?U&&U!=e&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||t({blockId:e})):t({blockId:e})}),[_]);const W={setAttributes:t,name:l,attributes:E,clientId:_},[G]=(0,r.Z)();let V;U&&(V=(0,n.Kh)(E,"ultimate-post/row",U,(0,i.k0)()));const q=F[G]?.unit?F[G]?.unit:"px";if(!Object.keys(Z).length)return(0,a.createElement)("div",{className:"ultp-column-structure"},(0,a.createElement)("div",{className:"ultp-column-structure__heading"},"Chose a Layout"),(0,a.createElement)("div",{className:"ultp-column-structure__content"},P.map(((e,l)=>(0,a.createElement)(b,{key:l,delay:0,visible:!0,position:"bottom",text:`${e.lg.join(" : ")}`},(0,a.createElement)("div",{onClick:()=>t({layout:e})},e.lg.map(((e,t)=>(0,a.createElement)("div",{key:t,style:{width:`calc(${e}% - 15px)`}})))))))));const $=j?.openColor?" ultpBgPadding"+(F?.lg?.left?"":" lgL")+(F?.lg?.right?"":" lgR")+(F?.sm?.left?"":" smL")+(F?.sm?.right?"":" smR")+(F?.xs?.left?"":" xsL")+(F?.xs?.right?"":" xsR"):"",K=(e,l,o)=>{const a=Object.assign({},F[G],{[o]:e+parseInt(l)});t({rowWrapPadding:Object.assign({},F,{[G]:a})})};return(0,a.createElement)(g,null,(0,a.createElement)(d,null,(0,a.createElement)(s.Sections,null,(0,a.createElement)(s.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,a.createElement)("div",{className:"ultp-field-wrap ultp-field-tag ultp-row-control"},(0,a.createElement)("label",null,__("Row Column","ultimate-post")),(0,a.createElement)("div",{className:"ultp-sub-field"},C.map(((e,l)=>(0,a.createElement)("span",{key:l,className:"ultp-tag-button"+(e.lg.length==Z.lg.length?" active":""),onClick:()=>{t({layout:e});const{innerBlocks:l}=f(_)[0]||[];l.length>e.lg.length&&Array(l.length-e.lg.length).fill(1).forEach(((t,o)=>{l[l.length-(o+1)].innerBlocks.forEach(((t,o)=>{const a=v(f(t.clientId));x(h(a),0,l[e.lg.length-1].clientId,!1)})),k(l[l.length-(o+1)].clientId,!1)}));for(let t=0;t<e.lg.length;t++){const o={lg:e.lg[t],sm:e.sm[t],xs:e.xs[t],unit:"%"};if(l.length>=t+1)w(l[t].clientId,{columnWidth:o});else{const e=wp.blocks.createBlock("ultimate-post/column",{columnWidth:o});x(e,t,_,!1)}}}},l+1))))),(0,a.createElement)("br",null),(0,a.createElement)(c.Z,{clientId:_,layout:Z,store:W})),(0,a.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.T,{title:__("General","ultimate-post"),include:[{position:1,data:{type:"text",key:"advanceId",label:__("ID","ultimate-post")}},{position:2,data:{type:"range",key:"advanceZindex",min:-100,max:1e4,step:1,label:__("z-index","ultimate-post")}},{position:3,data:{type:"select",key:"contentHeightType",label:__("Height Type","ultimate-post"),options:[{value:"normal",label:__("Normal","ultimate-post")},{value:"windowHeight",label:__("Window Height","ultimate-post")},{value:"custom",label:__("Min Height","ultimate-post")}]}},{position:4,data:{type:"range",key:"contentHeight",min:0,max:1500,step:1,responsive:!0,unit:!0,label:__("Min Height","ultimate-post")}},{position:5,data:{type:"group",key:"contentOverflow",justify:!0,label:__("Overflow","ultimate-post"),options:[{value:"visible",label:__("Visible","ultimate-post")},{value:"hidden",label:__("Hidden","ultimate-post")}]}},{position:6,data:{type:"select",key:"HtmlTag",block:"column",beside:!0,label:__("Html Tag","ultimate-post"),options:[{value:"div",label:__("div","ultimate-post")},{value:"section",label:__("Section","ultimate-post")},{value:"header",label:__("header","ultimate-post")},{value:"footer",label:__("footer","ultimate-post")},{value:"aside",label:__("aside","ultimate-post")},{value:"main",label:__("main","ultimate-post")},{value:"article",label:__("article","ultimate-post")}]}},{position:7,data:{type:"toggle",key:"enableRowLink",label:__("Enable Wrapper Link","ultimate-post")}},{position:8,data:{type:"text",key:"rowWrapperLink",label:__("Wrapper Link","ultimate-post")}},{position:9,data:{type:"toggle",key:"enableNewTab",label:__("Enable Target Blank","ultimate-post")}}],initialOpen:!0,store:W}),(0,a.createElement)(i.Mg,{store:W}),(0,a.createElement)(i.iv,{store:W}))),(0,i.dH)()),(0,a.createElement)(A,(0,o.Z)({},M&&{id:M},{className:`ultp-block-${U} ${L} ${z?`align${z}`:""} ${$}`}),V&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:V}}),(0,a.createElement)("div",{className:"ultp-row-wrapper"},(0,a.createElement)(p.t,{position:"top",setLengthFunc:K,unit:q,previousLength:parseInt(F[G]?.top?F[G]?.top:0),toggleSelection:I}),Object.keys(j).length>0&&1==j.openColor&&"video"==j.type&&j.video&&(0,i.$i)(j.video,j.loop||0,j.start||"",j.end||"",j.fallback||""),N&&"empty"!=N&&(0,a.createElement)("div",{className:"ultp-row-shape ultp-shape-top"},(0,u.T)(N,U,"top",R)),1==O.openColor&&(0,a.createElement)("div",{className:"ultp-row-overlay"}),H&&"empty"!=H&&(0,a.createElement)("div",{className:"ultp-row-shape ultp-shape-bottom"},(0,u.T)(H,U,"bottom",D)),(0,a.createElement)(m,{renderAppender:!1,template:(e=>e.lg.map(((t,l)=>["ultimate-post/column",{columnWidth:{lg:e.lg[l],sm:e.sm[l],xs:e.xs[l],unit:"%"}}])))(Z),allowedBlocks:["ultimate-post/column"]}),(0,a.createElement)(p.t,{position:"bottom",setLengthFunc:K,unit:q,previousLength:parseInt(F[G]?.bottom?F[G]?.bottom:0),toggleSelection:I}))))}},5040:(e,t,l)=>{"use strict";l.d(t,{t:()=>n});var o=l(7294);const{ResizableBox:a}=wp.components,{useState:i}=wp.element,n=e=>{const{position:t,setLengthFunc:l,unit:n,previousLength:r,toggleSelection:s,minHeight:p,maxHeight:c,minWidth:u,maxWidth:d,currentColumnParentWidth:m,stateHandle:g}=e,[y,b]=i(r),[v,h]=i(!1);return(0,o.createElement)(a,{size:{height:"right"==t?"100%":r+n,width:"right"==t?r+n:"auto"},minHeight:0,minWidth:u?u+n:"0%",maxWidth:d?d+n:"100%",enable:{[t]:!0},onResize:(e,l,o,a)=>{e.preventDefault(),h(!0),b(r+a.height),g&&g(r,"right"==t?a.width:a.height,t),s(!0)},onResizeStop:(e,o,a,i)=>{l(r,"right"==t?i.width:i.height,t),s(!0),h(!1)},onResizeStart:()=>{s(!1)}},y&&["top","bottom"].includes(t)?(0,o.createElement)("div",{className:`ultp-dragable-padding ultp-dragable-padding-${t}`},(0,o.createElement)("span",null,(v?y:r)+n)):"")}},4626:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7462),a=l(7294),i=l(3049),n=l(498);const{InnerBlocks:r}=wp.blockEditor;function s(e){const{blockId:t,advanceId:l,HtmlTag:s,rowTopShape:p,rowBtmShape:c,enableRowLink:u,rowWrapperLink:d,enableNewTab:m,rowBgImg:g,rowOverlayBgImg:y,rowTopGradientColor:b,rowBtmGradientColor:v,align:h,rowWrapPadding:f,rowStickyPosition:k}=e.attributes,w=g?.openColor?" ultpBgPadding"+(f?.lg?.left?"":" lgL")+(f?.lg?.right?"":" lgR")+(f?.sm?.left?"":" smL")+(f?.sm?.right?"":" smR")+(f?.xs?.left?"":" xsL")+(f?.xs?.right?"":" xsR"):"";let x="";return["row_sticky","row_scrollToStickyTop"].includes(k)&&(x=` row_sticky_active ${k}`),(0,a.createElement)(s,(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t} ${h?`align${h}`:""} ${w}${x}`}),(0,a.createElement)("div",{className:"ultp-row-wrapper"},Object.keys(g).length>0&&1==g.openColor&&"video"==g.type&&g.video&&(0,i.$i)(g.video,g.loop||0,g.start||"",g.end||"",g.fallback||""),p&&"empty"!=p&&(0,a.createElement)("div",{className:"ultp-row-shape ultp-shape-top"},(0,n.T)(p,t,"top",b)),1==y.openColor&&(0,a.createElement)("div",{className:"ultp-row-overlay"}),u&&(0,a.createElement)("a",{href:d,target:m&&"_blank",className:"ultp-rowwrap-url"}),c&&"empty"!=c&&(0,a.createElement)("div",{className:"ultp-row-shape ultp-shape-bottom"},(0,n.T)(c,t,"bottom",v)),(0,a.createElement)("div",{className:"ultp-row-content"},(0,a.createElement)(r.Content,null))))}},4661:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=(l(3581),l(498));const{__}=wp.i18n,n=({store:e,clientId:t,layout:l})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"rowlayout",block:"column",key:"layout",responsive:!0,clientId:t,layout:l,label:__("Layout","ultimate-post")}},{position:3,data:{type:"range",key:"columnGap",min:0,max:300,step:1,responsive:!0,clientId:t,updateChild:!0,label:__("Column Gap (Custom)","ultimate-post")}},{position:4,data:{type:"range",key:"rowGap",min:0,max:300,step:1,responsive:!0,label:__("Row Gap","ultimate-post")}},{position:5,data:{type:"toggle",key:"inheritThemeWidth",clientId:t,updateChild:!0,label:__("Inherit Theme Width","ultimate-post")}},{position:6,data:{type:"range",key:"rowContentWidth",min:0,max:1700,step:1,responsive:!0,unit:!0,clientId:t,updateChild:!0,label:__("Content Max-Width","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Flex Properties","ultimate-post"),include:[{position:3,data:{type:"toggle",key:"reverseEle",label:__("Reverse","ultimate-post")}},{position:5,data:{type:"alignment",block:"row-column",key:"ColumnAlign",disableJustify:!0,icons:["algnStart","algnCenter","algnEnd","stretch"],options:["flex-start","center","flex-end","stretch"],label:__("Vertical Alignment (Align Items)","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Background & Wrapper","ultimate-post"),include:[{position:1,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"rowBgImg",image:!0,video:!0,label:__("Background","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"rowWrapHoverImg",image:!0,label:__("Background","ultimate-post")}]}]}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Background Overlay","ultimate-post"),include:[{position:1,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"rowOverlayBgImg",image:!0,label:__("Color","ultimate-post")},{type:"range",key:"rowOverlayOpacity",min:0,max:100,step:1,responsive:!1,unit:!1,label:__("Opacity","ultimate-post")},{type:"filter",key:"rowOverlayBgFilter",label:__("CSS Filter","ultimate-post")},{type:"select",key:"rowOverlayBgBlend",beside:!0,options:[{value:"",label:__("Select","ultimate-post")},{value:"normal",label:__("Normal","ultimate-post")},{value:"multiply",label:__("Multiply","ultimate-post")},{value:"screen",label:__("Screen","ultimate-post")},{value:"overlay",label:__("Overlay","ultimate-post")},{value:"darken",label:__("Darken","ultimate-post")},{value:"lighten",label:__("Lighten","ultimate-post")},{value:"color-dodge",label:__("Color Dodge","ultimate-post")},{value:"color-burn",label:__("Color Burn","ultimate-post")},{value:"hard-light",label:__("Hard Light","ultimate-post")},{value:"soft-light",label:__("Soft Light","ultimate-post")},{value:"difference",label:__("Difference","ultimate-post")},{value:"exclusion",label:__("Exclusion","ultimate-post")},{value:"hue",label:__("Hue","ultimate-post")},{value:"saturation",label:__("Saturation","ultimate-post")},{value:"luminosity",label:__("Luminosity","ultimate-post")},{value:"color",label:__("Color","ultimate-post")}],help:"Notice: Background Color Requierd",label:__("Blend Mode","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"rowOverlaypHoverImg",image:!0,label:__("Color","ultimate-post")},{type:"range",key:"rowOverlayHovOpacity",min:0,max:100,step:1,responsive:!1,unit:!1,label:__("Opacity","ultimate-post")},{type:"filter",key:"rowOverlayHoverFilter",label:__("CSS Filter","ultimate-post")},{type:"select",key:"rowOverlayHoverBgBlend",beside:!0,options:[{value:"",label:__("Select","ultimate-post")},{value:"normal",label:__("Normal","ultimate-post")},{value:"multiply",label:__("Multiply","ultimate-post")},{value:"screen",label:__("Screen","ultimate-post")},{value:"overlay",label:__("Overlay","ultimate-post")},{value:"darken",label:__("Darken","ultimate-post")},{value:"lighten",label:__("Lighten","ultimate-post")},{value:"color-dodge",label:__("Color Dodge","ultimate-post")},{value:"color-burn",label:__("Color Burn","ultimate-post")},{value:"hard-light",label:__("Hard Light","ultimate-post")},{value:"soft-light",label:__("Soft Light","ultimate-post")},{value:"difference",label:__("Difference","ultimate-post")},{value:"exclusion",label:__("Exclusion","ultimate-post")},{value:"hue",label:__("Hue","ultimate-post")},{value:"saturation",label:__("Saturation","ultimate-post")},{value:"luminosity",label:__("Luminosity","ultimate-post")},{value:"color",label:__("Color","ultimate-post")}],help:"Notice: Background Color Requierd",label:__("Blend Mode","ultimate-post")}]}]}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Spacing & Border Style","ultimate-post"),include:[{position:1,data:{type:"dimension",key:"rowWrapMargin",step:1,unit:!0,responsive:!0,label:__("Margin","ultimate-post")}},{position:2,data:{type:"dimension",key:"rowWrapPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:3,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"border",key:"rowWrapBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"rowWrapRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"rowWrapShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"border",key:"rowWrapHoverBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"rowWrapHoverRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"rowWrapHoverShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]}]}}],store:e}),(0,o.createElement)(a.T,{title:__("Shape Divider","ultimate-post"),include:[{position:1,data:{type:"tab",content:[{name:"Top",title:__("Top","ultimate-post"),options:[{type:"select",key:"rowTopShape",label:__("Type","ultimate-post"),svg:!0,options:[{value:"empty",label:__("Empty","ultimate-post")},{value:"tilt",label:__("Tilt","ultimate-post"),svg:(0,i.T)("tilt")},{value:"mountain",label:__("Mountain","ultimate-post"),svg:(0,i.T)("mountain")},{value:"waves",label:__("Waves","ultimate-post"),svg:(0,i.T)("waves")},{value:"curve",label:__("Curve","ultimate-post"),svg:(0,i.T)("curve")},{value:"curve_invert",label:__("Curve Invert","ultimate-post"),svg:(0,i.T)("curve_invert")},{value:"asymmetrical_triangle",label:__("Asymmetrical Tringle","ultimate-post"),svg:(0,i.T)("asymmetrical_triangle")},{value:"asymmetrical_triangle_invert",label:__("Asymmetrical Tringle Invert","ultimate-post"),svg:(0,i.T)("asymmetrical_triangle_invert")},{value:"waves_invert",label:__("Waves Invert","ultimate-post"),svg:(0,i.T)("waves_invert")}]},{type:"color2",key:"rowTopGradientColor",label:__("Color","ultimate-post"),extraClass:"ultp-hide-field-item",customGradient:[{name:"Plum Plate",gradient:"linear-gradient(113deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%)",slug:"plum-plate"},{name:"Aqua Splash",gradient:"linear-gradient(15deg, rgb(19, 84, 122) 0%, rgb(128, 208, 199) 100%)",slug:"aqua-splash"},{name:"Teen Party",gradient:"linear-gradient(-225deg, rgb(255, 5, 124) 0%, rgb(141, 11, 147) 50%, rgb(50, 21, 117) 100%)",slug:"teen-party"},{name:"Fabled Sunset",gradient:"linear-gradient(-270deg, rgb(35, 21, 87) 0%, rgb(68, 16, 122) 29%, rgb(255, 19, 97) 67%, rgb(255, 248, 0) 100%)",slug:"fabled-sunset"},{name:"Night Call",gradient:"linear-gradient(-245deg, rgb(172, 50, 228) 0%, rgb(121, 24, 242) 48%, rgb(72, 1, 255) 100%)",slug:"night-call"},{name:"Itmeo Branding",gradient:"linear-gradient(18deg, rgb(42, 245, 152) 0%, rgb(0, 158, 253) 100%)",slug:"itmeo-branding"},{name:"Morning Salad",gradient:"linear-gradient(-255deg, rgb(183, 248, 219) 0%, rgb(80, 167, 194) 100%)",slug:"morning-salad"},{name:"Mind Crawl",gradient:"linear-gradient(-245deg, rgb(71, 59, 123) 0%, rgb(53, 132, 167) 51%, rgb(48, 210, 190) 100%)",slug:"mind-crawl"},{name:"Angel Care",gradient:"linear-gradient(-245deg, rgb(255, 226, 159) 0%, rgb(255, 169, 159) 48%, rgb(255, 113, 154) 100%)",slug:"angel-care"},{name:"Deep Blue",gradient:"linear-gradient(90deg, rgb(106, 17, 203) 0%, rgb(37, 117, 252) 100%)",slug:"deep-blue"},{name:"Mole Hall",gradient:"linear-gradient(-290deg, rgb(97, 97, 97) 0%, rgb(155, 197, 195) 100%)",slug:"mole-hall"},{name:"Over Sun",gradient:"linear-gradient(60deg, rgb(171, 236, 214) 0%, rgb(251, 237, 150) 100%)",slug:"over-sun"},{name:"Clean Mirror",gradient:"linear-gradient(45deg, rgb(147, 165, 207) 0%, rgb(228, 239, 233) 100%)",slug:"clean-mirror"},{name:"Strong Bliss",gradient:"linear-gradient(90deg, rgb(247, 140, 160) 0%, rgb(249, 116, 143) 19%, rgb(253, 134, 140) 60%, rgb(254, 154, 139) 100%)",slug:"strong-bliss"},{name:"Sweet Period",gradient:"linear-gradient(0deg, rgb(63, 81, 177) 0%, rgb(90, 85, 174) 13%, rgb(123, 95, 172) 25%, rgb(143, 106, 174) 38%, rgb(168, 106, 164) 50%)",slug:"sweet-period"},{name:"Purple Division",gradient:"linear-gradient(0deg, rgb(112, 40, 228) 0%, rgb(229, 178, 202) 100%)",slug:"purple-division"},{name:"Cold Evening",gradient:"linear-gradient(0deg, rgb(12, 52, 131) 0%, rgb(162, 182, 223) 100%, rgb(107, 140, 206) 100%, rgb(162, 182, 223) 100%)",slug:"cold-evening"},{name:"Desert Hump",gradient:"linear-gradient(0deg, rgb(199, 144, 129) 0%, rgb(223, 165, 121) 100%)",slug:"desert-hump"},{name:"Eternal Constance",gradient:"linear-gradient(0deg, rgb(9, 32, 63) 0%, rgb(83, 120, 149) 100%)",slug:"ethernal-constance"},{name:"Juicy Cake",gradient:"linear-gradient(0deg, rgb(225, 79, 173) 0%, rgb(249, 212, 35) 100%)",slug:"juicy-cake"},{name:"Rich Metal",gradient:"linear-gradient(90deg, rgb(215, 210, 204) 0%, rgb(48, 67, 82) 100%)",slug:"rich-metal"}]},{type:"range",key:"rowTopShapeWidth",min:100,max:300,step:1,responsive:!0,label:__("Width","ultimate-post")},{type:"range",key:"rowTopShapeHeight",min:0,max:500,step:1,responsive:!0,label:__("Height","ultimate-post")},{type:"toggle",key:"rowTopShapeFlip",label:__("Flip","ultimate-post")},{type:"toggle",key:"rowTopShapeFront",label:__("Bring to Front","ultimate-post")},{type:"range",key:"rowTopShapeOffset",min:-100,max:100,step:1,responsive:!0,label:__("Offset","ultimate-post")}]},{name:"Bottom",title:__("Bottom","ultimate-post"),options:[{type:"select",key:"rowBtmShape",label:__("Type","ultimate-post"),svgClass:"btmShapeIcon",svg:!0,options:[{value:"empty",label:__("Empty","ultimate-post")},{value:"tilt",label:__("Tilt","ultimate-post"),svg:(0,i.T)("tilt")},{value:"mountain",label:__("Mountain","ultimate-post"),svg:(0,i.T)("mountain")},{value:"waves",label:__("Waves","ultimate-post"),svg:(0,i.T)("waves")},{value:"curve",label:__("Curve","ultimate-post"),svg:(0,i.T)("curve")},{value:"curve_invert",label:__("Curve Invert","ultimate-post"),svg:(0,i.T)("curve_invert")},{value:"asymmetrical_triangle",label:__("Asymmetrical Tringle","ultimate-post"),svg:(0,i.T)("asymmetrical_triangle")},{value:"asymmetrical_triangle_invert",label:__("Asymmetrical Tringle Invert","ultimate-post"),svg:(0,i.T)("asymmetrical_triangle_invert")},{value:"waves_invert",label:__("Waves Invert","ultimate-post"),svg:(0,i.T)("waves_invert")}]},{type:"color2",key:"rowBtmGradientColor",label:__("Color","ultimate-post"),extraClass:"ultp-hide-field-item",customGradient:[{name:"Plum Plate",gradient:"linear-gradient(113deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%)",slug:"plum-plate"},{name:"Aqua Splash",gradient:"linear-gradient(15deg, rgb(19, 84, 122) 0%, rgb(128, 208, 199) 100%)",slug:"aqua-splash"},{name:"Teen Party",gradient:"linear-gradient(-225deg, rgb(255, 5, 124) 0%, rgb(141, 11, 147) 50%, rgb(50, 21, 117) 100%)",slug:"teen-party"},{name:"Fabled Sunset",gradient:"linear-gradient(-270deg, rgb(35, 21, 87) 0%, rgb(68, 16, 122) 29%, rgb(255, 19, 97) 67%, rgb(255, 248, 0) 100%)",slug:"fabled-sunset"},{name:"Night Call",gradient:"linear-gradient(-245deg, rgb(172, 50, 228) 0%, rgb(121, 24, 242) 48%, rgb(72, 1, 255) 100%)",slug:"night-call"},{name:"Itmeo Branding",gradient:"linear-gradient(18deg, rgb(42, 245, 152) 0%, rgb(0, 158, 253) 100%)",slug:"itmeo-branding"},{name:"Morning Salad",gradient:"linear-gradient(-255deg, rgb(183, 248, 219) 0%, rgb(80, 167, 194) 100%)",slug:"morning-salad"},{name:"Mind Crawl",gradient:"linear-gradient(-245deg, rgb(71, 59, 123) 0%, rgb(53, 132, 167) 51%, rgb(48, 210, 190) 100%)",slug:"mind-crawl"},{name:"Angel Care",gradient:"linear-gradient(-245deg, rgb(255, 226, 159) 0%, rgb(255, 169, 159) 48%, rgb(255, 113, 154) 100%)",slug:"angel-care"},{name:"Deep Blue",gradient:"linear-gradient(90deg, rgb(106, 17, 203) 0%, rgb(37, 117, 252) 100%)",slug:"deep-blue"},{name:"Mole Hall",gradient:"linear-gradient(-290deg, rgb(97, 97, 97) 0%, rgb(155, 197, 195) 100%)",slug:"mole-hall"},{name:"Over Sun",gradient:"linear-gradient(60deg, rgb(171, 236, 214) 0%, rgb(251, 237, 150) 100%)",slug:"over-sun"},{name:"Clean Mirror",gradient:"linear-gradient(45deg, rgb(147, 165, 207) 0%, rgb(228, 239, 233) 100%)",slug:"clean-mirror"},{name:"Strong Bliss",gradient:"linear-gradient(90deg, rgb(247, 140, 160) 0%, rgb(249, 116, 143) 19%, rgb(253, 134, 140) 60%, rgb(254, 154, 139) 100%)",slug:"strong-bliss"},{name:"Sweet Period",gradient:"linear-gradient(0deg, rgb(63, 81, 177) 0%, rgb(90, 85, 174) 13%, rgb(123, 95, 172) 25%, rgb(143, 106, 174) 38%, rgb(168, 106, 164) 50%)",slug:"sweet-period"},{name:"Purple Division",gradient:"linear-gradient(0deg, rgb(112, 40, 228) 0%, rgb(229, 178, 202) 100%)",slug:"purple-division"},{name:"Cold Evening",gradient:"linear-gradient(0deg, rgb(12, 52, 131) 0%, rgb(162, 182, 223) 100%, rgb(107, 140, 206) 100%, rgb(162, 182, 223) 100%)",slug:"cold-evening"},{name:"Desert Hump",gradient:"linear-gradient(0deg, rgb(199, 144, 129) 0%, rgb(223, 165, 121) 100%)",slug:"desert-hump"},{name:"Eternal Constance",gradient:"linear-gradient(0deg, rgb(9, 32, 63) 0%, rgb(83, 120, 149) 100%)",slug:"ethernal-constance"},{name:"Juicy Cake",gradient:"linear-gradient(0deg, rgb(225, 79, 173) 0%, rgb(249, 212, 35) 100%)",slug:"juicy-cake"},{name:"Rich Metal",gradient:"linear-gradient(90deg, rgb(215, 210, 204) 0%, rgb(48, 67, 82) 100%)",slug:"rich-metal"}]},{type:"range",key:"rowBtmShapeWidth",min:100,max:300,step:1,responsive:!0,label:__("Width","ultimate-post")},{type:"range",key:"rowBtmShapeHeight",min:0,max:500,step:1,responsive:!0,label:__("Height","ultimate-post")},{type:"toggle",key:"rowBtmShapeFlip",label:__("Flip","ultimate-post")},{type:"toggle",key:"rowBtmShapeFront",label:__("Bring to Front","ultimate-post")},{type:"range",key:"rowBtmShapeOffset",min:-100,max:100,step:1,responsive:!0,label:__("Offset","ultimate-post")}]}]}}],store:e}),(0,o.createElement)(a.T,{title:__("Row Color","ultimate-post"),include:[{position:1,data:{type:"color",key:"rowColor",label:__("Color","ultimate-post")}},{position:2,data:{type:"color",key:"rowLinkColor",label:__("Link Color","ultimate-post")}},{position:3,data:{type:"color",key:"rowLinkHover",label:__("Link Hover Color","ultimate-post")}},{position:4,data:{type:"typography",key:"rowTypo",label:__("Typography","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{doc:"https://wpxpo.com/docs/postx/postx-features/row-column/#making-row-sticky",title:__("Row Sticky","ultimate-post"),include:[{position:1,data:{type:"select",key:"rowStickyPosition",options:[{value:"",label:__("Normal","ultimate-post")},{value:"row_sticky",label:__("Sticky","ultimate-post")},{value:"row_scrollToStickyTop",label:__("Fixed ( on Top Scroll )","ultimate-post")}],label:__("Choose Behavior","ultimate-post")}},{position:2,data:{type:"toggle",key:"rowDisableSticky",label:__("Disable Sticky ( on Breakpoint )","ultimate-post")}},{position:3,data:{type:"range",key:"disableStickyRanges",min:0,max:1200,step:1,label:__("Breakpoint ( px )","ultimate-post")}}],store:e}))},358:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"object",default:{}},columnGap:{type:"object",default:{lg:"20",sm:"10",xs:"5"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { column-gap: {{columnGap}}px;}"}]},rowGap:{type:"object",default:{lg:"20"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n            {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { row-gap: {{rowGap}}px }"}]},inheritThemeWidth:{type:"boolean",default:!1},rowContentWidth:{type:"object",default:{lg:"1140",ulg:"px"},style:[{depends:[{key:"inheritThemeWidth",condition:"==",value:!1}],selector:" {{ULTP}} > .ultp-row-wrapper  > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { max-width: {{rowContentWidth}}; margin-left: auto !important; margin-right: auto !important;}"}]},contentHeightType:{type:"string",default:"normal",style:[{depends:[{key:"contentHeightType",condition:"==",value:"custom"}]},{depends:[{key:"contentHeightType",condition:"==",value:"normal"}]},{depends:[{key:"contentHeightType",condition:"==",value:"windowHeight"}],selector:"{{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { height: 100vh; }"}]},contentHeight:{type:"object",default:{lg:"100",ulg:"px"},style:[{depends:[{key:"contentHeightType",condition:"==",value:"custom"}],selector:"{{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { min-height: {{contentHeight}} }"}]},contentOverflow:{type:"string",default:"visible",style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout,  \n            {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { overflow: {{contentOverflow}} }"}]},HtmlTag:{type:"string",default:"div"},enableRowLink:{type:"boolean",default:!1},rowWrapperLink:{type:"string",default:"",style:[{depends:[{key:"enableRowLink",condition:"==",value:!0}]}]},enableNewTab:{type:"boolean",default:!1,style:[{depends:[{key:"enableRowLink",condition:"==",value:!0}]}]},reverseEle:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n            {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { flex-direction: row; }"},{depends:[{key:"reverseEle",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n            {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { flex-direction: row-reverse; }"}]},ColumnAlign:{type:"string",default:"",style:[{depends:[{key:"ColumnAlign",condition:"==",value:"stretch"}],selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-row-content > .wp-block-ultimate-post-column { height: auto } \n                {{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .wp-block-ultimate-post-column, \n                {{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .wp-block-ultimate-post-column > .ultp-column-wrapper { height: 100%; box-sizing: border-box;}"},{depends:[{key:"ColumnAlign",condition:"!=",value:"stretch"}]},{selector:"{{ULTP}} > .ultp-row-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                {{ULTP}} > .ultp-row-wrapper > .ultp-row-content { align-items: {{ColumnAlign}} } "}]},rowBgImg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat",loop:!0},style:[{selector:"{{ULTP}} > .ultp-row-wrapper"}]},rowWrapHoverImg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper:hover"}]},rowOverlayBgImg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-row-overlay"}]},rowOverlayOpacity:{type:"string",default:"50",style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-row-overlay { opacity:{{rowOverlayOpacity}}%; }"}]},rowOverlayBgFilter:{type:"object",default:{openFilter:0,hue:0,saturation:100,brightness:100,contrast:100,invert:0,blur:0},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-row-overlay { {{rowOverlayBgFilter}} }"}]},rowOverlayBgBlend:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-row-overlay { mix-blend-mode:{{rowOverlayBgBlend}}; }"}]},rowOverlaypHoverImg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper:hover > .ultp-row-overlay"}]},rowOverlayHovOpacity:{type:"string",default:"50",style:[{selector:"{{ULTP}} > .ultp-row-wrapper:hover > .ultp-row-overlay { opacity:{{rowOverlayHovOpacity}}% }"}]},rowOverlayHoverFilter:{type:"object",default:{openFilter:0,hue:0,saturation:100,brightness:100,contrast:100,invert:0,blur:0},style:[{selector:"{{ULTP}} > .ultp-row-wrapper:hover > .ultp-row-overlay { {{rowOverlayHoverFilter}} }"}]},rowOverlayHoverBgBlend:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-row-wrapper:hover > .ultp-row-overlay { mix-blend-mode:{{rowOverlayHoverBgBlend}}; }"}]},rowWrapMargin:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} > .ultp-row-wrapper { margin:{{rowWrapMargin}}; }"}]},rowWrapPadding:{type:"object",default:{lg:{top:"15",bottom:"15",unit:"px"}},style:[{selector:"{{ULTP}}.wp-block-ultimate-post-row > .ultp-row-wrapper:not(:has( > .components-resizable-box__container)), \n            {{ULTP}}.wp-block-ultimate-post-row > .ultp-row-wrapper:has( > .components-resizable-box__container) > .block-editor-inner-blocks {padding: {{rowWrapPadding}}; }"}]},rowWrapBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper"}]},rowWrapRadius:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper { border-radius: {{rowWrapRadius}};} \n            {{ULTP}} > .ultp-row-wrapper > .ultp-row-overlay { border-radius: {{rowWrapRadius}}; }"}]},rowWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper"}]},rowWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper:hover"}]},rowWrapHoverRadius:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper:hover, \n            {{ULTP}} > .ultp-row-wrapper:hover > .ultp-row-overlay { border-radius: {{rowWrapHoverRadius}};}"}]},rowWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} > .ultp-row-wrapper:hover"}]},rowTopShape:{type:"string",default:"empty"},rowTopGradientColor:{type:"object",default:{openColor:1,type:"color",color:"#CCCCCC"}},rowTopShapeWidth:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-top > svg { width:calc({{rowTopShapeWidth}}% + 1.3px); }"}]},rowTopShapeHeight:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-top > svg { height:{{rowTopShapeHeight}}px; } "}]},rowTopShapeFlip:{type:"boolean",default:!1,style:[{depends:[{key:"rowTopShapeFlip",condition:"==",value:!1}]},{depends:[{key:"rowTopShapeFlip",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-top > svg { transform:rotateY(180deg); }"}]},rowTopShapeFront:{type:"boolean",default:!1,style:[{depends:[{key:"rowTopShapeFront",condition:"==",value:!1}]},{depends:[{key:"rowTopShapeFront",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-top { z-index: 1; }"}]},rowTopShapeOffset:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-top { top: {{rowTopShapeOffset}}px !important; }"}]},rowBtmShape:{type:"string",default:"empty"},rowBtmGradientColor:{type:"object",default:{openColor:1,type:"color",color:"#CCCCCC"}},rowBtmShapeWidth:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-bottom > svg, \n            {{ULTP}} > .ultp-shape-bottom > svg { width: calc({{rowBtmShapeWidth}}% + 1.3px); }"}]},rowBtmShapeHeight:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-bottom > svg { height: {{rowBtmShapeHeight}}px; }"}]},rowBtmShapeFlip:{type:"boolean",default:!1,style:[{depends:[{key:"rowBtmShapeFlip",condition:"==",value:!1}]},{depends:[{key:"rowBtmShapeFlip",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-bottom > svg { transform: rotateY(180deg) rotate(180deg); }"}]},rowBtmShapeFront:{type:"boolean",default:!1,style:[{depends:[{key:"rowBtmShapeFront",condition:"==",value:!1}]},{depends:[{key:"rowBtmShapeFront",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-bottom { z-index: 1; }"}]},rowBtmShapeOffset:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} > .ultp-row-wrapper > .ultp-shape-bottom { bottom: {{rowBtmShapeOffset}}px !important; }"}]},rowColor:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-row-wrapper { color:{{rowColor}} } "}]},rowLinkColor:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-row-wrapper a { color:{{rowLinkColor}} }"}]},rowLinkHover:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-row-wrapper a:hover { color:{{rowLinkHover}}; }"}]},rowTypo:{type:"object",default:{openTypography:0,size:{lg:16,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:"",weight:700},style:[{selector:"{{ULTP}} > .ultp-row-wrapper"}]},rowStickyPosition:{type:"string",default:""},rowDisableSticky:{type:"boolean",default:!1,style:[{depends:[{key:"rowStickyPosition",condition:"!=",value:""}]}]},disableStickyRanges:{type:"string",default:"",style:[{depends:[{key:"rowDisableSticky",condition:"==",value:!0},{key:"rowStickyPosition",condition:"==",value:"row_scrollToStickyTop"}],selector:" @media (max-width: {{disableStickyRanges}}px) { .postx-page {{ULTP}} { position: static !important; } }"},{depends:[{key:"rowDisableSticky",condition:"==",value:!0},{key:"rowStickyPosition",condition:"==",value:"row_sticky"}],selector:" @media (max-width: {{disableStickyRanges}}px) { .postx-page {{ULTP}} { position: static !important; } }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"body {{ULTP}}.wp-block-ultimate-post-row {z-index:{{advanceZindex}} !important;}"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},1202:(e,t,l)=>{"use strict";l.d(t,{Z:()=>k});var o=l(7462),a=l(7294),i=l(9838),n=l(3049),r=l(2637),s=l(7898),p=l(5040),c=l(9902);const{__}=wp.i18n,{InspectorControls:u,InnerBlocks:d}=wp.blockEditor,{useState:m,useEffect:g,Fragment:y}=wp.element,{select:b,dispatch:v}=wp.data,{getBlockAttributes:h,getBlockRootClientId:f}=wp.data.select("core/block-editor");function k(e){const[t,l]=m(!1),[k,w]=m(""),[x]=(0,c.Z)(),{setAttributes:T,name:S,attributes:P,clientId:C,className:E,toggleSelection:_}=e,{previewImg:L,blockId:I,advanceId:U,columnWidth:B,columnOverlayImg:M,columnGutter:A}=P,H={setAttributes:T,name:S,attributes:P,clientId:C};g((()=>{const e=C.substr(0,6),t=h(f(C));I?I&&I!=e&&(t?.hasOwnProperty("ref")||(0,n.k0)()||t?.hasOwnProperty("theme")||T({blockId:e})):T({blockId:e})}),[C]);let N="";if(I&&(N=(0,i.Kh)(P,"ultimate-post/column",I,(0,n.k0)())),L)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:L,alt:"preview-image"});const j=(e,t)=>{const l=t?parseFloat(parseFloat(t).toFixed(2)):parseFloat(parseFloat(e.target.value).toFixed(2)),o=l>B.lg?-(l-parseFloat(B.lg)):parseFloat(B.lg)-l;if(o){let e=b("core/block-editor").getNextBlockClientId(C);e||(e=b("core/block-editor").getPreviousBlockClientId(C)),T({columnWidth:Object.assign({},B,{lg:l})});const t=b("core/block-editor").getBlockAttributes(e);v("core/block-editor").updateBlockAttributes(e,{columnWidth:Object.assign({},t.columnWidth,{lg:(parseFloat(t.columnWidth.lg)+o).toFixed(2)})})}},O=(e,t,l,o,a)=>{let i=k<95?a:0,n=l<95?a:0;e&&t&&(e.style.flexBasis=`calc(${k}% - ${i}px)`,t.style.flexBasis=`calc(${(parseFloat(l)+o).toFixed(2)}% - ${n}px)`,Z(e,t,parseFloat(k).toFixed(2),(parseFloat(l)+o).toFixed(2)))},Z=(e,t,l,o)=>{if(e&&t){const a=(0,n.fY)().querySelector(`#${e.id} > .wp-block-ultimate-post-column > .ultp-column-wrapper > .ultp-colwidth-next-temp`),i=(0,n.fY)().querySelector(`#${e.id} > .wp-block-ultimate-post-column > .ultp-column-wrapper > .ultp-colwidth-prev-temp`),r=(0,n.fY)().querySelector(`#${t.id} > .wp-block-ultimate-post-column > .ultp-column-wrapper > .ultp-colwidth-next-temp`),s=(0,n.fY)().querySelector(`#${t.id} > .wp-block-ultimate-post-column > .ultp-column-wrapper > .ultp-colwidth-prev-temp`);a&&(a.innerHTML=`${l}%`),i&&(i.innerHTML=`${l}%`),r&&(r.innerHTML=`${o}%`),s&&(s.innerHTML=`${o}%`)}};let R=b("core/block-editor").getBlockOrder(C).length>0;const D=b("core/block-editor").getBlockParents(C),F=b("core/block-editor").getBlockAttributes(D[D.length-1])?.layout,z=b("core/block-editor").getBlockAttributes(D[D.length-1]),W=z?.columnGap;let G={};["lg","sm","xs"].forEach((e=>{const t=F[e]?.filter((e=>100!=e)).length;G[e]=t&&B[e]<95&&0!=W[e]&&W[e]?W[e]*(t-1)/t:0})),JSON.stringify(G)!=JSON.stringify(A)&&T({columnGutter:G});const V=(0,n.fY)().querySelector(`#block-${C}`);V&&V.setAttribute("data-ultp",`.ultp-block-${I}`);const q=V?.parentNode?.offsetWidth,$=b("core/block-editor").getPreviousBlockClientId(C),K=b("core/block-editor").getNextBlockClientId(C),J=(0,n.fY)().querySelector(`#block-${C}`),Y=(0,n.fY)().querySelector(`#block-${K}`),X=b("core/block-editor").getBlockAttributes(K)?.columnWidth.lg,Q=k>B.lg?-(k-parseFloat(B.lg)):parseFloat(B.lg)-k;let ee=85;if(2==F?.lg.length&&!$&&K)t?O(J,Y,X,Q,G[x]):Z(J,Y,B.lg,X,G[x]);else if(3==F?.lg.length){if(!$&&K){const e=b("core/block-editor").getNextBlockClientId(K),t=e?b("core/block-editor").getBlockAttributes(e)?.columnWidth.lg:15;ee=85-parseFloat(t)}else if($&&K){const e=b("core/block-editor").getBlockAttributes($);ee=85-parseFloat(e.columnWidth.lg)}t?O(J,Y,X,Q,G[x]):Z(J,Y,B.lg,X,G[x])}return(0,a.createElement)(y,null,(0,a.createElement)(u,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},"lg"==x&&F?.lg.length>1&&F?.lg.length<4&&($||!$)&&K&&B.lg<100&&(0,a.createElement)("div",{className:"ultp-field-wrap ultp-field-range ultp-field-columnwidth"},(0,a.createElement)("label",null,"Column Width"),(0,a.createElement)("div",{className:"ultp-range-control"},(0,a.createElement)("div",{className:"ultp-range-input"},(0,a.createElement)("input",{type:"range",min:15,max:ee,value:B.lg,step:.01,onChange:e=>{j(e)}}),(0,a.createElement)("input",{type:"number",min:15,max:ee,value:B.lg,step:.01,onChange:e=>{j(e)}})))),(0,a.createElement)(s.Z,{store:H})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(n.T,{title:__("General","ultimate-post"),include:[{position:1,data:{type:"text",key:"advanceId",label:__("ID","ultimate-post")}},{position:2,data:{type:"range",key:"advanceZindex",min:-100,max:1e4,step:1,label:__("z-index","ultimate-post")}},{position:3,data:{type:"select",key:"columnOverflow",label:__("Overflow","ultimate-post"),options:[{value:"visible",label:__("Visible","ultimate-post")},{value:"hidden",label:__("Hidden","ultimate-post")}]}},{position:4,data:{type:"toggle",key:"columnEnableLink",label:__("Enable Wrapper Link","ultimate-post")}},{position:5,data:{type:"text",key:"columnWrapperLink",label:__("Url","ultimate-post")}},{position:6,data:{type:"toggle",key:"columnTargetLink",label:__("Enable Target Blank","ultimate-post")}}],initialOpen:!0,store:H}),(0,a.createElement)(n.Mg,{store:H}),(0,a.createElement)(n.iv,{store:H})))),(0,a.createElement)("div",(0,o.Z)({},U&&{id:U},{className:`ultp-block-${I} ${E} ${R?"":"no-inner-block"}`}),N&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:N}}),(0,a.createElement)("div",{className:"ultp-column-wrapper"},1==M.openColor&&(0,a.createElement)("div",{className:"ultp-column-overlay"}),$&&100!=B.lg&&"lg"==x&&F?.lg.length>1&&F?.lg.length<4&&(0,a.createElement)("span",{className:"ultp-colwidth-tooltip ultp-colwidth-prev ultp-colwidth-prev-temp"},B[x],"%"),(0,a.createElement)(d,{templateLock:!1,renderAppender:R?void 0:()=>(0,a.createElement)(d.ButtonBlockAppender,null)}),K&&100!=B.lg&&"lg"==x&&F?.lg.length>1&&F?.lg.length<4&&(0,a.createElement)("span",{className:"ultp-colwidth-tooltip ultp-colwidth-next ultp-colwidth-next-temp"},B[x],"%"))),"lg"==x&&F?.lg.length>1&&F?.lg.length<4&&($||!$)&&K&&B.lg<100&&(0,a.createElement)("div",{className:"ultp-resizer-container",style:{width:q}},(0,a.createElement)(p.t,{position:"right",setLengthFunc:(e,t,o)=>{const a=(0,n.fY)().querySelector(`#block-${C}`),i=a?.parentNode?.offsetWidth,r=b("core/block-editor").getNextBlockClientId(C),s=(0,n.fY)().querySelector(`#block-${r}`),p=parseFloat(e)+parseFloat(100*t/i);j("event",p),a&&s&&(a.removeAttribute("style"),s.removeAttribute("style")),l(!1)},stateHandle:(e,t,o)=>{const a=(0,n.fY)().querySelector(`#block-${C}`)?.parentNode?.offsetWidth,i=parseFloat(e)+parseFloat(100*t/a);l(!0),w(parseFloat(i).toFixed(2))},unit:"%",previousLength:B.lg,toggleSelection:_,minWidth:15,maxWidth:ee||85})))}},234:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7462),a=l(7294);const{InnerBlocks:i}=wp.blockEditor;function n(e){const{blockId:t,advanceId:l,columnEnableLink:n,columnWrapperLink:r,columnTargetLink:s,columnOverlayImg:p}=e.attributes;return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t}`}),(0,a.createElement)("div",{className:"ultp-column-wrapper"},n&&(0,a.createElement)("a",{className:"ultp-column-link",target:s?"_blank":"_self",href:`${r}`}),1==p.openColor&&(0,a.createElement)("div",{className:"ultp-column-overlay"}),(0,a.createElement)(i.Content,null)))}},7898:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(3049);const{__}=wp.i18n,i=e=>{const{store:t}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(a.T,{title:__("Column Item","ultimate-post"),include:[{position:1,data:{type:"tag",key:"columnOrderNumber",options:[{value:"1",label:__("1","ultimate-post")},{value:"2",label:__("2","ultimate-post")},{value:"3",label:__("3","ultimate-post")},{value:"4",label:__("4","ultimate-post")},{value:"5",label:__("5","ultimate-post")},{value:"6",label:__("6","ultimate-post")}],label:__("Column Order","ultimate-post")}},{position:3,data:{type:"range",key:"columnHeight",min:0,max:1300,step:1,unit:["px","%","vh","rem"],responsive:!0,label:__("Min Height","ultimate-post")}},{position:6,data:{type:"group",key:"columnDirection",justify:!0,options:[{value:"column",label:__("Vertical","ultimate-post")},{value:"row",label:__("Horizontal","ultimate-post")}],label:__("Flex Direction","ultimate-post")}},{position:4,data:{type:"alignment",key:"columnJustify",disableJustify:!0,responsive:!0,icons:["juststart","justcenter","justend","justbetween","justaround","justevenly"],options:["flex-start","center","flex-end","space-between","space-around","space-evenly"],label:__("Inside Alignment ( Horizontal )","ultimate-post")}},{position:5,data:{type:"alignment",block:"column-column",key:"columnAlign",disableJustify:!0,icons:["algnStart","algnCenter","algnEnd","stretch"],options:["flex-start","center","flex-end","space-between"],label:__("Inside Content Alignment ( Vertical )","ultimate-post")}},{position:5,data:{type:"alignment",block:"column-column",key:"columnAlignItems",disableJustify:!0,icons:["algnStart","algnCenter","algnEnd"],options:["flex-start","center","flex-end"],label:__("Inside Items Alignment","ultimate-post")}},{position:7,data:{type:"range",key:"columnItemGap",min:0,max:300,step:1,responsive:!1,label:__("Gap","ultimate-post")}},{position:8,data:{type:"group",key:"columnWrap",justify:!0,options:[{value:"no",label:__("No","ultimate-post")},{value:"wrap",label:__("Wrap","ultimate-post")},{value:"nowrap",label:__("No Wrap","ultimate-post")}],label:__("Column Wrap","ultimate-post")}},{position:9,data:{type:"toggle",key:"reverseCol",label:__("Reverse","ultimate-post")}}],initialOpen:!0,store:t}),(0,o.createElement)(a.T,{title:__("Background & Wrapper","ultimate-post"),include:[{position:1,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"colBgImg",image:!0,label:__("Background","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"columnWrapHoverImg",image:!0,label:__("Background","ultimate-post")}]}]}}],initialOpen:!1,store:t}),(0,o.createElement)(a.T,{title:__("Background Overlay","ultimate-post"),include:[{position:1,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"columnOverlayImg",image:!0,label:__("Background","ultimate-post")},{type:"range",key:"colOverlayOpacity",min:0,max:100,step:1,responsive:!1,unit:!1,label:__("Opacity","ultimate-post")},{type:"filter",key:"columnOverlayilter",label:__("CSS Filter","ultimate-post")},{type:"select",key:"columnOverlayBlend",options:[{value:"",label:__("Select","ultimate-post")},{value:"normal",label:__("Normal","ultimate-post")},{value:"multiply",label:__("Multiply","ultimate-post")},{value:"screen",label:__("Screen","ultimate-post")},{value:"overlay",label:__("Overlay","ultimate-post")},{value:"darken",label:__("Darken","ultimate-post")},{value:"lighten",label:__("Lighten","ultimate-post")},{value:"color-dodge",label:__("Color Dodge","ultimate-post")},{value:"color-burn",label:__("Color Burn","ultimate-post")},{value:"hard-light",label:__("Hard Light","ultimate-post")},{value:"soft-light",label:__("Soft Light","ultimate-post")},{value:"difference",label:__("Difference","ultimate-post")},{value:"exclusion",label:__("Exclusion","ultimate-post")},{value:"hue",label:__("Hue","ultimate-post")},{value:"saturation",label:__("Saturation","ultimate-post")},{value:"luminosity",label:__("Luminosity","ultimate-post")},{value:"color",label:__("Color","ultimate-post")}],help:"Notice: Background Color Requierd",label:__("Blend Mode","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"columnOverlaypHoverImg",image:!0,label:__("Background","ultimate-post")},{type:"range",key:"colOverlayHovOpacity",min:0,max:100,step:1,responsive:!1,unit:!1,label:__("Opacity","ultimate-post")},{type:"filter",key:"columnOverlayHoverFilter",label:__("CSS Filter","ultimate-post")},{type:"select",key:"columnOverlayHoverBlend",options:[{value:"",label:__("Select","ultimate-post")},{value:"normal",label:__("Normal","ultimate-post")},{value:"multiply",label:__("Multiply","ultimate-post")},{value:"screen",label:__("Screen","ultimate-post")},{value:"overlay",label:__("Overlay","ultimate-post")},{value:"darken",label:__("Darken","ultimate-post")},{value:"lighten",label:__("Lighten","ultimate-post")},{value:"color-dodge",label:__("Color Dodge","ultimate-post")},{value:"color-burn",label:__("Color Burn","ultimate-post")},{value:"hard-light",label:__("Hard Light","ultimate-post")},{value:"soft-light",label:__("Soft Light","ultimate-post")},{value:"difference",label:__("Difference","ultimate-post")},{value:"exclusion",label:__("Exclusion","ultimate-post")},{value:"hue",label:__("Hue","ultimate-post")},{value:"saturation",label:__("Saturation","ultimate-post")},{value:"luminosity",label:__("Luminosity","ultimate-post")},{value:"color",label:__("Color","ultimate-post")}],help:"Notice: Background Color Requierd",label:__("Blend Mode","ultimate-post")}]}]}}],initialOpen:!1,store:t}),(0,o.createElement)(a.T,{title:__("Spacing & Border Style","ultimate-post"),include:[{position:1,data:{type:"dimension",key:"colWrapMargin",step:1,unit:!0,responsive:!0,label:__("Margin","ultimate-post")}},{position:2,data:{type:"dimension",key:"colWrapPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:3,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"border",key:"columnWrapBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"columnWrapRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"columnWrapShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"border",key:"columnWrapHoverBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"columnWrapHoverRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")},{type:"boxshadow",key:"columnWrapHoverShadow",step:1,unit:!0,responsive:!0,label:__("Box shadow","ultimate-post")}]}]}}],store:t}),(0,o.createElement)(a.T,{title:__("Column Color","ultimate-post"),include:[{position:1,data:{type:"color",key:"columnColor",label:__("Color","ultimate-post")}},{position:2,data:{type:"color",key:"colLinkColor",label:__("Link Color","ultimate-post")}},{position:3,data:{type:"color",key:"colLinkHover",label:__("Link Hover Color","ultimate-post")}},{position:4,data:{type:"typography",key:"colTypo",label:__("Typography","ultimate-post")}}],store:t}),(0,o.createElement)(a.T,{depend:"columnSticky",title:__("Sticky Column","ultimate-post"),include:[{position:7,data:{type:"range",key:"columnStickyOffset",min:0,max:300,step:1,unit:["px","rem","vh"],responsive:!0,help:"Note: Sticky Column Working only Front End",label:__("Gap","ultimate-post")}}],initialOpen:!1,store:t}))}},52:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},columnOrderNumber:{type:"string",default:"",style:[{selector:'[data-ultp="{{ULTP}}"], \n            .ultp-row-content > {{ULTP}} { order:{{columnOrderNumber}}; }'}]},columnGutter:{type:"object",default:{lg:"0",sm:"0",xs:"0"}},columnWidth:{type:"object",default:{},anotherKey:"columnGutter",style:[{selector:'[data-ultp="{{ULTP}}"], \n            .ultp-row-content > {{ULTP}} { flex-basis: calc({{columnWidth}} - {{columnGutter}}px);}'}]},columnHeight:{type:"object",default:{lg:"",ulg:"px",unit:"px"},style:[{selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n            .ultp-row-content > {{ULTP}} > .ultp-column-wrapper { min-height: {{columnHeight}};}"}]},columnDirection:{type:"string",default:"column",style:[{depends:[{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper  { display: flex; flex-direction: {{columnDirection}} }"},{depends:[{key:"columnDirection",condition:"==",value:"column"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper { display: flex;  flex-direction: column;}"},{depends:[{key:"reverseCol",condition:"==",value:!0},{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper { display: flex; flex-direction: row-reverse; }"},{depends:[{key:"reverseCol",condition:"==",value:!0},{key:"columnDirection",condition:"==",value:"column"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper  { display: flex; flex-direction: column-reverse; }"}]},columnJustify:{type:"object",default:{lg:""},style:[{depends:[{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper { justify-content: {{columnJustify}}; }"}]},columnAlign:{type:"string",default:"",style:[{depends:[{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper  { align-content: {{columnAlign}}; }"},{depends:[{key:"columnDirection",condition:"==",value:"column"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper  { justify-content: {{columnAlign}}; }"}]},columnAlignItems:{type:"string",default:"",style:[{depends:[{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper  { align-items: {{columnAlignItems}}; }"}]},columnItemGap:{type:"string",default:"",style:[{depends:[{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper  { gap: {{columnItemGap}}px; }"}]},columnWrap:{type:"string",default:"wrap",style:[{depends:[{key:"columnWrap",condition:"==",value:"no"},{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} { flex-wrap: unset; }"},{depends:[{key:"columnWrap",condition:"==",value:"wrap"},{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper { flex-wrap: {{columnWrap}}; }"},{depends:[{key:"columnWrap",condition:"==",value:"nowrap"},{key:"columnDirection",condition:"==",value:"row"}],selector:"{{ULTP}} > .ultp-column-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n                .ultp-row-content > {{ULTP}} > .ultp-column-wrapper { flex-wrap: nowrap; }"}]},reverseCol:{type:"boolean",default:!1},colBgImg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} > .ultp-column-wrapper"}]},columnWrapHoverImg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} > .ultp-column-wrapper:hover"}]},columnOverlayImg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} > .ultp-column-wrapper > .ultp-column-overlay"}]},colOverlayOpacity:{type:"string",default:"50",style:[{selector:"{{ULTP}} > .ultp-column-wrapper > .ultp-column-overlay { opacity: {{colOverlayOpacity}}%; }"}]},columnOverlayilter:{type:"object",default:{openFilter:0},style:[{selector:"{{ULTP}} > .ultp-column-wrapper > .ultp-column-overlay { {{columnOverlayilter}} }"}]},columnOverlayBlend:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-column-wrapper > .ultp-column-overlay { mix-blend-mode:{{columnOverlayBlend}}; }"}]},columnOverlaypHoverImg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} > .ultp-column-wrapper:hover > .ultp-column-overlay"}]},colOverlayHovOpacity:{type:"string",default:"50",style:[{selector:"{{ULTP}} > .ultp-column-wrapper:hover > .ultp-column-overlay { opacity: {{colOverlayHovOpacity}}%; }"}]},columnOverlayHoverFilter:{type:"object",default:{openFilter:0},style:[{selector:"{{ULTP}} > .ultp-column-wrapper:hover > .ultp-column-overlay { {{columnOverlayHoverFilter}} }"}]},columnOverlayHoverBlend:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-column-wrapper:hover > .ultp-column-overlay { mix-blend-mode:{{columnOverlayHoverBlend}}; }"}]},colWrapMargin:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} > .ultp-column-wrapper { margin: {{colWrapMargin}}; }"}]},colWrapPadding:{type:"object",default:{lg:{top:"0",bottom:"0",left:"0",right:"0",unit:"px"}},style:[{selector:"{{ULTP}} > .ultp-column-wrapper { padding: {{colWrapPadding}}; }"}]},columnWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#505050"},style:[{selector:"{{ULTP}} > .ultp-column-wrapper"}]},columnWrapRadius:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} > .ultp-column-wrapper { border-radius: {{columnWrapRadius}};}"}]},columnWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} > .ultp-column-wrapper"}]},columnWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:'[data-ultp="{{ULTP}}"]:hover > {{ULTP}} > .ultp-column-wrapper, \n            .ultp-row-content > {{ULTP}}:hover > .ultp-column-wrapper'}]},columnWrapHoverRadius:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:'[data-ultp="{{ULTP}}"]:hover > {{ULTP}} > .ultp-column-wrapper, \n            .ultp-row-content > {{ULTP}}:hover > .ultp-column-wrapper { border-radius: {{columnWrapHoverRadius}};}'}]},columnWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:'[data-ultp="{{ULTP}}"]:hover > {{ULTP}} > .ultp-column-wrapper, \n            .ultp-row-content > {{ULTP}}:hover > .ultp-column-wrapper'}]},columnColor:{type:"string",default:"",style:[{selector:"{{ULTP}} { color: {{columnColor}} } "}]},colLinkColor:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-column-wrapper a { color: {{colLinkColor}} } "}]},colLinkHover:{type:"string",default:"",style:[{selector:"{{ULTP}} > .ultp-column-wrapper a:hover { color: {{colLinkHover}}; } "}]},colTypo:{type:"object",default:{openTypography:0,size:{lg:16,unit:"px"},height:{lg:"",unit:"px"},decoration:"none",family:"",weight:700},style:[{selector:"{{ULTP}}"}]},columnSticky:{type:"boolean",default:!1},columnStickyOffset:{type:"object",default:{lg:"0",ulg:"px"},style:[{depends:[{key:"columnSticky",condition:"==",value:!0}],selector:"{{ULTP}} { position: sticky; top: calc( 32px + {{columnStickyOffset}}); align-self: start; }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} {z-index:{{advanceZindex}};}"}]},columnOverflow:{type:"string",default:"visible",style:[{selector:".block-editor-block-list__block > {{ULTP}} > .ultp-column-wrapper, \n            .ultp-row-content > {{ULTP}} > .ultp-column-wrapper { overflow: {{columnOverflow}}; }"}]},columnEnableLink:{type:"boolean",default:!1},columnWrapperLink:{type:"string",default:"example.com",style:[{depends:[{key:"columnEnableLink",condition:"==",value:!0}]}]},columnTargetLink:{type:"boolean",default:!1,style:[{depends:[{key:"columnEnableLink",condition:"==",value:!0}]}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},8578:(e,t,l)=>{"use strict";var o=l(7294),a=l(1202),i=l(234),n=l(52);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;r("ultimate-post/column",{title:__("Column","ultimate-post"),parent:["ultimate-post/row"],icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/column.svg"}),category:"ultimate-post",description:__("Add Column block for your layout.","ultimate-post"),keywords:[__("Column","ultimate-post"),__("Row","ultimate-post")],supports:{reusable:!1,html:!1},attributes:n.Z,example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/wrapper.svg"}},edit:a.Z,save:i.Z})},3609:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(6187),n=l(4626),r=l(358);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=(0,a.Z)("https://wpxpo.com/docs/postx/postx-features/row-column/","block_docs");s("ultimate-post/row",{title:__("Row","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/row.svg"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Add Row block for your layout.","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:p},__("Documentation","ultimate-post"))),keywords:[__("row","ultimate-post"),__("wrap","ultimate-post"),__("column","ultimate-post")],supports:{align:["center","wide","full"],html:!1,reusable:!1},attributes:r.Z,example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/wrapper.svg"}},edit:i.Z,save:n.Z})},498:(e,t,l)=>{"use strict";l.d(t,{T:()=>i});var o=l(7294),a=l(448);const i=(e,t,l,i)=>{const n={asymmetrical_triangle:(0,o.createElement)("g",null,(0,o.createElement)("polygon",{points:"1000,5 732.93,100 0,5 0,0 1000,0 \t"})),asymmetrical_triangle_invert:(0,o.createElement)("polygon",{points:"1000,0 1000,100 732.9,5 0,100 0,0 "}),curve:(0,o.createElement)("path",{d:"M1000,0L1000,0c0,1.3-1,2.5-2.7,3.2C854,61.3,683.2,100,500,100C316.8,100,146,61.3,2.7,3.2C1,2.5,0,1.3,0,0H1000z"}),curve_invert:(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M1000,100V0H0v100c0-1.3,1-2.5,2.7-3.2C146,38.7,316.8,3.3,500,3.3s354,35.4,497.3,93.6C999,97.5,1000,98.7,1000,100z"})),mountain:(0,o.createElement)("g",null,(0,o.createElement)("path",{style:{opacity:"0.34"},className:"st0",d:"M642.9,36.2c13-11.4,25.1-21.2,39.6-21c37.6,0.6,59.9,52.6,98.2,60.7c1.6,0.3,3.2,0.6,4.8,0.9C768.9,88,750,94.2,726.9,88.5C689.9,79.3,682.5,45.1,642.9,36.2z"}),(0,o.createElement)("path",{style:{opacity:"0.34"},className:"st0",d:"M415.5,29.7c26.1-12.2,54-14.2,86.7,9.8c17.6,13,33,21.2,46.5,25.8c-18.1,13.1-37.2,23.4-70,14.2C453.6,72.5,436.7,48.9,415.5,29.7z"}),(0,o.createElement)("path",{style:{opacity:"0.6"},className:"st1",d:"M548.8,65.3c17.9-12.9,34.9-28.6,63.2-30.8c12.3-0.9,22.4-0.2,31,1.7C620.1,56.2,594.6,81,548.8,65.3z"}),(0,o.createElement)("path",{style:{opacity:"0.6"},className:"st1",d:"M785.5,76.8c34.4-23.1,59.1-67.4,91.7-70.7c52.1-5.2,68,33.1,122.8,33.1v42.4c-43.9,0-56.9-54.7-98-54.4C870.1,28.1,859.2,89.7,785.5,76.8z"}),(0,o.createElement)("path",{style:{opacity:"0.6"},className:"st1",d:"M0,81.6V39.2c62.5,0,62.5-31.9,125-31.9S208.2,61,260,54.2c36-4.7,47.2-51.6,93.2-51.6c27.2,0,46.1,12.2,62.4,27c-63,29.3-115.8,117.1-202.6,38.6c-28.3-25.7-47.6-53.8-103.3-48.3C60.2,24.8,43.9,81.6,0,81.6z"}),(0,o.createElement)("path",{d:"M0,39.2V0.1h1000v39.1c-54.8,0-70.7-38.4-122.8-33.2c-32.6,3.3-57.3,47.6-91.7,70.7c-1.6-0.3-3.1-0.6-4.8-0.9c-38.3-8.1-60.6-60-98.2-60.7c-14.5-0.2-26.6,9.6-39.6,21c-8.6-2-18.7-2.7-31-1.7c-28.3,2.2-45.2,17.9-63.2,30.8c-13.6-4.6-28.9-12.8-46.5-25.8c-32.7-24.1-60.6-22-86.7-9.8c-16.3-14.8-35.2-27-62.4-27c-45.9,0-57.1,46.9-93.2,51.6c-51.7,6.8-72.5-46.9-135-46.9S62.5,39.2,0,39.2z"})),tilt:(0,o.createElement)("polygon",{points:"0,0 1000,0 1000,100 "}),waves:(0,o.createElement)("path",{d:"M1000,0v65.8c-15.6-11.2-31.2-22.4-62.5-22.4c-46.2,0-64.7,33.2-116.2,33.2c-92.3,0-118-65-225.2-65c-121.4,0-132.5,88.5-238.5,88.5c-70.3,0-89.6-51.8-167.4-51.8c-65.4,0-73.4,40-127.8,40C31.3,88.2,15.6,77,0,65.8V0H1000z"}),waves_invert:(0,o.createElement)("path",{d:"M1000,45.7V0H0v45.7c15.6-11.2,31.3-22.4,62.5-22.4c54.4,0,62.4,40,127.8,40c77.7,0,97.1-51.8,167.4-51.8c106,0,117,88.5,238.5,88.5c107.2,0,132.9-65,225.2-65c51.4,0,69.9,33.2,116.2,33.2C968.8,68.1,984.4,56.9,1000,45.7z"})};return(0,o.createElement)("svg",{viewBox:"0 0 1000 100",preserveAspectRatio:"none",fill:i?.openColor?"gradient"==i.type?`url(#${l}shape-${t})`:i.color:"#f5f5f5"},n[e],(0,o.createElement)("defs",null,i?.openColor&&"gradient"==i?.type&&(e=>{const i=(e=(e=")"==(e=(e=(0,a.MR)(e)?e:(0,a._n)("colorcode",e)).replace(/linear-gradient\(|\);/gi,"")).slice(-1)?e.substring(0,e.length-1):e).split("deg,"))[0];return e=(e=e[1].split(/(%,|%)/gi)).filter((function(e){return!["","%","%,"].includes(e)})),(0,o.createElement)("linearGradient",{id:`${l}shape-${t}`,gradientTransform:`rotate(${i})`},e.map(((e,t)=>{let l=e.replace(")",")|||");return l=l.split("|||"),(0,o.createElement)("stop",{key:t,offset:l[1]+"%",stopColor:l[0]})})))})(i.gradient)))}},553:(e,t,l)=>{"use strict";l.d(t,{Z:()=>b});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(5667);const{__}=wp.i18n,{InspectorControls:s,InnerBlocks:p}=wp.blockEditor,{useEffect:c,useState:u,useRef:d,Fragment:m}=wp.element,{getBlockAttributes:g,getBlockRootClientId:y}=wp.data.select("core/block-editor");function b(e){const t=d(null),[l,b]=u("Content"),{setAttributes:v,name:h,attributes:f,className:k,clientId:w,attributes:{previewImg:x,enableIcon:T,enableText:S,blockId:P,advanceId:C,layout:E,iconSize2:_,iconBgSize2:L,iconSize:I,iconBgSize:U,currentPostId:B}}=e;c((()=>{const e=w.substr(0,6),t=g(y(w));(0,i.qi)(v,t,B,w),_.replace&&I&&v({iconSize2:{lg:I}}),L.replace&&U&&v({iconBgSize2:{lg:U}}),P?P&&P!=e&&(t?.hasOwnProperty("ref")||(0,i.k0)()||t?.hasOwnProperty("theme")||v({blockId:e})):v({blockId:e})}),[w]),c((()=>{const e=t.current;var l;e?((l=e).enableText!=S||l.enableIcon!=T)&&((0,i.Gu)(w),t.current=f):t.current=f}),[f]);const M={setAttributes:v,name:h,attributes:f,setSection:b,section:l,clientId:w};let A;return P&&(A=(0,n.Kh)(f,"ultimate-post/social-icons",P,(0,i.k0)())),x?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:x}):(0,a.createElement)(m,null,(0,a.createElement)(s,null,(0,a.createElement)(r.Z,{store:M})),(0,a.createElement)("div",(0,o.Z)({},C&&{id:C},{className:`ultp-block-${P} ${k}`}),A&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:A}}),(0,a.createElement)("ul",{className:`ultp-social-icons-wrapper ultp-social-icons-${E}`},(0,a.createElement)(p,{template:[["ultimate-post/social",{socialText:"Facebook",customIcon:"facebook"}],["ultimate-post/social",{socialText:"WordPress",customIcon:"wordpress_solid"}],["ultimate-post/social",{socialText:"WhatsApp",customIcon:"whatsapp"}]],allowedBlocks:["ultimate-post/social"]}))))}},6098:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7462),a=l(7294);const{InnerBlocks:i}=wp.blockEditor;function n(e){const{blockId:t,advanceId:l,layout:n}=e.attributes;return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t}`}),(0,a.createElement)("ul",{className:`ultp-social-icons-wrapper ultp-social-icons-${n}`},(0,a.createElement)(i.Content,null)))}},5667:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);l(3581);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"global",title:__("Global Style","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"layout",block:"social-icons",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/social_icons/icon1.png",label:"Layout 1",value:"layout1",pro:!1},{img:"assets/img/layouts/social_icons/icon2.png",label:"Layout 2",value:"layout2",pro:!1}]}},{position:2,data:{type:"toggle",key:"iconInline",label:__("Inline View","ultimate-post")}},{position:3,data:{type:"alignment",block:"social-icons",key:"iconAlignment",disableJustify:!0,label:__("Horizontal Alignment","ultimate-post")}},{position:4,data:{type:"range",key:"iconSpace",min:0,max:300,step:1,responsive:!0,label:__("Space Between Items","ultimate-post")}},{position:5,data:{type:"range",key:"iconTextSpace",min:0,max:300,step:1,responsive:!0,label:__("Spacing Between Icon & Texts","ultimate-post")}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("Icon/Image","ultimate-post"),depend:"enableIcon",include:[{position:2,data:{type:"group",key:"iconPosition",justify:!0,label:__("Icon - Label Alignment","ultimate-post"),options:[{value:"initial",label:__("Top","ultimate-post")},{value:"center",label:__("Center","ultimate-post")},{value:"end",label:__("Bottom","ultimate-post")}]}},{position:5,data:{type:"dimension",key:"imgRadius",step:1,unit:!0,responsive:!0,label:__("Image Radius","ultimate-post")}},{position:7,data:{type:"range",key:"iconSize2",responsive:!0,label:__("Icon/Image Size","ultimate-post")}},{position:8,data:{type:"range",key:"iconBgSize2",responsive:!0,label:__("Background Size","ultimate-post"),help:"Icon Background Color Required"}},{position:9,data:{type:"separator",label:__("Icon Style","ultimate-post")}},{position:10,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"iconColor",label:__("Icon Color","ultimate-post")},{type:"color",key:"iconBg",label:__("Icon  Background","ultimate-post")},{type:"border",key:"iconBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"iconRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"iconHvrColor",label:__("Icon Color","ultimate-post")},{type:"color",key:"iconHvrBg",label:__("Icon  Background","ultimate-post")},{type:"border",key:"iconHvrBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"iconHvrRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]}]}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Text","ultimate-post"),depend:"enableText",include:[{position:2,data:{type:"typography",key:"textTypo",label:__("Text Typography","ultimate-post")}},{position:3,data:{type:"color",key:"textColor",label:__("Text Color","ultimate-post")}},{position:4,data:{type:"color",key:"textHvrColor",label:__("Text Hover Color","ultimate-post")}}],initialOpen:!1,store:e}),(0,o.createElement)(a.T,{title:__("Content Wrap","ultimate-post"),include:[{position:1,data:{type:"dimension",key:"contentPadding",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{position:2,data:{type:"toggle",key:"contentFullWidth",label:__("Full Width","ultimate-post")}},{position:3,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"contentBg",label:__("Background Color","ultimate-post")},{type:"border",key:"contentBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"contentRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"contentHvrBg",label:__("Icon  Background","ultimate-post")},{type:"border",key:"contentHvrBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"contentHvrRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]}]}}],initialOpen:!1,store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{initialOpen:!0,store:e}),(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e}))))},6864:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1",style:[{depends:[{key:"layout",condition:"==",value:"layout1"}]},{depends:[{key:"layout",condition:"==",value:"layout2"}]}]},iconInline:{type:"boolean",default:!0,style:[{depends:[{key:"iconInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-social-icons-wrapper .block-editor-inner-blocks .block-editor-block-list__layout, \n                {{ULTP}} .ultp-social-icons-wrapper:has( > .wp-block-ultimate-post-social) { display: flex;} \n                {{ULTP}} .ultp-social-icons-wrapper > li:last-child { padding-right: 0px; margin-right: 0px; } \n                {{ULTP}} .block-editor-block-list__layout > div, \n                {{ULTP}} .wp-block-ultimate-post-social { width: auto !important; }"},{depends:[{key:"iconInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-social-icons-wrapper .block-editor-inner-blocks .block-editor-block-list__layout, \n                {{ULTP}} .ultp-social-icons-wrapper:has( > .wp-block-ultimate-post-social) { display: block;}  \n                {{ULTP}} .block-editor-block-list__layout > div, \n                {{ULTP}} .wp-block-ultimate-post-social { width: 100%; }"},{depends:[{key:"layout",condition:"==",value:"layout2"},{key:"enableSeparator",condition:"==",value:!0},{key:"iconInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-social-icons-wrapper .block-editor-inner-blocks .block-editor-block-list__layout, \n                {{ULTP}} .ultp-social-icons-wrapper:has( > .wp-block-ultimate-post-social) { display: flex;} \n                {{ULTP}} .block-editor-block-list__layout>div:last-child li{ padding-right: 0px; margin-right: 0px;}  \n                {{ULTP}} .block-editor-block-list__layout > div, \n                {{ULTP}} .wp-block-ultimate-post-social { width: auto !important; }"},{depends:[{key:"layout",condition:"==",value:"layout2"},{key:"enableSeparator",condition:"==",value:!0},{key:"iconInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-social-icons-wrapper .block-editor-inner-blocks .block-editor-block-list__layout, \n                {{ULTP}} .ultp-social-icons-wrapper:has( > .wp-block-ultimate-post-social) { display: block; }  \n                {{ULTP}} .block-editor-block-list__layout > div, \n                {{ULTP}} .wp-block-ultimate-post-social{ width: 100%; }"}]},iconAlignment:{type:"string",default:"left",style:[{depends:[{key:"iconAlignment",condition:"==",value:"left"},{key:"iconInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social ), \n                {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin-right:  auto; display: flex; flex-direction: column; align-items: flex-start;}"},{depends:[{key:"iconAlignment",condition:"==",value:"right"},{key:"iconInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social ), \n                {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end;}"},{depends:[{key:"iconInline",condition:"==",value:!1},{key:"iconAlignment",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social ), \n                {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin: auto auto; display: flex; flex-direction: column; align-items: center;}"},{depends:[{key:"iconInline",condition:"==",value:!0},{key:"iconAlignment",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social ), \n                {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin: auto auto; display: flex; flex-wrap: wrap; justify-content: center;} \n                {{ULTP}} .ultp-social-icons-wrapper .ultp-social-content { justify-content: center; }"},{depends:[{key:"iconAlignment",condition:"==",value:"left"},{key:"iconInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social ), \n                {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin-right:  auto; display: flex; justify-content: flex-start; flex-wrap: wrap;}"},{depends:[{key:"iconAlignment",condition:"==",value:"right"},{key:"iconInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social ), \n                {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin-left:  auto; display: flex; justify-content: flex-end; flex-wrap: wrap;}"}]},iconSpace:{type:"object",default:{lg:"17",unit:"px"},style:[{selector:"{{ULTP}} > .ultp-social-icons-wrapper > .block-editor-inner-blocks > .block-editor-block-list__layout, \n            {{ULTP}} .ultp-social-icons-wrapper:has( > .wp-block-ultimate-post-social) { gap: {{iconSpace}}; }"}]},iconTextSpace:{type:"object",default:{lg:"12",ulg:"px"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-content { gap:{{iconTextSpace}}; }"}]},enableIcon:{type:"boolean",default:!0},iconPosition:{type:"string",default:"center",style:[{depends:[{key:"enableIcon",condition:"==",value:!0}],selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-content { align-items:{{iconPosition}}; }"}]},imgRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"socialIconsType",condition:"==",value:"image"}],selector:"{{ULTP}} .wp-block-ultimate-post-social img { border-radius: {{imgRadius}}; }"}]},iconSize:{type:"string"},iconBgSize:{type:"string"},iconSize2:{type:"object",default:{lg:18,replace:1},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg svg, \n            {{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg img { height:{{iconSize2}}px; width:{{iconSize2}}px; }"}]},iconBgSize2:{type:"object",default:{lg:"",replace:1},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg { height:{{iconBgSize2}}px; width:{{iconBgSize2}}px; }"}]},iconColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg svg { fill: {{iconColor}}; }"}]},iconBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg { background-color: {{iconBg}}; }"}]},iconBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg"}]},iconRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"},unit:"px"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg { border-radius: {{iconRadius}}; }"}]},iconHvrColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg:hover svg { fill: {{iconHvrColor}}; }"}]},iconHvrBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg:hover { background-color: {{iconHvrBg}}; }"}]},iconHvrBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg:hover"}]},iconHvrRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-bg:hover { border-radius: {{iconHvrRadius}}; }"}]},enableText:{type:"boolean",default:!0,style:[{depends:[{key:"enableText",condition:"==",value:!0}]},{depends:[{key:"enableText",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-social-content { display: block !important; }"}]},textTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:"24",unit:"px"},decoration:"none",family:"",weight:400},style:[{selector:"{{ULTP}}  .ultp-social-title, {{ULTP}}  .ultp-social-title a"}]},textColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-social-title, {{ULTP}} .ultp-social-title a { color: {{textColor}}; }"}]},textHvrColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper  > .wp-block-ultimate-post-social:hover .ultp-social-title, \n            {{ULTP}} .ultp-social-icons-wrapper  > .wp-block-ultimate-post-social:hover .ultp-social-title a, \n            {{ULTP}} .block-editor-block-list__block:hover > .wp-block-ultimate-post-social .ultp-social-title, \n            {{ULTP}} .block-editor-block-list__block:hover > .wp-block-ultimate-post-social .ultp-social-title a { color: {{textHvrColor}}; }"}]},contentPadding:{type:"object",default:{lg:{top:"2",bottom:"2",left:"6",right:"6",unit:"px"}},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social  .ultp-social-content { padding: {{contentPadding}}; }"}]},contentBg:{type:"object",default:{openColor:0,type:"color",color:"var(--postx_preset_Base_2_color)",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-content"}]},contentBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"var(--postx_preset_Contrast_2_color)"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-content"}]},contentRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-content {border-radius: {{contentRadius}}}"}]},contentHvrBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-content:hover"}]},contentHvrBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-content:hover"}]},contentHvrRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"},unit:"px"},style:[{selector:"{{ULTP}} .wp-block-ultimate-post-social .ultp-social-content:hover { border-radius: {{contentHvrRadius}}; }"}]},contentFullWidth:{type:"boolean",default:!1,style:[{depends:[{key:"iconInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-social-icons-wrapper .block-editor-inner-blocks > .block-editor-block-list__layout, \n                {{ULTP}}.wp-block-ultimate-post-social-icons .ultp-social-icons-wrapper { width: 100%; max-width: 100%; }"}]},wrapBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5"},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social), \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout"}]},wrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social), \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout"}]},wrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social), \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout"}]},wrapRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social), \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { border-radius:{{wrapRadius}}; }"}]},wrapHoverBackground:{type:"object",default:{openColor:0,type:"color",color:"#037fff"},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social):hover, \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout:hover"}]},wrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social):hover, \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout:hover"}]},wrapHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social):hover, \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout:hover { border-radius:{{wrapHoverRadius}}; }"}]},wrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social):hover, \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout:hover"}]},wrapMargin:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social), \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { margin:{{wrapMargin}}; }"}]},wrapOuterPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper:has(> .wp-block-ultimate-post-social), \n            {{ULTP}} .ultp-social-icons-wrapper > .block-editor-inner-blocks .block-editor-block-list__layout { padding:{{wrapOuterPadding}}; }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-social-icons-wrapper {z-index:{{advanceZindex}};}"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},400:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(553),n=l(6098),r=l(6864);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks;(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/social-icon-block/","block_docs"),s("ultimate-post/social-icons",{title:__("Social Icons","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/social_icons.svg",alt:"Social Icons"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Display customizable Social Icons that link to your social profiles","ultimate-post")),keywords:[__("social","ultimate-post"),__("icon","ultimate-post")],attributes:r.Z,supports:{html:!1,reusable:!1},edit:i.Z,save:n.Z})},5616:(e,t,l)=>{"use strict";l.d(t,{Z:()=>w});var o=l(7462),a=l(7294),i=l(9838),n=l(1557),r=l(3245),s=l(3049),p=l(8764),c=l(1760);const{__}=wp.i18n,{InspectorControls:u,RichText:d}=wp.blockEditor,{useState:m,useEffect:g,Fragment:y}=wp.element,{Dropdown:b}=wp.components,{createBlock:v}=wp.blocks,{select:h}=wp.data,{getBlockAttributes:f,getBlockRootClientId:k}=wp.data.select("core/block-editor");function w(e){const[t,l]=m("Content"),{setAttributes:w,className:x,name:T,attributes:S,clientId:P,attributes:{blockId:C,advanceId:E,socialText:_,customImg:L,socialIconType:I,customIcon:U,btnLink:B,enableSubText:M,socialSubText:A}}=e;g((()=>{const e=P.substr(0,6),t=f(k(P));C?C&&C!=e&&(t?.hasOwnProperty("ref")||(0,s.k0)()||t?.hasOwnProperty("theme")||w({blockId:e})):w({blockId:e})}),[P]);const H={setAttributes:w,name:T,attributes:S,setSection:l,section:t,clientId:P};let N;C&&(N=(0,i.Kh)(S,"ultimate-post/social",C,(0,s.k0)()));const j=h("core/block-editor").getBlockParents(P),O=h("core/block-editor").getBlockAttributes(j[j.length-1]),{enableText:Z,enableIcon:R}=O;function D(e){return I==e}w({enableText:Z,enableIcon:R});const F=D("image"),z=D("icon");return(0,a.createElement)(y,null,(0,a.createElement)(u,null,(0,a.createElement)(p.Z,{store:H})),(0,a.createElement)(c.Z,{include:[{type:"linkbutton",key:"btnLink",onlyLink:!0,value:B,placeholder:"Enter Social URL",label:__("Social Url","ultimate-post")}],store:H}),(0,a.createElement)("li",(0,o.Z)({},E&&{id:E},{className:`ultp-block-${C} ${x}`}),N&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:N}}),(0,a.createElement)("a",{href:"#",className:"ultp-social-content"},(0,a.createElement)(y,null,F&&R&&(0,a.createElement)("div",{className:"ultp-social-bg"},(0,a.createElement)("img",{src:L.url||"#",alt:"Social Image"})),z&&R&&(0,a.createElement)(b,{popoverProps:{placement:"bottom-start"},className:"ultp-social-dropdown",renderToggle:({onToggle:e,onClose:t})=>(0,a.createElement)("div",{onClick:()=>e(),className:"ultp-social-bg"},r.ZP[U]),renderContent:()=>(0,a.createElement)(n.Z,{inline:!0,value:U,isSocial:!0,label:"Update Single Icon",dynamicClass:" ",onChange:e=>H.setAttributes({customIcon:e,socialIconType:"icon"})})}),(0,a.createElement)("div",{className:"ultp-social-title-container"},Z&&(0,a.createElement)("div",{className:"ultp-social-title"},(0,a.createElement)(d,{key:"editable",tagName:"div",keepPlaceholderOnFocus:!0,placeholder:__("Label...","ultimate-post"),onChange:e=>w({socialText:e}),onReplace:(e,t,l)=>wp.data.dispatch("core/block-editor").replaceBlocks(P,e,t,l),onSplit:e=>v("ultimate-post/social",{...S,socialText:e}),value:_})),Z&&M&&(0,a.createElement)("div",{className:"ultp-social-sub-title"},(0,a.createElement)(d,{key:"editable",tagName:"div",keepPlaceholderOnFocus:!0,placeholder:__("Sub Text...","ultimate-post"),onChange:e=>w({socialSubText:e}),value:A})))))))}},1030:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7462),a=l(7294),i=l(3245);const{Fragment:n}=wp.element;function r(e){const{blockId:t,advanceId:l,socialText:r,customImg:s,socialIconType:p,enableText:c,customIcon:u,enableIcon:d,btnLink:m,btnLinkTarget:g,btnLinkDownload:y,btnLinkNoFollow:b,btnLinkSponsored:v,enableSubText:h,socialSubText:f}=e.attributes;function k(e){return p==e}const w=k("image"),x=k("icon");let T="noopener";return T+=b?" nofollow":"",T+=v?" sponsored":"",(0,a.createElement)("li",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t}`}),(0,a.createElement)("a",(0,o.Z)({href:"",className:"ultp-social-content"},m.url&&{href:m.url,target:g},{rel:T,download:y&&"download"}),(0,a.createElement)(n,null,w&&d&&(0,a.createElement)("div",{className:"ultp-social-bg"},(0,a.createElement)("img",{src:s.url,alt:"Social Image"})),x&&d&&(0,a.createElement)("div",{className:"ultp-social-bg"},i.ZP[u]),(0,a.createElement)("div",{className:"ultp-social-title-container"},c&&(0,a.createElement)("div",{className:"ultp-social-title",dangerouslySetInnerHTML:{__html:r}}),c&&h&&(0,a.createElement)("div",{className:"ultp-social-sub-title",dangerouslySetInnerHTML:{__html:f}})))))}},8764:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"button",title:__("Icon","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:1,data:{type:"linkbutton",key:"btnLink",onlyLink:!0,placeholder:"Enter Social URL",label:__("Social Url","ultimate-post")}},{position:2,data:{type:"tag",key:"socialIconType",label:__("Icon Type","ultimate-post"),options:[{value:"icon",label:__("Icon","ultimate-post")},{value:"image",label:__("Image","ultimate-post")},{value:"none",label:__("None","ultimate-post")}]}},{position:5,data:{type:"icon",key:"customIcon",isSocial:!0,label:__("Icon Store","ultimate-post")}},{position:10,data:{type:"media",key:"customImg",label:__("Upload Custom Image","ultimate-post")}},{position:11,data:{type:"color2",key:"contentBg",label:__("Content Background","ultimate-post")}},{position:15,data:{type:"separator",label:__("Icon Style","ultimate-post")}},{position:20,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"iconColor",label:__("Icon Color","ultimate-post")},{type:"color",key:"iconBg",label:__("Icon  Background","ultimate-post")},{type:"border",key:"iconBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"iconHvrColor",label:__("Icon Hover Color","ultimate-post")},{type:"color",key:"iconHvrBg",label:__("Icon Hover Background","ultimate-post")},{type:"border",key:"iconHvrBorder",label:__("Hover Border","ultimate-post")}]}]}}],initialOpen:!0,store:e}),(0,o.createElement)(a.T,{title:__("Text","ultimate-post"),include:[{position:1,data:{type:"color",key:"socialTextColor",label:__("Text Color","ultimate-post")}},{position:2,data:{type:"color",key:"socialTextHoverColor",label:__("Text Hover Color","ultimate-post")}},{position:3,data:{type:"toggle",key:"enableSubText",label:__("Enable Sub Text","ultimate-post")}},{position:4,data:{type:"color",key:"socialSubTextColor",label:__("SubText Color","ultimate-post")}},{position:5,data:{type:"typography",key:"subTextTypo",label:__("SubText Typography","ultimate-post")}}],initialOpen:!1,store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.Mg,{store:e}),(0,o.createElement)(a.iv,{store:e})))},4751:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},enableText:{type:"boolean",default:!0},enableIcon:{type:"boolean",default:!0},btnLink:{type:"object",default:{url:"#"}},btnLinkTarget:{type:"string",default:"_blank"},btnLinkNoFollow:{type:"boolean",default:!1},btnLinkSponsored:{type:"boolean",default:!1},btnLinkDownload:{type:"boolean",default:!1},socialText:{type:"string",default:"WordPress"},socialIconType:{type:"string",default:"icon",style:[{depends:[{key:"enableIcon",condition:"==",value:!0}]}]},customIcon:{type:"string",default:"wordpress_solid",style:[{depends:[{key:"socialIconType",condition:"==",value:"icon"}]}]},customImg:{type:"object",default:"",style:[{depends:[{key:"socialIconType",condition:"==",value:"image"}]}]},contentBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5",size:"cover",repeat:"no-repeat"},style:[{selector:"{{ULTP}}.wp-block-ultimate-post-social .ultp-social-content"}]},iconColor:{type:"string",default:"",style:[{depends:[{key:"socialIconType",condition:"==",value:"icon"}],selector:"{{ULTP}} .ultp-social-content .ultp-social-bg svg { fill:{{iconColor}}; }"}]},iconBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-social-content .ultp-social-bg { background-color:{{iconBg}}; }"}]},iconBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{selector:"{{ULTP}} .ultp-social-content .ultp-social-bg"}]},iconHvrColor:{type:"string",default:"",style:[{depends:[{key:"socialIconType",condition:"==",value:"icon"}],selector:"{{ULTP}} .ultp-social-content:hover .ultp-social-bg svg { fill:{{iconHvrColor}}; }"}]},iconHvrBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-social-content .ultp-social-bg:hover { background: {{iconHvrBg}};}"}]},iconHvrBorder:{type:"object",default:{openBorder:0,width:{top:2,right:2,bottom:2,left:2},color:"#dfdfdf"},style:[{selector:"{{ULTP}} .ultp-social-content .ultp-social-bg:hover"}]},socialTextColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-social-title, {{ULTP}} .ultp-social-title a { color:{{socialTextColor}}; } "}]},socialTextHoverColor:{type:"string",default:"",style:[{selector:".ultp-social-icons-wrapper > {{ULTP}}.wp-block-ultimate-post-social:hover .ultp-social-title, \n            .ultp-social-icons-wrapper > {{ULTP}}.wp-block-ultimate-post-social:hover .ultp-social-title a, \n            .block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-social .ultp-social-title, \n            .block-editor-block-list__block:hover > {{ULTP}}.wp-block-ultimate-post-social .ultp-social-title a { color:{{socialTextHoverColor}}; } "}]},enableSubText:{type:"boolean",default:!1},subTextTypo:{type:"object",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"24",unit:"px"},decoration:"none",family:"",weight:400},style:[{depends:[{key:"enableSubText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-social-sub-title"}]},socialSubText:{type:"string",default:"Sub Text"},socialSubTextColor:{type:"string",default:"",style:[{depends:[{key:"enableSubText",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-social-sub-title { color:{{socialSubTextColor}}; } "}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"div:has(> {{ULTP}}) {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"div:has(> {{ULTP}}) {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"div:has(> {{ULTP}}) {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},1807:(e,t,l)=>{"use strict";var o=l(7294),a=l(5616),i=l(1030),n=l(4751);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;r("ultimate-post/social",{title:__("Social item","ultimate-post"),parent:["ultimate-post/social-icons"],icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/social.svg",alt:"Social item"}),category:"ultimate-post",description:__("Create & customize a Social icon.","ultimate-post"),keywords:[__("link","ultimate-post"),__("social","ultimate-post")],supports:{reusable:!1,html:!1},attributes:n.Z,edit:a.Z,save:i.Z})},1645:(e,t,l)=>{"use strict";l.d(t,{Z:()=>y});var o=l(7462),a=l(7294),i=l(3372),n=l(1760),r=l(9838),s=l(3049);const{__}=wp.i18n,{useEffect:p,useState:c,Fragment:u}=wp.element,{getBlockAttributes:d,getBlockRootClientId:m}=wp.data.select("core/block-editor"),{RichText:g}=wp.blockEditor;function y(e){const[t,l]=c("Content"),{setAttributes:y,name:v,className:h,attributes:f,clientId:k,attributes:{blockId:w,previewImg:x,advanceId:T,currentPostId:S,starType:P,enableTitle:C,titleText:E,startRange:_,smallRange:L,largeRange:I}}=e;p((()=>{const e=k.substr(0,6),t=d(m(k));(0,s.qi)(y,t,S,k),w?w&&w!=e&&(t?.hasOwnProperty("ref")||(0,s.k0)()||t?.hasOwnProperty("theme")||y({blockId:e})):y({blockId:e}),y({className:h})}),[k]);const U={setAttributes:y,name:v,attributes:f,setSection:l,section:t,clientId:k};let B;if(w&&(B=(0,r.Kh)(f,"ultimate-post/star-rating",w,(0,s.k0)())),x)return(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:x});let M="small"==_?L:I;const[A,H]=c(M);p((()=>{H(M)}),[_,L,I]);const[N,j]=c(null),O=null!=N?N:A,Z=null!=N?N:M;return(0,a.createElement)(u,null,(0,a.createElement)(i.Z,{store:U}),(0,a.createElement)(n.Z,{include:[{type:"template"}],store:U}),(0,a.createElement)("div",(0,o.Z)({},T&&{id:T},{className:`ultp-block-${w} ${h}`}),B&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:B}}),(0,a.createElement)("div",{className:"ultp-block-wrapper ultp-rating-block"},(0,a.createElement)("div",{className:"ultp-rating-icon"},Array("small"==_?5:10).fill().map(((e,t)=>{const l=O>=t+1?Z>t?100*(Z-t):0:O>t?100*(O-t):0;return(0,a.createElement)(u,{key:t},(0,a.createElement)(b,{index:t,id:`${t}${k}`,range:l,type:P,onHover:j,onClick:H,setAttributes:y}))}))),C&&(0,a.createElement)(g,{key:"editable",tagName:"div",className:"ultp-rating-title",keepplaceholderonfocus:"true",allowedFormats:["ultimate-post/dynamic-content"],placeholder:__("Write Message","ultimate-post"),onChange:e=>y({titleText:e}),value:E}))))}const b=({index:e,range:t,onHover:l,onClick:o,setAttributes:i,type:n,id:r})=>{const s=`clip-${r}`,p=t=>{const{left:o,width:a}=t.currentTarget.getBoundingClientRect(),i=(t.clientX-o)/a;l(i<=.5?e+.5:e+1)},c=t=>{const{left:l,width:a}=t.currentTarget.getBoundingClientRect(),n=(t.clientX-l)/a<=.5?e+.5:e+1;o(n),i({smallRange:`${n}`,largeRange:`${n}`})};return(0,a.createElement)(u,null,"outline"==n?(0,a.createElement)(v,{handleMouseMove:p,handleClick:c,clipId:s,onHover:l,range:t}):(0,a.createElement)(h,{handleMouseMove:p,handleClick:c,onHover:l,clipId:s,range:t}))},v=({range:e,onHover:t,clipId:l,handleMouseMove:o,handleClick:i})=>(0,a.createElement)("svg",{width:"80",height:"80",viewBox:"0 0 20 20",style:{pointerEvents:"auto"},xmlns:"http://www.w3.org/2000/svg",onClick:i,onMouseLeave:()=>t(null),onMouseMove:o},(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:l},(0,a.createElement)("rect",{x:"0",y:"0",width:e/100*20,height:"20"}))),(0,a.createElement)("path",{fill:"none",stroke:"#ddd",strokeWidth:"2",strokeLinejoin:"round",d:"M8.584 2.32723C9.14216 1.12485 10.8589 1.12485 11.417 2.32723L13.1972 6.16205C13.2317 6.23628 13.3041 6.29012 13.3908 6.30033L17.6136 6.79782C18.9289 6.95278 19.4735 8.57699 18.4886 9.48206L15.3649 12.3524C15.3032 12.409 15.2771 12.4916 15.2928 12.5703L16.1218 16.7155C16.3842 18.0278 14.9812 19.0152 13.8302 18.375L10.1221 16.3125C10.0468 16.2706 9.95428 16.2706 9.87898 16.3125L6.17082 18.375C5.0198 19.0152 3.61687 18.0278 3.87929 16.7155L4.70821 12.5703C4.72396 12.4916 4.6978 12.409 4.63614 12.3524L1.51246 9.48206C0.527493 8.57699 1.07216 6.95278 2.38747 6.79782L6.61022 6.30033C6.69696 6.29012 6.76937 6.23628 6.80383 6.16205L8.584 2.32723Z"}),(0,a.createElement)("path",{clipPath:`url(#${l})`,fill:"none",strokeWidth:"2",strokeLinejoin:"round",d:"M8.584 2.32723C9.14216 1.12485 10.8589 1.12485 11.417 2.32723L13.1972 6.16205C13.2317 6.23628 13.3041 6.29012 13.3908 6.30033L17.6136 6.79782C18.9289 6.95278 19.4735 8.57699 18.4886 9.48206L15.3649 12.3524C15.3032 12.409 15.2771 12.4916 15.2928 12.5703L16.1218 16.7155C16.3842 18.0278 14.9812 19.0152 13.8302 18.375L10.1221 16.3125C10.0468 16.2706 9.95428 16.2706 9.87898 16.3125L6.17082 18.375C5.0198 19.0152 3.61687 18.0278 3.87929 16.7155L4.70821 12.5703C4.72396 12.4916 4.6978 12.409 4.63614 12.3524L1.51246 9.48206C0.527493 8.57699 1.07216 6.95278 2.38747 6.79782L6.61022 6.30033C6.69696 6.29012 6.76937 6.23628 6.80383 6.16205L8.584 2.32723Z"})),h=({range:e,onHover:t,clipId:l,handleMouseMove:o,handleClick:i})=>(0,a.createElement)(u,null,(0,a.createElement)("svg",{width:"80",height:"80",viewBox:"0 0 20 20",fill:"none",onMouseMove:o,onMouseLeave:()=>t(null),onClick:i,style:{pointerEvents:"auto"},xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:l},(0,a.createElement)("rect",{x:"0",y:"0",width:e/100*20,height:"20"}))),(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#E0E0E0",d:"M8.584 2.32722C9.14216 1.12485 10.8589 1.12484 11.417 2.32722L13.1972 6.16204C13.2317 6.23627 13.3041 6.29011 13.3908 6.30033L17.6136 6.79781C18.9289 6.95277 19.4735 8.57699 18.4886 9.48205L15.3649 12.3523C15.3032 12.409 15.2771 12.4916 15.2928 12.5703L16.1218 16.7155C16.3842 18.0278 14.9812 19.0152 13.8302 18.375L10.1221 16.3125C10.0468 16.2706 9.95428 16.2706 9.87898 16.3125L6.17082 18.375C5.0198 19.0152 3.61687 18.0278 3.87929 16.7155L4.70821 12.5703C4.72396 12.4916 4.6978 12.409 4.63614 12.3523L1.51246 9.48205C0.527493 8.57699 1.07216 6.95277 2.38747 6.79781L6.61022 6.30033C6.69696 6.29011 6.76937 6.23627 6.80383 6.16204L8.584 2.32722Z"}),(0,a.createElement)("path",{clipPath:`url(#${l})`,fillRule:"evenodd",clipRule:"evenodd",d:"M8.584 2.32722C9.14216 1.12485 10.8589 1.12484 11.417 2.32722L13.1972 6.16204C13.2317 6.23627 13.3041 6.29011 13.3908 6.30033L17.6136 6.79781C18.9289 6.95277 19.4735 8.57699 18.4886 9.48205L15.3649 12.3523C15.3032 12.409 15.2771 12.4916 15.2928 12.5703L16.1218 16.7155C16.3842 18.0278 14.9812 19.0152 13.8302 18.375L10.1221 16.3125C10.0468 16.2706 9.95428 16.2706 9.87898 16.3125L6.17082 18.375C5.0198 19.0152 3.61687 18.0278 3.87929 16.7155L4.70821 12.5703C4.72396 12.4916 4.6978 12.409 4.63614 12.3523L1.51246 9.48205C0.527493 8.57699 1.07216 6.95277 2.38747 6.79781L6.61022 6.30033C6.69696 6.29011 6.76937 6.23627 6.80383 6.16204L8.584 2.32722Z"})))},3939:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7462),a=l(7294);function i(e){const{blockId:t,advanceId:l,enableTitle:i,titleText:s,startRange:p,largeRange:c,smallRange:u,className:d,starType:m}=e.attributes,g="small"===p?5:10,y="small"===p?20*u:10*c;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t} ${d}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper ultp-rating-block"},(0,a.createElement)("div",{className:"ultp-rating-icon"},Array("small"==p?5:10).fill().map(((e,l)=>{const o=100/g,i=Math.min(Math.max(y-l*o,0),o)/o*100;return(0,a.createElement)(a.Fragment,{key:l},"outline"==m?(0,a.createElement)(n,{id:`${l}${t}`,range:i}):(0,a.createElement)(r,{id:`${l}${t}`,range:i}))}))),i&&s?.length?(0,a.createElement)("div",{className:"ultp-rating-title",dangerouslySetInnerHTML:{__html:s}}):"")))}const n=({range:e=100,id:t})=>{const l=`clip-${t}`,o=e/100*20;return(0,a.createElement)("svg",{width:"80",height:"80",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:l},(0,a.createElement)("rect",{x:"0",y:"0",width:`${o}`,height:"20"}))),(0,a.createElement)("path",{fill:"none",stroke:"#ddd",strokeWidth:"2",strokeLinejoin:"round",d:"M8.584 2.32723C9.14216 1.12485 10.8589 1.12485 11.417 2.32723L13.1972 6.16205C13.2317 6.23628 13.3041 6.29012 13.3908 6.30033L17.6136 6.79782C18.9289 6.95278 19.4735 8.57699 18.4886 9.48206L15.3649 12.3524C15.3032 12.409 15.2771 12.4916 15.2928 12.5703L16.1218 16.7155C16.3842 18.0278 14.9812 19.0152 13.8302 18.375L10.1221 16.3125C10.0468 16.2706 9.95428 16.2706 9.87898 16.3125L6.17082 18.375C5.0198 19.0152 3.61687 18.0278 3.87929 16.7155L4.70821 12.5703C4.72396 12.4916 4.6978 12.409 4.63614 12.3524L1.51246 9.48206C0.527493 8.57699 1.07216 6.95278 2.38747 6.79782L6.61022 6.30033C6.69696 6.29012 6.76937 6.23628 6.80383 6.16205L8.584 2.32723Z"}),(0,a.createElement)("path",{clipPath:`url(#${l})`,fill:"none",stroke:"#F17B2C",strokeWidth:"2",strokeLinejoin:"round",d:"M8.584 2.32723C9.14216 1.12485 10.8589 1.12485 11.417 2.32723L13.1972 6.16205C13.2317 6.23628 13.3041 6.29012 13.3908 6.30033L17.6136 6.79782C18.9289 6.95278 19.4735 8.57699 18.4886 9.48206L15.3649 12.3524C15.3032 12.409 15.2771 12.4916 15.2928 12.5703L16.1218 16.7155C16.3842 18.0278 14.9812 19.0152 13.8302 18.375L10.1221 16.3125C10.0468 16.2706 9.95428 16.2706 9.87898 16.3125L6.17082 18.375C5.0198 19.0152 3.61687 18.0278 3.87929 16.7155L4.70821 12.5703C4.72396 12.4916 4.6978 12.409 4.63614 12.3524L1.51246 9.48206C0.527493 8.57699 1.07216 6.95278 2.38747 6.79782L6.61022 6.30033C6.69696 6.29012 6.76937 6.23628 6.80383 6.16205L8.584 2.32723Z"}))},r=({range:e=100,id:t})=>{const l=`clip-${t}`,o=e/100*20;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("svg",{width:"80",height:"80",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:l},(0,a.createElement)("rect",{x:"0",y:"0",height:"20",width:`${o}`}))),(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#E0E0E0",d:"M8.584 2.32722C9.14216 1.12485 10.8589 1.12484 11.417 2.32722L13.1972 6.16204C13.2317 6.23627 13.3041 6.29011 13.3908 6.30033L17.6136 6.79781C18.9289 6.95277 19.4735 8.57699 18.4886 9.48205L15.3649 12.3523C15.3032 12.409 15.2771 12.4916 15.2928 12.5703L16.1218 16.7155C16.3842 18.0278 14.9812 19.0152 13.8302 18.375L10.1221 16.3125C10.0468 16.2706 9.95428 16.2706 9.87898 16.3125L6.17082 18.375C5.0198 19.0152 3.61687 18.0278 3.87929 16.7155L4.70821 12.5703C4.72396 12.4916 4.6978 12.409 4.63614 12.3523L1.51246 9.48205C0.527493 8.57699 1.07216 6.95277 2.38747 6.79781L6.61022 6.30033C6.69696 6.29011 6.76937 6.23627 6.80383 6.16204L8.584 2.32722Z"}),(0,a.createElement)("path",{clipPath:`url(#${l})`,fillRule:"evenodd",clipRule:"evenodd",fill:"#F17B2C",d:"M8.584 2.32722C9.14216 1.12485 10.8589 1.12484 11.417 2.32722L13.1972 6.16204C13.2317 6.23627 13.3041 6.29011 13.3908 6.30033L17.6136 6.79781C18.9289 6.95277 19.4735 8.57699 18.4886 9.48205L15.3649 12.3523C15.3032 12.409 15.2771 12.4916 15.2928 12.5703L16.1218 16.7155C16.3842 18.0278 14.9812 19.0152 13.8302 18.375L10.1221 16.3125C10.0468 16.2706 9.95428 16.2706 9.87898 16.3125L6.17082 18.375C5.0198 19.0152 3.61687 18.0278 3.87929 16.7155L4.70821 12.5703C4.72396 12.4916 4.6978 12.409 4.63614 12.3523L1.51246 9.48205C0.527493 8.57699 1.07216 6.95277 2.38747 6.79781L6.61022 6.30033C6.69696 6.29011 6.76937 6.23627 6.80383 6.16204L8.584 2.32722Z"})))}},3372:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(3581),i=l(2637),n=l(3049);const{__}=wp.i18n,{InspectorControls:r}=wp.blockEditor,s=({store:e})=>(0,o.createElement)(r,null,(0,o.createElement)(a.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid8858",store:e}),(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"general",title:__("General","ultimate-post")},(0,o.createElement)(n.T,{initialOpen:!0,store:e,title:"inline",include:[{position:1,data:{type:"tag",key:"starType",inline:!0,label:__("Rating Style","ultimate-post"),options:[{value:"fill",label:__("Fill","ultimate-post")},{value:"outline",label:__("Outline","ultimate-post")}]}},{position:2,data:{type:"group",key:"startRange",justify:!0,label:__("Range","ultimate-post"),options:[{value:"small",label:__("1-5","ultimate-post")},{value:"large",label:__("1-10","ultimate-post")}]}},{position:3,data:{type:"range",key:"smallRange",min:0,max:5,step:.1,responsive:!1,label:__("Rating Range","ultimate-post")}},{position:4,data:{type:"range",key:"largeRange",min:0,max:10,step:.1,responsive:!1,label:__("Rating Range","ultimate-post")}},{position:5,data:{type:"alignment",key:"contentAlignment",disableJustify:!0,responsive:!0,icons:["juststart","justcenter","justend"],options:["flex-start","center","flex-end"],label:__("Alignment","ultimate-post")}},{position:6,data:{type:"toggle",key:"enableTitle",label:__("Enable Title","ultimate-post")}},{position:7,data:{type:"tag",key:"starPosition",label:__("Star Position","ultimate-post"),options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")},{value:"top",label:__("Top","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]}}]})),(0,o.createElement)(i.Section,{slug:"style",title:__("Style","ultimate-post")},(0,o.createElement)(n.T,{initialOpen:!0,store:e,title:__("Star Style","ultimate-post"),include:[{position:1,data:{type:"color",key:"starColor",label:__("Color","ultimate-post")}},{position:2,data:{type:"color",key:"unmarkedColor",label:__("Unmarked Color","ultimate-post")}},{position:3,data:{type:"range",key:"starSize",min:0,max:300,step:1,responsive:!0,label:__("Star Size","ultimate-post")}},{position:4,data:{type:"range",key:"starGap",min:0,max:300,step:1,responsive:!0,label:__("Gap Between Stars","ultimate-post")}}]}),(0,o.createElement)(n.T,{store:e,title:__("Title Style","ultimate-post"),include:[{position:1,data:{type:"typography",key:"titleTypo",label:__("Title Typography","ultimate-post")}},{position:2,data:{type:"color",key:"titleColor",label:__("color","ultimate-post")}},{position:3,data:{type:"range",key:"titleGap",min:0,max:300,step:1,responsive:!0,label:__("Gap Between Title and star","ultimate-post")}}]})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(n.Mg,{pro:!0,store:e}),(0,o.createElement)(n.iv,{store:e}))))},7509:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},accordionList:{type:"string",default:""},starType:{type:"string",default:"outline"},enableTitle:{type:"boolean",default:!0},titleText:{type:"string",default:""},startRange:{type:"string",default:"small"},smallRange:{type:"string",default:"2.5",style:[{depends:[{key:"startRange",condition:"==",value:"small"}]}]},largeRange:{type:"string",default:"2.5",style:[{depends:[{key:"startRange",condition:"==",value:"large"}]}]},starPosition:{type:"string",default:"left",style:[{depends:[{key:"enableTitle",condition:"==",value:!0},{key:"starPosition",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-rating-block { flex-direction: row-reverse }"},{depends:[{key:"enableTitle",condition:"==",value:!0},{key:"starPosition",condition:"==",value:"right"}]},{depends:[{key:"enableTitle",condition:"==",value:!0},{key:"starPosition",condition:"==",value:"top"}],selector:"{{ULTP}} .ultp-rating-block { flex-direction: column-reverse; }"},{depends:[{key:"enableTitle",condition:"==",value:!0},{key:"starPosition",condition:"==",value:"bottom"}],selector:"{{ULTP}} .ultp-rating-block { flex-direction: column; }"}]},contentAlignment:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} { justify-content:{{contentAlignment}}; }"}]},starColor:{type:"string",default:"#F17B2C",style:[{depends:[{key:"starType",condition:"==",value:"outline"}],selector:"{{ULTP}} .ultp-rating-block svg path:last-of-type { stroke: {{starColor}}; }"},{depends:[{key:"starType",condition:"==",value:"fill"}],selector:"{{ULTP}} .ultp-rating-block svg path:last-of-type { stroke:{{starColor}}; fill:{{starColor}}; }"}]},unmarkedColor:{type:"string",default:"#B4B7BF",style:[{depends:[{key:"starType",condition:"==",value:"outline"}],selector:"{{ULTP}} .ultp-rating-block svg path:first-of-type { stroke: {{unmarkedColor}}; }"},{depends:[{key:"starType",condition:"==",value:"fill"}],selector:"{{ULTP}} .ultp-rating-block svg path:first-of-type { stroke: {{unmarkedColor}}; fill: {{unmarkedColor}}; }"}]},starSize:{type:"object",default:{lg:"20",unit:"px"},style:[{selector:"{{ULTP}} .ultp-rating-block svg { height:{{starSize}}; width:{{starSize}}; }"}]},starGap:{type:"object",default:{lg:"8",unit:"px"},style:[{selector:"{{ULTP}} .ultp-rating-icon { gap: {{starGap}}; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:"22",unit:"px"},decoration:"none",family:"",weight:400},style:[{depends:[{key:"enableTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-rating-title"}]},titleColor:{type:"string",default:"#3C3C4399",style:[{depends:[{key:"enableTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-rating-title { color:{{titleColor}}; }"}]},titleGap:{type:"object",default:{lg:"12",unit:"px"},style:[{depends:[{key:"enableTitle",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-rating-block { gap:{{titleGap}}; }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-wrapper {z-index: {{advanceZindex}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},5562:(e,t,l)=>{"use strict";var o=l(7294),a=l(1645),i=l(3939),n=l(7509);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;r("ultimate-post/star-rating",{title:__("Star Ratings","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/star-rating.svg",alt:"Postx Star Rating Block"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Show ratings and reviews on your website.","ultimate-post")),keywords:[__("star ratings","ultimate-post"),__("rating","ultimate-post"),__("rating star","ultimate-post"),__("review","ultimate-post")],supports:{align:["wide","full"],reusable:!0},attributes:n.Z,example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/rating.svg"}},edit:a.Z,save:i.Z})},9233:(e,t,l)=>{"use strict";l.d(t,{Z:()=>x});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(3245),s=l(2637),p=l(3581),c=l(1760);const{__}=wp.i18n,{InspectorControls:u,RichText:d,BlockControls:m}=wp.blockEditor,{useEffect:g,useState:y,Fragment:b}=wp.element,{Toolbar:v,Button:h}=wp.components,{getBlocks:f}=wp.data.select("core/block-editor"),{getBlockAttributes:k,getBlockRootClientId:w}=wp.data.select("core/block-editor");function x(e){const[t,l]=y("Content"),{setAttributes:x,name:T,attributes:S,clientId:P,className:C,attributes:{previewImg:E,blockId:_,tag:L,advanceId:I,headText:U,layout:B,collapsible:M,collapsibleType:A,togglePosition:H,topTop:N,toTopIcon:j,sticky:O,listData:Z,open:R,close:D,initialCollapsible:F,currentPostId:z}}=e;function W(e){return e.replace(/<\/?[^>]+(>|$)|(amp;)/g,"")}function G(e,t=!0){let l=[];const o=JSON.parse(L||[]);return e.forEach((e=>{if("core/heading"==e.name||"kadence/advancedheading"==e.name){const a=e.attributes.content.replace(/(<\/?[^>]+(>|$))|[_|.$'`*&"#!~@%)(]/g,""),i=void 0!==e.attributes.anchor&&t?e.attributes.anchor:a.replace(/( |<.+?>|&nbsp;)/g,"_");e.attributes.anchor=i,a&&o.includes("h"+e.attributes.level)&&l.push({content:W(e.attributes.content),level:e.attributes.level,link:i})}else if("greenshift-blocks/heading"==e.name){const a=e.attributes.headingContent.replace(/(<\/?[^>]+(>|$))|[_|.$'`*&"#!~@%)(]/g,""),i=void 0!==e.attributes.id&&t?e.attributes.id:a.replace(/( |<.+?>|&nbsp;)/g,"_");e.attributes.id=i,a&&o.includes(e.attributes.headingTag)&&l.push({content:W(e.attributes.headingContent),level:Number(e.attributes.headingTag.replace("h","")),link:"gspb_heading-id-"+i})}else if("ultimate-post/heading"==e.name){const a=e.attributes.headingText.replace(/(<\/?[^>]+(>|$))|[_|.$'`*&"#!~@%)(]/g,""),i=""!=e.attributes.advanceId&&t?e.attributes.advanceId:a.replace(/( |<.+?>|&nbsp;)/g,"_");e.attributes.advanceId=i,a&&o.includes(e.attributes.headingTag)&&l.push({content:W(e.attributes.headingText),level:Number(e.attributes.headingTag.replace("h","")),link:i})}else if("uagb/advanced-heading"==e.name){const a=e.attributes.headingTitle.replace(/(<\/?[^>]+(>|$))|[_|.$'`*&"#!~@%)(]/g,""),i=void 0!==e.attributes.anchor&&t?e.attributes.anchor:a.replace(/( |<.+?>|&nbsp;)/g,"_");e.attributes.anchor=i,a&&o.includes(e.attributes.headingTag)&&l.push({content:W(e.attributes.headingTitle),level:e.attributes.level,link:i})}else if("uagb/container"==e.name)e.innerBlocks?.length&&(l=[...l,...G(e.innerBlocks)]);else if("ugb/heading"==e.name){const a=e.attributes.title.replace(/(<\/?[^>]+(>|$))|[_|.$'`*&"#!~@%)(]/g,""),i=void 0!==e.attributes.anchor&&t?e.attributes.anchor:a.replace(/( |<.+?>|&nbsp;)/g,"_");if(e.attributes.anchor=i,a){const t=e.attributes.titleTag?e.attributes.titleTag:"h2";o.includes(t)&&l.push({content:W(e.attributes.title),level:Number(t.replace("h","")),link:i})}}else if("ultimate-post/post-grid-1"==e.name||"ultimate-post/post-grid-2"==e.name||"ultimate-post/post-grid-3"==e.name||"ultimate-post/post-grid-4"==e.name||"ultimate-post/post-grid-5"==e.name||"ultimate-post/post-grid-6"==e.name||"ultimate-post/post-grid-7"==e.name||"ultimate-post/post-list-1"==e.name||"ultimate-post/post-list-2"==e.name||"ultimate-post/post-list-3"==e.name||"ultimate-post/post-list-4"==e.name||"ultimate-post/post-module-1"==e.name||"ultimate-post/post-module-2"==e.name||"ultimate-post/post-slider-1"==e.name){if(e.attributes.headingText&&e.attributes.headingShow){let t=e.attributes.headingText.replace(/(<\/?[^>]+(>|$))|[_|.$'`*&"#!~@%)(]/g,"");const o=t.replace(/( |<.+?>|&nbsp;)/g,"_");e.attributes.advanceId=o,t&&l.push({content:W(e.attributes.headingText),level:Number(e.attributes.headingTag.replace("h","")),link:o})}}else"ultimate-post/row"==e.name||"ultimate-post/column"==e.name?e.innerBlocks?.length&&(l=[...l,...G(e.innerBlocks)]):"core/columns"==e.name?e.innerBlocks.forEach((e=>{"core/column"==e.name&&(l=[...l,...G(e.innerBlocks)])})):"core/group"==e.name?e.innerBlocks?.length&&(l=[...l,...G(e.innerBlocks)]):"ub/content-toggle-block"==e.name&&e.innerBlocks.forEach((e=>{if("ub/content-toggle-panel-block"==e.name&&e.attributes.panelTitle){const t=e.attributes.panelTitle.replace(/(<\/?[^>]+(>|$))|[_|.$'`*&"#!~@%)(]/g,"").replace(/( |<.+?>|&nbsp;)/g,"_"),a=e.attributes.titleTag?e.attributes.titleTag:"h2";e.attributes.toggleID=t,o.includes(a)&&l.push({content:W(e.attributes.panelTitle),level:Number(a.replace("h","")),link:t})}}))})),l}g((()=>{const e=P.substr(0,6),t=k(w(P));(0,i.qi)(x,t,z,P),_?_&&_!=e&&(t?.hasOwnProperty("ref")||(0,i.k0)()||t?.hasOwnProperty("theme")||x({blockId:e})):x({blockId:e})}),[P]),g((()=>{!function(){let e=G(f());function t(e,l){let o=e.length-1;0===e.length||e[0].level===l.level?e.push(Object.assign({},l)):e[o].level<l.level?e[o].child?t(e[o].child,l):e[o].child=[Object.assign({},l)]:e[o+1]=l}var l=[];e.forEach((e=>t(l,e))),x({listData:JSON.stringify(l)})}()}),[S]);const V={setAttributes:x,name:T,attributes:S,setSection:l,section:t,clientId:P};let q;return _&&(q=(0,n.Kh)(S,"ultimate-post/table-of-content",_,(0,i.k0)())),E?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:E}):(0,a.createElement)(b,null,(0,a.createElement)(m,null,(0,a.createElement)(v,null,(0,a.createElement)(h,{label:"Reset",className:"ultp-btn-reset",icon:"image-rotate","aria-haspopup":"true",tooltip:"Reset Table of Content",onClick:()=>G(f(),!1)},"Reset"))),(0,a.createElement)(u,null,(0,a.createElement)(p.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6822",store:V}),(0,a.createElement)(s.Sections,null,(0,a.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.T,{initialOpen:!0,store:V,title:"General",include:[{position:0,data:{type:"layout",block:"table-of-content",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/toc/toc1.png",label:__("Style 1","ultimate-post"),value:"style1",pro:!1},{img:"assets/img/layouts/toc/toc2.png",label:__("Style 2","ultimate-post"),value:"style2",pro:!1},{img:"assets/img/layouts/toc/toc3.png",label:__("Style 3","ultimate-post"),value:"style3",pro:!0},{img:"assets/img/layouts/toc/toc4.png",label:__("Style 4","ultimate-post"),value:"style4",pro:!0},{img:"assets/img/layouts/toc/toc5.png",label:__("Style 5","ultimate-post"),value:"style5",pro:!0},{img:"assets/img/layouts/toc/toc6.png",label:__("Style 6","ultimate-post"),value:"style6",pro:!0},{img:"assets/img/layouts/toc/toc7.png",label:__("Style 7","ultimate-post"),value:"style7",pro:!0},{img:"assets/img/layouts/toc/toc8.png",label:__("Style 8","ultimate-post"),value:"style8",pro:!0}]}},{position:1,data:{type:"select",key:"tag",label:__("Tag","ultimate-post"),multiple:!0,options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"}]}},{position:2,data:{type:"toggle",key:"initialCollapsible",label:__("Initial Close Table","ultimate-post")}}]}),(0,a.createElement)(i.T,{initialOpen:!1,store:V,title:"Heading",include:[{position:1,data:{type:"text",key:"headText",label:__("Header Text","ultimate-post")}},{position:2,data:{type:"color",key:"headColor",label:__("Color","ultimate-post")}},{position:3,data:{type:"color",key:"headBg",label:__("Background","ultimate-post")}},{position:4,data:{type:"typography",key:"headTypo",label:__("Typography","ultimate-post")}},{position:5,data:{type:"border",key:"headBorder",label:__("Border","ultimate-post")}},{position:6,data:{type:"dimension",key:"headRadius",label:__("Button Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:7,data:{type:"dimension",key:"headPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}]}),(0,a.createElement)(i.T,{initialOpen:!1,store:V,title:__("List Body","ultimate-post"),include:[{position:1,data:{type:"select",key:"hoverStyle",label:__("Hover Style","ultimate-post"),pro:!0,options:[{value:"none",label:"Select"},{value:"style1",label:"Style 1"},{value:"style2",label:"Style 2"},{value:"style3",label:"Style 3"},{value:"style4",label:"Style 4"},{value:"style5",label:"Style 5"}]}},{position:2,data:{type:"range",key:"borderWidth",label:__("Border Width","ultimate-post"),min:0,max:10,step:1,unit:!1,responsive:!1}},{position:3,data:{type:"color",key:"borderColor",label:__("Border Color","ultimate-post")}},{position:4,data:{type:"toggle",key:"sticky",pro:!0,label:__("Enable Sticky","ultimate-post")}},{position:5,data:{type:"tag",key:"stickyPosition",label:__("Sticky Position","ultimate-post"),options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")},{value:"top",label:__("Top","ultimate-post")}]}},{position:6,data:{type:"range",key:"listWidth",label:__("Width","ultimate-post"),min:0,max:700,step:1,unit:!0,responsive:!0}},{position:7,data:{type:"range",key:"listSpacingX",label:__("Gap Between Lists","ultimate-post"),min:0,max:50,step:1,unit:!1,responsive:!0}},{position:8,data:{type:"range",key:"listSpacingY",label:__("Spacing Y","ultimate-post"),min:0,max:100,step:1,unit:!1,responsive:!0}},{position:9,data:{type:"color",key:"listColor",label:__("Color","ultimate-post")}},{position:10,data:{type:"color",key:"listHoverColor",label:__("Hover Color","ultimate-post")}},{position:11,data:{type:"color",key:"listBg",label:__("Background Color","ultimate-post")}},{position:12,data:{type:"typography",key:"listTypo",label:__("Typography","ultimate-post")}},{position:13,data:{type:"dimension",key:"listPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}]}),(0,a.createElement)(i.T,{depend:"collapsible",initialOpen:!1,store:V,title:__("Collapsible","ultimate-post"),include:[{position:1,data:{type:"tag",key:"togglePosition",label:__("Button Position","ultimate-post"),options:[{value:"withTitle",label:__("Beside Title","ultimate-post")},{value:"right",label:__("Right","ultimate-post")}]}},{position:2,data:{type:"tag",key:"collapsibleType",label:__("Collapsible Type","ultimate-post"),options:[{value:"text",label:__("Text","ultimate-post")},{value:"icon",label:__("Icon","ultimate-post")}]}},{position:3,data:{type:"text",key:"open",label:__("Open Text","ultimate-post")}},{position:4,data:{type:"text",key:"close",label:__("Close Text","ultimate-post")}},{position:6,data:{type:"color",key:"collapsibleColor",label:__("Color","ultimate-post")}},{position:7,data:{type:"color",key:"collapsibleBg",label:__("Background","ultimate-post")}},{position:8,data:{type:"color",key:"collapsibleHoverColor",label:__("Hover Color","ultimate-post")}},{position:9,data:{type:"color",key:"collapsibleHoverBg",label:__("Hover Background","ultimate-post")}},{position:10,data:{type:"typography",key:"collapsibleTypo",label:__("Typography","ultimate-post")}},{position:11,data:{type:"border",key:"collapsibleBorder",label:__("Border","ultimate-post")}},{position:12,data:{type:"dimension",key:"collapsibleRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:13,data:{type:"dimension",key:"collapsiblePadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}]}),(0,a.createElement)(i.T,{depend:"topTop",initialOpen:!1,store:V,title:__("Back To Top","ultimate-post"),include:[{position:1,data:{type:"tag",key:"toTopPosition",label:__("Position","ultimate-post"),options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("Right","ultimate-post")}]}},{position:2,data:{type:"tag",key:"toTopIcon",label:__("Icon","ultimate-post"),options:[{value:"arrowUp2",label:__("Angle","ultimate-post")},{value:"longArrowUp2",label:__("Arrow","ultimate-post")},{value:"caretArrow",label:__("Caret","ultimate-post")}]}},{position:3,data:{type:"color",key:"toTopColor",label:__("Color","ultimate-post")}},{position:4,data:{type:"color",key:"toTopBg",label:__("Background","ultimate-post")}},{position:5,data:{type:"color",key:"toTopHoverColor",label:__("Hover Color","ultimate-post")}},{position:6,data:{type:"color",key:"toTopHoverBg",label:__("Hover Background","ultimate-post")}},{position:7,data:{type:"range",key:"toTopSize",label:__("Icon Size","ultimate-post"),min:0,max:80,step:1,unit:!1,responsive:!0}},{position:8,data:{type:"border",key:"toTopBorder",label:__("Border","ultimate-post")}},{position:9,data:{type:"dimension",key:"toTopRadius",label:__("Button Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:10,data:{type:"dimension",key:"toTopPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}]})),(0,a.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{initialOpen:!0,store:V}),(0,a.createElement)(i.Mg,{store:V}),(0,a.createElement)(i.iv,{store:V}))),(0,i.dH)()),(0,a.createElement)(c.Z,{include:[{type:"template"},{type:"layout",block:"table-of-content",key:"layout",options:[{img:"assets/img/layouts/toc/toc1.png",label:__("Style 1","ultimate-post"),value:"style1",pro:!1},{img:"assets/img/layouts/toc/toc2.png",label:__("Style 2","ultimate-post"),value:"style2",pro:!1},{img:"assets/img/layouts/toc/toc3.png",label:__("Style 3","ultimate-post"),value:"style3",pro:!0},{img:"assets/img/layouts/toc/toc4.png",label:__("Style 4","ultimate-post"),value:"style4",pro:!0},{img:"assets/img/layouts/toc/toc5.png",label:__("Style 5","ultimate-post"),value:"style5",pro:!0},{img:"assets/img/layouts/toc/toc6.png",label:__("Style 6","ultimate-post"),value:"style6",pro:!0},{img:"assets/img/layouts/toc/toc7.png",label:__("Style 7","ultimate-post"),value:"style7",pro:!0},{img:"assets/img/layouts/toc/toc8.png",label:__("Style 8","ultimate-post"),value:"style8",pro:!0}]}],store:V}),(0,a.createElement)("div",(0,o.Z)({},I&&{id:I},{className:`ultp-block-${_} ${C} ${1==O?"ultp-toc-sticky":""}`}),q&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:q}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-block-toc"},(0,a.createElement)("div",{className:"ultp-toc-header"},(0,a.createElement)("div",{className:"ultp-toc-heading"},(0,a.createElement)(d,{key:"editable",tagName:"span",keepPlaceholderOnFocus:!0,placeholder:__("Heading Table of Contents...","ultimate-post"),onChange:e=>x({headText:e}),value:U})),M&&(0,a.createElement)("div",{className:`ultp-collapsible-toggle ${F?"ultp-toggle-collapsed":""} ${"right"==H?"ultp-collapsible-right":""}`},"icon"!==A?(0,a.createElement)(b,null,(0,a.createElement)("a",{className:"ultp-collapsible-text ultp-collapsible-open",href:"javascript:;"},"[",R,"]"),(0,a.createElement)("a",{className:"ultp-collapsible-text ultp-collapsible-hide",href:"javascript:;"},"[",D,"]")):(0,a.createElement)(b,null,(0,a.createElement)("a",{className:"ultp-collapsible-icon ultp-collapsible-open",href:"javascript:;"},r.ZP.arrowUp2),(0,a.createElement)("a",{className:"ultp-collapsible-icon ultp-collapsible-hide",href:"javascript:;"},r.ZP.arrowUp2)))),(0,a.createElement)("div",{className:`ultp-block-toc-${B} ultp-block-toc-body`},(0,i.Ko)(Z,B)),N&&(0,a.createElement)("a",{href:"#",className:"ultp-toc-backtotop tocshow"},r.ZP[j])))))}},7098:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7462),a=l(7294),i=l(3049),n=l(3245);const{Fragment:r}=wp.element;function s(e){const{blockId:t,advanceId:l,headText:s,collapsible:p,collapsibleType:c,togglePosition:u,topTop:d,toTopIcon:m,layout:g,sticky:y,listData:b,open:v,close:h,initialCollapsible:f}=e.attributes;return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t} ${1==y?"ultp-toc-sticky":""}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-block-toc"},(0,a.createElement)("div",{className:"ultp-toc-header"},(0,a.createElement)("div",{className:"ultp-toc-heading"},s),p&&(0,a.createElement)("div",{className:`ultp-collapsible-toggle ${f?"ultp-toggle-collapsed":""} ${"right"==u?"ultp-collapsible-right":""}`},"icon"!==c?(0,a.createElement)(r,null,(0,a.createElement)("a",{className:"ultp-collapsible-text ultp-collapsible-open",href:"javascript:;"},"[",v,"]"),(0,a.createElement)("a",{className:"ultp-collapsible-text ultp-collapsible-hide",href:"javascript:;"},"[",h,"]")):(0,a.createElement)(r,null,(0,a.createElement)("a",{className:"ultp-collapsible-icon ultp-collapsible-open",href:"javascript:;"},n.ZP.arrowUp2),(0,a.createElement)("a",{className:"ultp-collapsible-icon ultp-collapsible-hide",href:"javascript:;"},n.ZP.arrowUp2)))),(0,a.createElement)("div",{className:`ultp-block-toc-${g} ultp-block-toc-body`,style:{display:f?"none;":"block;"}},(0,i.Ko)(b,g)),d&&(0,a.createElement)("a",{href:"#",className:"ultp-toc-backtotop tocshow"},n.ZP[m]))))}},6838:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},listData:{type:"string",default:"[]"},currentPostId:{type:"string",default:""},tag:{type:"string",default:'["h1","h2","h3","h4","h5","h6"]'},collapsible:{type:"boolean",default:!0},initialCollapsible:{type:"boolean",default:!1},topTop:{type:"boolean",default:!1},headText:{type:"string",default:"Table of Contents"},headColor:{type:"string",default:"#222",style:[{selector:"{{ULTP}} .ultp-toc-heading { color:{{headColor}}; }"}]},headBg:{type:"string",default:"#f7f7f7",style:[{selector:"{{ULTP}} .ultp-toc-header { background:{{headBg}}; }"}]},headTypo:{type:"object",default:{openTypography:1,size:{lg:22,unit:"px"},height:{lg:"",unit:"px"},decoration:"none",family:"",weight:700},style:[{selector:"{{ULTP}} .ultp-toc-heading"}]},headBorder:{type:"object",default:{openBorder:1,width:{top:0,right:0,bottom:1,left:0},color:"#eee",type:"solid"},style:[{selector:"{{ULTP}} .ultp-toc-header"}]},headRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-toc-header { border-radius:{{headRadius}}; }"}]},headPadding:{type:"object",default:{lg:{top:"16",bottom:"16",left:"20",right:"20",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-toc-header { padding:{{headPadding}}; }"}]},layout:{type:"string",default:"style1"},hoverStyle:{type:"string",default:"none",style:[{depends:[{key:"hoverStyle",condition:"==",value:"none"}]},{depends:[{key:"hoverStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:hover { border-bottom-style:dotted; }"},{depends:[{key:"hoverStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:hover { border-bottom-style:solid; }"},{depends:[{key:"hoverStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:hover { border-bottom-style:dashed; }"},{depends:[{key:"hoverStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:hover { text-decoration:underline; }"},{depends:[{key:"hoverStyle",condition:"==",value:"style5"}],selector:'{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a { position:relative; } \n                {{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:after {content: ""; position:absolute; left:0; width:0; top:calc(100% + 2px); transition: width 350ms,opacity 350ms;} \n                {{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:hover:after { opacity:1; width:100%; }'}]},borderColor:{type:"string",default:"#037fff",style:[{depends:[{key:"hoverStyle",condition:"==",value:["style1","style2","style3"]}],selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:hover { border-bottom-color:{{borderColor}}; }"},{depends:[{key:"hoverStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:after {background:{{borderColor}}; }"}]},borderWidth:{type:"string",default:"1",style:[{depends:[{key:"hoverStyle",condition:"==",value:["style1","style2","style3"]}],selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:hover {border-bottom-width: {{borderWidth}}px; }"},{depends:[{key:"hoverStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists a:after {height:{{borderWidth}}px; }"}]},sticky:{type:"boolean",default:!1},stickyPosition:{type:"string",default:"right",style:[{depends:[{key:"stickyPosition",condition:"==",value:"left"},{key:"sticky",condition:"==",value:!0}],selector:"{{ULTP}}.ultp-toc-sticky.ultp-toc-scroll { right:auto;left:0; }"},{depends:[{key:"stickyPosition",condition:"==",value:"right"},{key:"sticky",condition:"==",value:!0}],selector:"{{ULTP}}.ultp-toc-sticky.ultp-toc-scroll { right:0;left:auto; }"},{depends:[{key:"stickyPosition",condition:"==",value:"top"},{key:"sticky",condition:"==",value:!0}],selector:"{{ULTP}}.ultp-toc-sticky.ultp-toc-scroll { top:0;left:0;right:0;margin: 0 auto; } \n                .admin-bar .ultp-toc-sticky.ultp-toc-scroll { top: 32px}"}]},listWidth:{type:"object",default:{lg:{unit:"px"}},style:[{depends:[{key:"sticky",condition:"==",value:!0}],selector:"{{ULTP}}.wp-block-ultimate-post-table-of-content.ultp-toc-sticky { max-width: {{listWidth}}; width: {{listWidth}}; } \n                .single {{ULTP}}.wp-block-ultimate-post-table-of-content.ultp-toc-sticky { max-width: {{listWidth}}; width: {{listWidth}}; }"},{depends:[{key:"sticky",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-wrapper { max-width: {{listWidth}}; width: {{listWidth}}; } \n                .single {{ULTP}} .ultp-block-wrapper { max-width: {{listWidth}}; width: {{listWidth}}; }"}]},listSpacingX:{type:"object",default:{lg:"8"},style:[{selector:"{{ULTP}} .ultp-toc-lists li { margin-top: {{listSpacingX}}px; }"}]},listSpacingY:{type:"object",default:{lg:""},style:[{selector:"{{ULTP}} .ultp-toc-lists li a { margin-left: {{listSpacingY}}px;}"}]},listColor:{type:"string",default:"#222",style:[{selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists li a::before, \n            {{ULTP}} .ultp-block-toc-body .ultp-toc-lists a, \n            {{ULTP}} .ultp-block-toc-body .ultp-toc-lists { color:{{listColor}}; }"}]},listHoverColor:{type:"string",default:"#037fff",style:[{selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists > li a:hover::before, \n            {{ULTP}} .ultp-block-toc-body .ultp-toc-lists > li a:hover { color:{{listHoverColor}}; }"}]},listBg:{type:"string",default:"#fff",style:[{selector:"{{ULTP}} .ultp-block-toc-body { background-color:{{listBg}}; }"}]},listTypo:{type:"object",default:{openTypography:1,size:{lg:"16",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",family:"",weight:500},style:[{selector:"{{ULTP}} .ultp-block-toc-body .ultp-toc-lists li a"}]},listPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-toc-body { padding:{{listPadding}}; }"}]},togglePosition:{type:"string",default:"right",style:[{depends:[{key:"togglePosition",condition:"==",value:"withTitle"},{key:"collapsible",condition:"==",value:!0}]},{depends:[{key:"togglePosition",condition:"==",value:"right"},{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-toc-header .ultp-collapsible-toggle.ultp-collapsible-right { margin-left:auto; }"}]},collapsibleType:{type:"string",default:"text",style:[[{depends:{key:"collapsible",condition:"==",value:!0}}]]},open:{type:"string",default:"Open",style:[{depends:[{key:"collapsibleType",condition:"==",value:"text"},{key:"collapsible",condition:"==",value:!0}]}]},close:{type:"string",default:"Close",style:[{depends:[{key:"collapsibleType",condition:"==",value:"text"},{key:"collapsible",condition:"==",value:!0}]}]},collapsibleColor:{type:"string",default:"#037fff",style:[{depends:[{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-toc .ultp-toc-header .ultp-collapsible-text { color:{{collapsibleColor}}; } \n            {{ULTP}} .ultp-toc-header .ultp-collapsible-toggle a svg { fill:{{collapsibleColor}}; }"}]},collapsibleBg:{type:"string",default:"",style:[{depends:[{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-collapsible-toggle a { background:{{collapsibleBg}}; }"}]},collapsibleHoverColor:{type:"string",default:"",style:[{depends:[{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-toc-header .ultp-collapsible-text:hover { color:{{collapsibleHoverColor}}; } \n            {{ULTP}} .ultp-toc-header .ultp-collapsible-toggle a:hover svg { fill:{{collapsibleHoverColor}}; }"}]},collapsibleHoverBg:{type:"string",default:"",style:[{depends:[{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-toc-header .ultp-collapsible-toggle a:hover { background:{{collapsibleHoverBg}}; }"}]},collapsibleTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:"",weight:700},style:[{depends:[{key:"collapsibleType",condition:"==",value:"text"},{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-toc-header .ultp-collapsible-text"}]},collapsibleBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-toc-header .ultp-collapsible-toggle a"}]},collapsibleRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-toc-header .ultp-collapsible-toggle a { border-radius:{{collapsibleRadius}}; }"}]},collapsiblePadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"collapsible",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-toc-header .ultp-collapsible-toggle a { padding:{{collapsiblePadding}}; }"}]},toTopPosition:{type:"string",default:"right",style:[{depends:[{key:"toTopPosition",condition:"==",value:"left"},{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop { left:40px;right:auto; }"},{depends:[{key:"toTopPosition",condition:"==",value:"right"},{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop { right:40px;left:auto; }\n                .editor-styles-wrapper .ultp-toc-backtotop {margin-right: 260px; margin-left: 150px;}"}]},toTopIcon:{type:"string",default:"arrowUp2",style:[[{depends:{key:"topTop",condition:"==",value:!0}}]]},toTopColor:{type:"string",default:"#fff",style:[{depends:[{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop svg { fill:{{toTopColor}}; }"}]},toTopBg:{type:"string",default:"#222",style:[{depends:[{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop { background:{{toTopBg}}; }"}]},toTopHoverColor:{type:"string",default:"#fff",style:[{depends:[{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop:hover svg { fill:{{toTopHoverColor}}; }"}]},toTopHoverBg:{type:"string",default:"#000",style:[{depends:[{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}}.wp-block-ultimate-post-table-of-content .ultp-block-wrapper .ultp-toc-backtotop:hover, \n            {{ULTP}}.wp-block-ultimate-post-table-of-content .ultp-block-wrapper .ultp-toc-backtotop:focus { background:{{toTopHoverBg}}; }"}]},toTopSize:{type:"object",default:{lg:"18"},style:[{depends:[{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop svg { width:{{toTopSize}}px; }"}]},toTopBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop"}]},toTopRadius:{type:"object",default:{lg:{top:"4",bottom:"4",left:"4",right:"4",unit:"px"}},style:[{depends:[{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop { border-radius:{{toTopRadius}}; }"}]},toTopPadding:{type:"object",default:{lg:{top:"13",bottom:"15",left:"11",right:"11",unit:"px"}},style:[{depends:[{key:"topTop",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-toc-backtotop { padding:{{toTopPadding}}; }"}]},advanceId:{type:"string",default:""},...(0,l(2165).t)(["advanceAttr"],["loadingColor","advanceId"],[{key:"wrapShadow",default:{openShadow:1,width:{top:2,right:5,bottom:15,left:-2,unit:"px"},color:"rgba(0,0,0,0.1)"},style:[{selector:"{{ULTP}} .ultp-block-wrapper"}]},{key:"wrapShadow",default:{openShadow:1,width:{top:2,right:5,bottom:15,left:-2,unit:"px"},color:"rgba(0,0,0,0.1)"},style:[{selector:"{{ULTP}} .ultp-block-wrapper"}]}])}},8871:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(9233),n=l(7098),r=l(6838);const{__}=wp.i18n,{registerBlockType:s}=wp.blocks,p=(0,a.Z)("https://wpxpo.com/docs/postx/add-on/table-of-content/","block_docs");s("ultimate-post/table-of-content",{title:__("Table of Contents","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/table-of-content.svg"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Add a Customizable Table of Contents into your blog posts and custom post types.","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:p},__("Documentation","ultimate-post"))),keywords:[__("Table","ultimate-post"),__("Table of Contents","ultimate-post"),__("Contents","ultimate-post"),__("toc","ultimate-post")],supports:{align:["center","wide","full"],reusable:!1},attributes:r.Z,example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/tableofcontents.svg"}},edit:i.Z,save:n.Z})},3239:(e,t,l)=>{"use strict";l.d(t,{Z:()=>w});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637),s=l(3581),p=l(1760),c=l(5335),u=l(3151);const{__}=wp.i18n,{InspectorControls:d}=wp.blockEditor,{useEffect:m,useState:g,useRef:y,Fragment:b}=wp.element,{Spinner:v,Placeholder:h}=wp.components,{getBlockAttributes:f,getBlockRootClientId:k}=wp.data.select("core/block-editor");function w(e){const t=y(null),[l,w]=g("Content"),[x,T]=g({postsList:[],loading:!0,error:!1}),{setAttributes:S,name:P,clientId:C,className:E,attributes:_,attributes:{blockId:L,advanceId:I,taxGridEn:U,headingText:B,headingStyle:M,headingShow:A,headingAlign:H,headingURL:N,headingBtnText:j,subHeadingShow:O,subHeadingText:Z,taxType:R,previewImg:D,layout:F,headingTag:z,countShow:W,titleShow:G,excerptShow:V,TaxAnimation:q,columns:$,customTaxTitleColor:K,customTaxColor:J,imgCrop:Y,titleTag:X,notFoundMessage:Q,V4_1_0_CompCheck:{runComp:ee},currentPostId:te,taxSlug:le,taxValue:oe,queryNumber:ae}}=e;function ie(){x.error&&T({...x,error:!1}),x.loading||T({...x,loading:!0}),wp.apiFetch({path:"/ultp/specific_taxonomy",method:"POST",data:{taxValue:oe,queryNumber:ae,taxType:R,taxSlug:le,wpnonce:ultp_data.security,archiveBuilder:"archive"==ultp_data.archive?ultp_data.archive:""}}).then((e=>{T({...x,postsList:e,loading:!1})})).catch((e=>{T({...x,loading:!1,error:!0})}))}m((()=>{ie()}),[]),m((()=>{const e=t.current;e?(0,i.Qr)(e,_)&&(ie(),t.current=_):t.current=_}),[_]),m((()=>{const t=C.substr(0,6),l=f(k(C));(0,i.qi)(S,l,te,C),(0,u.h)(e),L?L&&L!=t&&(l?.hasOwnProperty("ref")||(0,i.k0)()||l?.hasOwnProperty("theme")||S({blockId:t})):S({blockId:t})}),[C]);const ne={setAttributes:S,name:P,attributes:_,setSection:w,section:l,clientId:C};let re;return L&&(re=(0,n.Kh)(_,"ultimate-post/ultp-taxonomy",L,(0,i.k0)())),(0,a.createElement)(b,null,(0,a.createElement)(d,null,(0,a.createElement)(s.default,{prev:"https://www.wpxpo.com/postx/blocks/#demoid6841",store:ne}),(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.If,{store:ne,initialOpen:!0,exclude:["contentAlign","openInTab","contentTag"],include:[{position:0,data:{type:"layout",block:"ultp-taxonomy",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/taxonomy/l1.png",label:__("Layout 1","ultimate-post"),value:"1",pro:!1},{img:"assets/img/layouts/taxonomy/l2.png",label:__("Layout 2","ultimate-post"),value:"2",pro:!0},{img:"assets/img/layouts/taxonomy/l3.png",label:__("Layout 3","ultimate-post"),value:"3",pro:!0},{img:"assets/img/layouts/taxonomy/l4.png",label:__("Layout 4","ultimate-post"),value:"4",pro:!0},{img:"assets/img/layouts/taxonomy/l5.png",label:__("Layout 5","ultimate-post"),value:"5",pro:!0},{img:"assets/img/layouts/taxonomy/l6.png",label:__("Layout 6","ultimate-post"),value:"6",pro:!0},{img:"assets/img/layouts/taxonomy/l7.png",label:__("Layout 7","ultimate-post"),value:"7",pro:!0},{img:"assets/img/layouts/taxonomy/l8.png",label:__("Layout 8","ultimate-post"),value:"8",pro:!0}]}},{position:1,data:{type:"toggle",key:"taxGridEn",label:__("Grid View","ultimate-post"),pro:!0}},{position:4,data:{type:"range",key:"rowGap",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Row Gap","ultimate-post")}},{data:{type:"text",key:"notFoundMessage",label:__("No result found Text","ultimate-post")}}]}),(0,a.createElement)(i.$o,{store:ne}),!ee&&(0,a.createElement)(i.Wh,{store:ne,depend:"headingShow"}),("4"==F||"5"==F)&&(0,a.createElement)(i.Hn,{store:ne,exclude:["imgMargin","imgCropSmall","imgAnimation","imgOverlay","imgOpacity","overlayColor","imgOverlayType","imgGrayScale","imgHoverGrayScale","imgShadow","imgHoverShadow","imgTab","imgHoverRadius","imgRadius","imgSrcset","imgLazy","imageScale"],include:[{position:3,data:{type:"alignment",key:"contentAlign",responsive:!1,label:__("Alignment","ultimate-post"),disableJustify:!0}},{position:2,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}}]}),("1"==F||"4"==F||"5"==F)&&(0,a.createElement)(i.O2,{store:ne,exclude:["contenWraptWidth","contenWraptHeight","contentWrapInnerPadding"],include:[{position:0,data:{type:"select",key:"TaxAnimation",label:__("Hover Animation","ultimate-post"),options:[{value:"none",label:__("No Animation","ultimate-post")},{value:"zoomIn",label:__("Zoom In","ultimate-post")},{value:"zoomOut",label:__("Zoom Out","ultimate-post")},{value:"opacity",label:__("Opacity","ultimate-post")},{value:"slideLeft",label:__("Slide Left","ultimate-post")},{value:"slideRight",label:__("Slide Right","ultimate-post")}]}}]}),("2"==F||"3"==F||"6"==F||"7"==F||"8"==F)&&(0,a.createElement)(i.HY,{store:ne}),(0,a.createElement)(i.VH,{depend:"titleShow",store:ne,exclude:["titlePosition","titleLength","titleBackground","titleStyle","titleAnimColor"],include:[{position:0,data:{type:"toggle",key:"customTaxTitleColor",label:__("Specific Color","ultimate-post"),pro:!0}},{position:1,data:{type:"alignment",key:"contentTitleAlign",responsive:!1,label:__("Title Align","ultimate-post"),disableJustify:!0}},{position:2,data:{type:"linkbutton",key:"seperatorTaxTitleLink",placeholder:__("Choose Color","ultimate-post"),label:__("Taxonomy Specific (Pro)","ultimate-post"),text:"Choose Color"}},{position:5,data:{type:"color",key:"TitleBgColor",label:__("Background Color","ultimate-post")}},{position:6,data:{type:"color",key:"TitleBgHoverColor",label:__("Hover Background Color","ultimate-post")}},{position:7,data:{type:"color",key:"titleDotColor",label:__("Border Color","ultimate-post")}},{position:8,data:{type:"color",key:"titleDotHoverColor",label:__("Border Hover Color","ultimate-post")}},{position:9,data:{type:"range",key:"titleDotSize",label:__("Border Size","ultimate-post"),min:0,max:5,step:1}},{position:10,data:{type:"select",key:"titleDotStyle",label:__("Border Style","ultimate-post"),options:[{value:"none",label:__("None","ultimate-post")},{value:"solid",label:__("Solid","ultimate-post")},{value:"dashed",label:__("Dashed","ultimate-post")},{value:"dotted",label:__("Dotted","ultimate-post")},{value:"double",label:__("Double","ultimate-post")}]}},{position:11,data:{type:"range",key:"titleRadius",min:0,max:300,step:1,responsive:!0,unit:["px","em","rem","%"],label:__("Border Radius","ultimate-post")}}]}),(0,a.createElement)(i.X_,{store:ne,depend:"excerptShow",exclude:["showSeoMeta","excerptLimit","showFullExcerpt"]}),(0,a.createElement)(i.wT,{store:ne,depend:"countShow"}),!U&&(0,a.createElement)(i.Yp,{depend:"separatorShow",store:ne})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{initialOpen:!0,store:ne}),(0,a.createElement)(i.Mg,{store:ne}),(0,a.createElement)(i.iv,{store:ne}))),(0,i.dH)()),(0,a.createElement)(p.Z,{include:[{type:"query",taxQuery:!0},{type:"template"},{type:"layout",block:"ultp-taxonomy",key:"layout",options:[{img:"assets/img/layouts/taxonomy/l1.png",label:__("Layout 1","ultimate-post"),value:"1",pro:!1},{img:"assets/img/layouts/taxonomy/l2.png",label:__("Layout 2","ultimate-post"),value:"2",pro:!0},{img:"assets/img/layouts/taxonomy/l3.png",label:__("Layout 3","ultimate-post"),value:"3",pro:!0},{img:"assets/img/layouts/taxonomy/l4.png",label:__("Layout 4","ultimate-post"),value:"4",pro:!0},{img:"assets/img/layouts/taxonomy/l5.png",label:__("Layout 5","ultimate-post"),value:"5",pro:!0},{img:"assets/img/layouts/taxonomy/l6.png",label:__("Layout 6","ultimate-post"),value:"6",pro:!0},{img:"assets/img/layouts/taxonomy/l7.png",label:__("Layout 7","ultimate-post"),value:"7",pro:!0},{img:"assets/img/layouts/taxonomy/l8.png",label:__("Layout 8","ultimate-post"),value:"8",pro:!0}]}],store:ne}),(0,a.createElement)("div",(0,o.Z)({},I&&{id:I},{className:`ultp-block-${L} ${E}`}),re&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:re}}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},A&&(0,a.createElement)("div",{className:"ultp-heading-filter"},(0,a.createElement)("div",{className:"ultp-heading-filter-in"},(0,a.createElement)(c.Z,{props:{headingShow:A,headingStyle:M,headingAlign:H,headingURL:N,headingText:B,setAttributes:S,headingBtnText:j,subHeadingShow:O,subHeadingText:Z,headingTag:z}}))),function(){const e=X;return D?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:D}):x.error?(0,a.createElement)(h,{label:__("Posts are not available.","ultimate-post")},(0,a.createElement)("div",{style:{marginBottom:15}},__("Make sure Add Post.","ultimate-post"))):x.loading?(0,a.createElement)(h,{label:__("Loading...","ultimate-post")},(0,a.createElement)(v,null)):x.postsList.length>0?(0,a.createElement)("div",{className:"ultp-block-items-wrap"},(0,a.createElement)("ul",{className:`ultp-taxonomy-items ${"none"!=q?"ultp-taxonomy-animation-"+q:""} ultp-taxonomy-column-${$.lg} ultp-taxonomy-layout-${F}`},x.postsList.map(((t,l)=>{const o=t.image?{backgroundImage:`url(${t.image[Y]})`}:{background:`${t.color}`};return(0,a.createElement)("li",{key:l,className:"ultp-block-item ultp-taxonomy-item"},1==F&&(0,a.createElement)(b,null,(0,a.createElement)("a",{href:"#"},G&&(0,a.createElement)(e,{className:"ultp-taxonomy-name",style:K?{color:t.color}:{}},t.name),W&&(0,a.createElement)("span",{className:"ultp-taxonomy-count",style:K?{color:t.color}:{}},t.count),V&&(0,a.createElement)("div",{className:"ultp-taxonomy-desc"},t.desc))),2==F&&(0,a.createElement)(b,null,(0,a.createElement)("a",{href:"#",style:o},(0,a.createElement)("div",{className:"ultp-taxonomy-lt2-overlay",style:J?{backgroundColor:t.color}:{}}),(0,a.createElement)("div",{className:"ultp-taxonomy-lt2-content"},G&&(0,a.createElement)(b,null,(0,a.createElement)(e,{className:"ultp-taxonomy-name"},t.name),(0,a.createElement)("span",{className:"ultp-taxonomy-bar"})),W&&(0,a.createElement)("span",{className:"ultp-taxonomy-count"},t.count)),V&&(0,a.createElement)("div",{className:"ultp-taxonomy-desc"},t.desc))),3==F&&(0,a.createElement)("a",{href:"#"},(0,a.createElement)("div",{className:"ultp-taxonomy-lt3-img",style:o}),(0,a.createElement)("div",{className:"ultp-taxonomy-lt3-overlay",style:J?{backgroundColor:t.color}:{}}),(0,a.createElement)("div",{className:"ultp-taxonomy-lt3-content"},G&&(0,a.createElement)(b,null,(0,a.createElement)(e,{className:"ultp-taxonomy-name"},t.name),(0,a.createElement)("span",{className:"ultp-taxonomy-bar"})),W&&(0,a.createElement)("span",{className:"ultp-taxonomy-count"},t.count)),V&&(0,a.createElement)("div",{className:"ultp-taxonomy-desc"},t.desc)),4==F&&(0,a.createElement)("a",{href:"#"},t.image&&t.image.full&&(0,a.createElement)("img",{src:t?.image[Y],alt:t.name}),(0,a.createElement)("div",{className:"ultp-taxonomy-lt4-content"},G&&(0,a.createElement)(e,{className:"ultp-taxonomy-name",style:K?{color:t.color}:{}},t.name),W&&(0,a.createElement)("span",{className:"ultp-taxonomy-count",style:K?{color:t.color}:{}},t.count)),V&&(0,a.createElement)("div",{className:"ultp-taxonomy-desc"},t.desc)),5==F&&(0,a.createElement)("a",{href:"#"},t.image&&t.image.full&&(0,a.createElement)("img",{src:t?.image[Y],alt:t.name}),(0,a.createElement)("span",{className:"ultp-taxonomy-lt5-content"},G&&(0,a.createElement)(e,{className:"ultp-taxonomy-name",style:K?{color:t.color}:{}},t.name),W&&(0,a.createElement)("span",{className:"ultp-taxonomy-count",style:K?{color:t.color}:{}},t.count),V&&(0,a.createElement)("div",{className:"ultp-taxonomy-desc"},t.desc))),6==F&&(0,a.createElement)("a",{href:"#",style:o},(0,a.createElement)("div",{className:"ultp-taxonomy-lt6-overlay",style:J?{backgroundColor:t.color}:{}}),G&&(0,a.createElement)(e,{className:"ultp-taxonomy-name"},t.name),W&&(0,a.createElement)("span",{className:"ultp-taxonomy-count"},t.count),V&&(0,a.createElement)("div",{className:"ultp-taxonomy-desc"},t.desc)),7==F&&(0,a.createElement)("a",{href:"#",style:o},(0,a.createElement)("div",{className:"ultp-taxonomy-lt7-overlay",style:J?{backgroundColor:t.color}:{}}),G&&(0,a.createElement)(e,{className:"ultp-taxonomy-name",style:K?{backgroundColor:t.color}:{}},t.name,W&&(0,a.createElement)("span",{className:"ultp-taxonomy-count"},t.count)),V&&(0,a.createElement)("div",{className:"ultp-taxonomy-desc"},t.desc)),8==F&&(0,a.createElement)("a",{href:"#",style:o},(0,a.createElement)("div",{className:"ultp-taxonomy-lt8-overlay",style:J?{backgroundColor:t.color}:{}}),G&&(0,a.createElement)(e,{className:"ultp-taxonomy-name",style:K?{backgroundColor:t.color}:{}},t.name,W&&(0,a.createElement)("span",{className:"ultp-taxonomy-count"},t.count)),V&&(0,a.createElement)("div",{className:"ultp-taxonomy-desc"},t.desc)))})))):(0,a.createElement)(h,{label:Q})}())))}},816:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(2165),a=l(3151);const i={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"1"},taxGridEn:{type:"boolean",default:!0},columns:{type:"object",default:{lg:"1"},style:[{depends:[{key:"taxGridEn",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-taxonomy-items { grid-template-columns: repeat({{columns}}, 1fr); }"}]},columnGridGap:{type:"object",default:{lg:"20",unit:"px"},style:[{depends:[{key:"taxGridEn",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-taxonomy-items { grid-column-gap: {{columnGridGap}}; } \n          {{ULTP}} .ultp-taxonomy-item { margin-bottom: 0; }"}]},rowGap:{type:"object",default:{lg:"20",unit:"px"},style:[{depends:[{key:"taxGridEn",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-taxonomy-items { grid-row-gap: {{rowGap}}; }"}]},titleShow:{type:"boolean",default:!0},headingShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!1},countShow:{type:"boolean",default:!0},openInTab:{type:"boolean",default:!1},notFoundMessage:{type:"string",default:"No Taxonomy Found."},taxType:{type:"string",default:"regular"},taxSlug:{type:"string",default:"category"},taxValue:{type:"string",default:"[]",style:[{depends:[{key:"taxType",condition:"!=",value:["parent","regular"]}]}]},queryNumber:{type:"string",default:6,style:[{depends:[{key:"taxType",condition:"!=",value:"custom"}]}]},imgCrop:{type:"string",default:"yes"==ultp_data.disable_image_size?"full":"ultp_layout_landscape"},imgWidth:{type:"object",default:{lg:"",ulg:"%"},style:[{depends:[{key:"layout",condition:"==",value:["4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-4 a img, \n          {{ULTP}} .ultp-taxonomy-layout-5 a img { max-width: {{imgWidth}}; }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"layout",condition:"==",value:["4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-4 a img,  \n          {{ULTP}} .ultp-taxonomy-layout-5 a img {object-fit: cover; height: {{imgHeight}}; }"}]},imgSpacing:{type:"object",default:{lg:""},style:[{depends:[{key:"layout",condition:"==",value:["4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-4 a img,  \n          {{ULTP}} .ultp-taxonomy-layout-5 a img { margin-bottom: {{imgSpacing}}px; }"}]},contentAlign:{type:"string",default:"center",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-taxonomy-layout-5 li a,  \n          {{ULTP}} .ultp-taxonomy-layout-4 li a { text-align:{{contentAlign}}; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-taxonomy-layout-5 li a,  \n          {{ULTP}} .ultp-taxonomy-layout-4 li a { text-align:{{contentAlign}}; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-taxonomy-layout-5 li a,  \n          {{ULTP}} .ultp-taxonomy-layout-4 li a { text-align:{{contentAlign}}; }"}]},contentWrapBg:{type:"string",default:"",style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a,  \n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a,  \n          {{ULTP}} .ultp-taxonomy-item a .ultp-taxonomy-lt5-content { background:{{contentWrapBg}}; }"}]},contentWrapHoverBg:{type:"string",style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a:hover,  \n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a:hover,  \n          {{ULTP}} .ultp-taxonomy-item a:hover .ultp-taxonomy-lt5-content { background:{{contentWrapHoverBg}}; }"}]},contentWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a,  \n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a,  \n          {{ULTP}} .ultp-taxonomy-layout-5 .ultp-taxonomy-item a"}]},contentWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a:hover,  \n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a:hover,  \n          {{ULTP}} .ultp-taxonomy-layout-5 .ultp-taxonomy-item a:hover"}]},contentWrapRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a,  \n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a,  \n          {{ULTP}} .ultp-taxonomy-layout-5 .ultp-taxonomy-item a { border-radius: {{contentWrapRadius}}; }"}]},contentWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a:hover,  \n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a:hover,  \n          {{ULTP}} .ultp-taxonomy-layout-5 .ultp-taxonomy-item a:hover { border-radius: {{contentWrapHoverRadius}}; }"}]},contentWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a,  \n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a,  \n          {{ULTP}} .ultp-taxonomy-layout-5 .ultp-taxonomy-item a"}]},contentWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a:hover,  \n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a:hover,  \n          {{ULTP}} .ultp-taxonomy-layout-5 .ultp-taxonomy-item a:hover"}]},contentWrapPadding:{type:"object",default:{lg:{unit:"px",top:"6",right:"12",bottom:"6",left:"12"}},style:[{depends:[{key:"layout",condition:"==",value:["1","4","5"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-1 .ultp-taxonomy-item a,\n          {{ULTP}} .ultp-taxonomy-layout-4 .ultp-taxonomy-item a,\n          {{ULTP}} .ultp-taxonomy-item a .ultp-taxonomy-lt5-content { padding: {{contentWrapPadding}}; }"}]},customTaxColor:{type:"boolean",default:!1},seperatorTaxLink:{type:"string",default:ultp_data.category_url,style:[{depends:[{key:"customTaxColor",condition:"==",value:!0}]}]},TaxAnimation:{type:"string",default:"none"},TaxWrapBg:{type:"string",default:"",style:[{depends:[{key:"customTaxColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-taxonomy-items li a .ultp-taxonomy-lt2-overlay,  \n          {{ULTP}} .ultp-taxonomy-items li a .ultp-taxonomy-lt3-overlay,  \n          {{ULTP}} .ultp-taxonomy-items li a .ultp-taxonomy-lt6-overlay,  \n          {{ULTP}} .ultp-taxonomy-items li a .ultp-taxonomy-lt7-overlay,  \n          {{ULTP}} .ultp-taxonomy-items li a .ultp-taxonomy-lt8-overlay { background:{{TaxWrapBg}}; }"}]},TaxWrapHoverBg:{type:"string",style:[{depends:[{key:"layout",condition:"==",value:["2","3","6","7","8"]},{key:"customTaxColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-taxonomy-items a:hover .ultp-taxonomy-lt2-overlay,\n          {{ULTP}} .ultp-taxonomy-items a:hover .ultp-taxonomy-lt3-overlay, \n          {{ULTP}} .ultp-taxonomy-items a:hover .ultp-taxonomy-lt6-overlay,  \n          {{ULTP}} .ultp-taxonomy-items a:hover .ultp-taxonomy-lt7-overlay,  \n          {{ULTP}} .ultp-taxonomy-items a:hover .ultp-taxonomy-lt8-overlay { background:{{TaxWrapHoverBg}}; }"}]},TaxWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["2","3","6","7","8"]}],selector:"{{ULTP}} .ultp-taxonomy-item a"}]},TaxWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["2","3","6","7","8"]}],selector:"{{ULTP}} .ultp-taxonomy-item a:hover"}]},TaxWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"==",value:["2","3","6","7","8"]}],selector:"{{ULTP}} .ultp-taxonomy-item a"}]},TaxWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"==",value:["2","3","6","7","8"]}],selector:"{{ULTP}} .ultp-taxonomy-item a:hover"}]},TaxWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["2","3","6","7","8"]}],selector:"{{ULTP}} .ultp-taxonomy-item a { border-radius: {{TaxWrapRadius}}; }"}]},TaxWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["2","3","6","7","8"]}],selector:"{{ULTP}} .ultp-taxonomy-item a:hover { border-radius: {{TaxWrapHoverRadius}}; }"}]},customOpacityTax:{type:"string",default:.6,style:[{selector:"{{ULTP}} .ultp-taxonomy-lt2-overlay,  \n          {{ULTP}} .ultp-taxonomy-lt3-overlay,  \n          {{ULTP}} .ultp-taxonomy-lt6-overlay,  \n          {{ULTP}} .ultp-taxonomy-lt7-overlay,  \n          {{ULTP}} .ultp-taxonomy-lt8-overlay { opacity: {{customOpacityTax}}; }"}]},customTaxOpacityHover:{type:"string",default:.9,style:[{selector:"{{ULTP}} .ultp-taxonomy-items li a:hover .ultp-taxonomy-lt2-overlay,  \n          {{ULTP}} .ultp-taxonomy-items li a:hover .ultp-taxonomy-lt3-overlay,  \n          {{ULTP}} .ultp-taxonomy-items li a:hover .ultp-taxonomy-lt6-overlay,  \n          {{ULTP}} .ultp-taxonomy-items li a:hover .ultp-taxonomy-lt7-overlay,  \n          {{ULTP}} .ultp-taxonomy-items li a:hover .ultp-taxonomy-lt8-overlay { opacity: {{customTaxOpacityHover}}; }"}]},TaxWrapPadding:{type:"object",default:{lg:{unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["2","3","6","7","8"]}],selector:"{{ULTP}} .ultp-taxonomy-item a { padding: {{TaxWrapPadding}}; }"}]},titleTag:{type:"string",default:"span"},contentTitleAlign:{type:"string",default:"left",style:[{depends:[{key:"layout",condition:"==",value:"1"},{key:"countShow",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-items-wrap ul li a { justify-content: {{contentTitleAlign}};}"}]},titlePosition:{type:"boolean",default:!0},customTaxTitleColor:{type:"boolean",default:!1,style:[{depends:[{key:"layout",condition:"!=",value:["2","3","6"]}]}]},seperatorTaxTitleLink:{type:"string",default:ultp_data.category_url,style:[{depends:[{key:"customTaxTitleColor",condition:"==",value:!0},{key:"layout",condition:"!=",value:["2","3","6"]}]}]},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"customTaxTitleColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-name { color:{{titleColor}}; }"},{depends:[{key:"layout",condition:"==",value:["2","3","6"]}],selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-name { color:{{titleColor}}; }"}]},TitleBgColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"layout",condition:"==",value:["7","8"]},{key:"customTaxTitleColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-taxonomy-layout-7 .ultp-taxonomy-name,  \n          {{ULTP}} .ultp-taxonomy-layout-8 .ultp-taxonomy-name { background:{{TitleBgColor}}; }"}]},TitleBgHoverColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"layout",condition:"==",value:["7","8"]},{key:"customTaxTitleColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-taxonomy-layout-7 li a:hover .ultp-taxonomy-name,  \n          {{ULTP}} .ultp-taxonomy-layout-8 li a:hover .ultp-taxonomy-name { background:{{TitleBgHoverColor}}; }"}]},titleHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-block-item a:hover .ultp-taxonomy-name,  \n          {{ULTP}} .ultp-block-item a:hover .ultp-taxonomy-count { color:{{titleHoverColor}}!important; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"22",unit:"px"},transform:"",decoration:"none",family:"",weight:""},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-name"}]},titleDotColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"layout",condition:"==",value:["2","3"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-2 .ultp-taxonomy-bar,  \n          {{ULTP}} .ultp-taxonomy-layout-3 .ultp-taxonomy-bar { border-bottom-color:{{titleDotColor}}; }"}]},titleDotHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"layout",condition:"==",value:["2","3"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-2 li:hover a .ultp-taxonomy-bar,  \n          {{ULTP}} .ultp-taxonomy-layout-3 li:hover a .ultp-taxonomy-bar { border-bottom-color:{{titleDotHoverColor}}; }"}]},titleDotSize:{type:"string",default:"solid",style:[{depends:[{key:"layout",condition:"==",value:["2","3"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-2 .ultp-taxonomy-bar,  \n          {{ULTP}} .ultp-taxonomy-layout-3 .ultp-taxonomy-bar { border-bottom-width:{{titleDotSize}}px; }"}]},titleDotStyle:{type:"string",default:{lg:"1"},style:[{depends:[{key:"layout",condition:"==",value:["2","3"]}],selector:"{{ULTP}} .ultp-taxonomy-layout-2 .ultp-taxonomy-bar,  \n          {{ULTP}} .ultp-taxonomy-layout-3 .ultp-taxonomy-bar { border-bottom-style: {{titleDotStyle}}; }"}]},titlePadding:{type:"object",default:{lg:{unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-name { padding:{{titlePadding}}; }"}]},titleRadius:{type:"object",default:{lg:"20",unit:"px"},style:[{depends:[{key:"titleShow",condition:"==",value:!0},{key:"layout",condition:"==",value:["7","8"]}],selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-name { border-radius:{{titleRadius}}; }"}]},excerptLimit:{type:"string",default:30},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-desc { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:"22",unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-taxonomy-desc"}]},excerptPadding:{type:"object",default:{lg:{top:"0",bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-taxonomy-desc { padding: {{excerptPadding}}; }"}]},counterTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:"22",unit:"px"},spacing:{lg:0,unit:"px"},transform:"",weight:"400",decoration:"none",family:""},style:[{selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-count"}]},counterColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-count { color:{{counterColor}}; }"}]},counterBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_1_color)"},style:[{selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-count"}]},counterWidth:{type:"string",default:"24",style:[{selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-count { max-width:{{counterWidth}}px; width: 100% }"}]},counterHeight:{type:"string",default:"24",style:[{selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-count { height:{{counterHeight}}px; line-height:{{counterHeight}}px !important; }"}]},counterBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-count"}]},counterRadius:{type:"object",default:{lg:{top:"22",right:"22",bottom:"22",left:"22",unit:"px"},unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-item .ultp-taxonomy-count { border-radius:{{counterRadius}}; }"}]},separatorShow:{type:"boolean",default:!1,depends:[{key:"taxGridEn",condition:"!=",value:!0}]},septColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:last-of-type) { border-bottom-color:{{septColor}}; }"}]},septStyle:{type:"string",default:"solid",style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:last-of-type) { border-bottom-style:{{septStyle}}; }"}]},septSize:{type:"string",default:{lg:"1"},style:[{depends:[{key:"separatorShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:last-of-type) { border-bottom-width: {{septSize}}px; }"}]},septSpace:{type:"object",default:{lg:"5"},style:[{depends:[{key:"taxGridEn",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-block-item:not(:last-of-type) { padding-bottom: {{septSpace}}px; }  \n          {{ULTP}} .ultp-block-item:not(:last-of-type) { margin-bottom: {{septSpace}}px; }"}]},headingText:{type:"string",default:"Post Taxonomy"},...(0,o.t)(["advanceAttr","heading"],["loadingColor"]),V4_1_0_CompCheck:a.O}},6653:(e,t,l)=>{"use strict";var o=l(7294),a=l(3100),i=l(3239),n=l(816);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks,s=(0,a.Z)("https://wpxpo.com/docs/postx/all-blocks/taxonomy-1/","block_docs");r("ultimate-post/ultp-taxonomy",{title:__("Taxonomy","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/ultp-taxonomy.svg"}),category:"ultimate-post",description:(0,o.createElement)("span",{className:"ultp-block-info"},__("Listing your Taxonomy in grid / list view.","ultimate-post"),(0,o.createElement)("a",{target:"_blank",href:s},__("Documentation","ultimate-post"))),keywords:[__("Taxonomy","ultimate-post"),__("Category","ultimate-post"),__("Category List","ultimate-post")],attributes:n.Z,example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/taxonomy.svg"}},edit:i.Z,save:()=>null})},5478:(e,t,l)=>{"use strict";l.d(t,{Z:()=>y});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637);const{__}=wp.i18n,{InspectorControls:s,InnerBlocks:p}=wp.blockEditor,{useState:c,useEffect:u,Fragment:d}=wp.element,{getBlockAttributes:m,getBlockRootClientId:g}=wp.data.select("core/block-editor");function y(e){const[t,l]=c("Content"),{setAttributes:y,className:b,clientId:v,name:h,attributes:f,attributes:{blockId:k,currentPostId:w,previewImg:x,advanceId:T}}=e;u((()=>{const e=v.substr(0,6),t=m(g(v));(0,i.qi)(y,t,w,v),k?k&&k!=e&&(t?.hasOwnProperty("ref")||(0,i.k0)()||t?.hasOwnProperty("theme")||y({blockId:e})):y({blockId:e})}),[v]);const S={setAttributes:y,name:h,attributes:f,setSection:l,section:t,clientId:v};let P;return k&&(P=(0,n.Kh)(f,"ultimate-post/wrapper",k,(0,i.k0)())),x?(0,a.createElement)("img",{style:{marginTop:"0px",width:"420px"},src:x}):(0,a.createElement)(d,null,(0,a.createElement)(s,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,a.createElement)(i.yB,{store:S})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.Mg,{store:S}),(0,a.createElement)(i.iv,{store:S}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},T&&{id:T},{className:`ultp-block-${k} ${b}`}),P&&(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:P}}),(0,a.createElement)("div",{className:"ultp-wrapper-block"},(0,a.createElement)(p,{templateLock:!1}))))}},3453:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7462),a=l(7294);const{Component:i}=wp.element,{InnerBlocks:n}=wp.blockEditor;function r(e){const{blockId:t,advanceId:l}=e.attributes;return(0,a.createElement)("div",(0,o.Z)({},l&&{id:l},{className:`ultp-block-${t}`}),(0,a.createElement)("div",{className:"ultp-wrapper-block"},(0,a.createElement)(n.Content,null)))}},8023:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},previewImg:{type:"string",default:""},currentPostId:{type:"string",default:""},advanceId:{type:"string",default:""},...(0,l(2165).t)(["advanceAttr"],["loadingColor","advanceId"],[{key:"wrapBg",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_2_color)"},style:[{selector:"{{ULTP}} .ultp-wrapper-block"}]},{key:"wrapBorder",style:[{selector:"{{ULTP}} .ultp-wrapper-block"}]},{key:"wrapShadow",style:[{selector:"{{ULTP}} .ultp-wrapper-block"}]},{key:"wrapRadius",style:[{selector:"{{ULTP}} .ultp-wrapper-block { border-radius:{{wrapRadius}}; }"}]},{key:"wrapHoverBackground",style:[{selector:"{{ULTP}} .ultp-wrapper-block:hover"}]},{key:"wrapHoverBorder",style:[{selector:"{{ULTP}} .ultp-wrapper-block:hover"}]},{key:"wrapHoverRadius",style:[{selector:"{{ULTP}} .ultp-wrapper-block:hover { border-radius:{{wrapHoverRadius}}; }"}]},{key:"wrapHoverShadow",style:[{selector:"{{ULTP}} .ultp-wrapper-block:hover"}]},{key:"wrapMargin",style:[{selector:"{{ULTP}} .ultp-wrapper-block { margin:{{wrapMargin}}; }"}]},{key:"wrapOuterPadding",default:{lg:{top:"30",bottom:"30",left:"30",right:"30",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-wrapper-block { padding:{{wrapOuterPadding}}; }"}]},{key:"advanceZindex",style:[{selector:"{{ULTP}} .ultp-wrapper-block { padding:{{wrapOuterPadding}}; }"}]}])}},5391:(e,t,l)=>{"use strict";var o=l(7294),a=l(5478),i=l(3453),n=l(8023);const{__}=wp.i18n,{registerBlockType:r}=wp.blocks;r("ultimate-post/wrapper",{title:__("Wrapper","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/wrapper.svg"}),category:"ultimate-post",description:__("Wrapper block for Gutenberg.","ultimate-post"),keywords:[__("wrapper","ultimate-post"),__("wrap","ultimate-post"),__("column","ultimate-post")],attributes:n.Z,supports:{align:["center","wide","full"]},example:{attributes:{previewImg:ultp_data.url+"assets/img/preview/wrapper.svg"}},edit:a.Z,save:i.Z})},5977:(e,t,l)=>{"use strict";l.d(t,{Z:()=>m});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(3245),s=l(4324),p=l(2207);const{__}=wp.i18n,{Fragment:c}=wp.element,{InspectorControls:u}=wp.blockEditor,{dateI18n:d}=wp.date;function m(e){const{setAttributes:t,name:l,attributes:m,clientId:y,className:b}=e,{blockId:v,advanceId:h,dateText:f,tagLabel:k,tagLabelShow:w,catLabelShow:x,catLabel:T,viewLabel:S,viewLabelShow:P,cmtLabel:C,cmtLabelShow:E,datePubText:_,authorShow:L,readTimeShow:I,dateShow:U,viewCountShow:B,cmtCountShow:M,catShow:A,tagShow:H,authLabel:N,metaSeparator:j,authLabelShow:O,readTimeText:Z,authImgShow:R,readTimePrefix:D,authIconShow:F,DateIconShow:z,readTimeIcon:W,viewIconShow:G,cmtIconShow:V,metaItemSort:q,catAlign:$,tagAlign:K,cmntAlign:J,viewAlign:Y,readAlign:X,authAlign:Q,dateAlign:ee,catIconShow:te,catIconStyle:le,tagIconShow:oe,tagIconStyle:ae,cmntIconStyle:ie,viewIconStyle:ne,readIconStyle:re,authIconStyle:se,dateIconStyle:pe,dateFormat:ce,metaDateFormat:ue,enablePrefix:de,currentPostId:me}=m,ge={setAttributes:t,name:l,attributes:m,clientId:y};(0,s.S)({blockId:v,clientId:y,currentPostId:me,setAttributes:t,checkRef:!1}),v&&(0,n.Kh)(m,"ultimate-post/advance-post-meta",v);const ye=$||K||J||Y||X||Q||ee,be=(0,a.createElement)("span",{className:"ultp-post-auth ultp-meta-separator"},(0,a.createElement)("span",{className:"ultp-auth-heading"},R&&(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-author.jpg",alt:"author-img"}),F&&r.ZP[se],O&&(0,a.createElement)("span",{className:"ultp-auth-label"},N)),(0,a.createElement)("span",{className:"ultp-auth-name"},"Sapiente Delectus")),ve=(0,a.createElement)("span",{className:"ultp-date-meta ultp-meta-separator"},z&&(0,a.createElement)("span",{className:"ultp-date-icon"},r.ZP[pe]),"updated"==ce&&(0,a.createElement)(c,null,de&&(0,a.createElement)("span",{className:"ultp-date-prefix"},f),(0,a.createElement)("span",{className:"ultp-post-date__val"},d((0,i.De)(ue)))),"publish"==ce&&(0,a.createElement)(c,null,de&&(0,a.createElement)("span",{className:"ultp-date-prefix"},_),(0,a.createElement)("span",{className:"ultp-post-date__val"},d((0,i.De)(ue)))));return(0,a.createElement)(c,null,(0,a.createElement)(u,null,(0,a.createElement)(p.Z,{store:ge}),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},h&&{id:h},{className:`ultp-block-${v} ${b}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:`ultp-advance-post-meta ${ye?"ultp-contentMeta-align":"ultp-contentMeta"} ultp-post-meta-${j}`},(0,a.createElement)("div",null,q.map(((e,t)=>(0,a.createElement)(c,{key:e},"author"==e&&L&&!Q&&be,"date"==e&&U&&!ee&&ve,"cmtCount"==e&&M&&!J&&(0,a.createElement)(g,{key:e,title:"comment",labelEnable:E,labelText:C,iconEnable:V,iconVal:ie}),"viewCount"==e&&B&&!Y&&(0,a.createElement)(g,{key:e,title:"view",labelEnable:P,labelText:S,iconEnable:G,iconVal:ne}),"readTime"==e&&I&&!X&&(0,a.createElement)(g,{key:e,title:"readTime",labelEnable:D,labelText:Z,iconEnable:W,iconVal:re}),"cat"==e&&A&&!$&&(0,a.createElement)(g,{title:"cat",key:e,labelEnable:x,labelText:T,iconEnable:te,iconVal:le}),"tag"==e&&H&&!K&&(0,a.createElement)(g,{key:e,title:"tag",labelEnable:w,labelText:k,iconEnable:oe,iconVal:ae}))))),(0,a.createElement)("div",null,ye&&q.map(((e,t)=>(0,a.createElement)(c,{key:e+"sort"},"author"==e&&L&&Q&&be,"date"==e&&U&&ee&&ve,"cmtCount"==e&&M&&J&&(0,a.createElement)(g,{key:e,title:"comment",labelEnable:E,labelText:C,iconEnable:V,iconVal:ie}),"viewCount"==e&&B&&Y&&(0,a.createElement)(g,{key:e,title:"view",labelEnable:P,labelText:S,iconEnable:G,iconVal:ne}),"readTime"==e&&I&&X&&(0,a.createElement)(g,{key:e,title:"readTime",labelEnable:D,labelText:Z,iconEnable:W,iconVal:re}),"cat"==e&&A&&$&&(0,a.createElement)(g,{title:"cat",key:e,labelEnable:x,labelText:T,iconEnable:te,iconVal:le}),"tag"==e&&H&&K&&(0,a.createElement)(g,{key:e,title:"tag",labelEnable:w,labelText:k,iconEnable:oe,iconVal:ae})))))))))}const g=({title:e,labelEnable:t,labelText:l,iconEnable:o,iconVal:i})=>{let n="tag"==e||"cat"==e,s="readTime"==e;return(0,a.createElement)("span",{className:`ultp-${e}-wrap ultp-meta-separator`},n&&(0,a.createElement)("span",{className:`ultp-${e}-count`},o&&r.ZP[i]),n&&t&&(0,a.createElement)("span",{className:`ultp-${e}-label`},l),n&&(0,a.createElement)("span",{className:`ultp-post-${e}`},(0,a.createElement)("a",null,"Example",e)," ",(0,a.createElement)("a",null,"Example",e)),!n&&!s&&(0,a.createElement)("span",{className:`ultp-${e}-count`},o&&r.ZP[i]," 12"),s&&o&&r.ZP[i],!n&&!s&&t&&(0,a.createElement)("span",{className:`ultp-${e}-label`},l),s&&(0,a.createElement)(c,null,(0,a.createElement)("div",null,"12"),t&&(0,a.createElement)("span",{className:"ultp-read-label"},l)))}},2207:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n;function n({store:e}){const t=e||{name:"ultimate-post/post-title",attributes:{}};return(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,o.createElement)(a.T,{initialOpen:!0,title:"inline",include:[{data:{type:"range",key:"metaSpacing",label:__("Item Spacing","ultimate-post"),min:0,max:50,step:1,unit:!0,responsive:!0}},{data:{type:"alignment",key:"metaAlign",disableJustify:!0,label:__("Alignment","ultimate-post")}},{data:{type:"select",key:"metaSeparator",label:__("Separator","ultimate-post"),options:[{value:"dot",label:__("Dot","ultimate-post")},{value:"slash",label:__("Slash","ultimate-post")},{value:"doubleslash",label:__("Double Slash","ultimate-post")},{value:"close",label:__("Close","ultimate-post")},{value:"dash",label:__("Dash","ultimate-post")},{value:"verticalbar",label:__("Vertical Bar","ultimate-post")},{value:"emptyspace",label:__("Empty","ultimate-post")}]}},{data:{type:"color",key:"separatorColor",label:__("Separator Color","ultimate-post")}},{data:{type:"color",key:"metaCommonColor",label:__("Common Color","ultimate-post")}},{data:{type:"typography",key:"commonTypo",label:__("Common Typography","ultimate-post")}},{data:{type:"sort",key:"metaItemSort",label:__("Meta List","ultimate-post"),options:{author:{label:__("Post Author","ultimate-post"),action:"authorShow",inner:[{type:"color",key:"authColor",label:__("Author Color","ultimate-post")},{type:"color",key:"authHovColor",label:__("Hover Color","ultimate-post")},{type:"typography",key:"authTypo",label:__("Typography","ultimate-post")},{type:"separator",label:"Avatar"},{type:"toggle",key:"authImgShow",label:__("Author Avatar","ultimate-post")},{type:"range",key:"authImgSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Size","ultimate-post")},{type:"range",key:"authImgRadius",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Radius","ultimate-post")},{type:"range",key:"authImgSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Space X","ultimate-post")},{type:"separator",label:"Label"},{type:"toggle",key:"authLabelShow",label:__("Author Label","ultimate-post")},{type:"text",key:"authLabel",label:__("Author Label Text","ultimate-post")},{type:"color",key:"authLabelColor",label:__("Label Color","ultimate-post")},{type:"typography",key:"authLabelTypo",label:__("Typography","ultimate-post")},{type:"range",key:"authLabelSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Space X","ultimate-post")},{type:"separator",label:"Icon"},{type:"toggle",key:"authIconShow",pro:!0,label:__("Enable Icon","ultimate-post")},{type:"icon",key:"authIconStyle",label:__("Select Icon","ultimate-post")},{type:"color",key:"authIconColor",label:__("Icon Color","ultimate-post")},{type:"range",key:"authIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Size","ultimate-post")},{type:"range",key:"authIconSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")},{type:"toggle",key:"authAlign",label:__("Right Align","ultimate-post")}]},date:{label:__("Post Publish Date","ultimate-post"),action:"dateShow",inner:[{type:"group",key:"dateFormat",options:[{value:"publish",label:"Publish Date"},{value:"updated",label:"Updated Date"}],justify:!0,label:__("Date Format","ultimate-post")},{type:"select",key:"metaDateFormat",label:__("Date/Time Format","ultimate-post"),options:[{value:"M j, Y",label:"Feb 7, 2022"},{value:"default_date",label:"WordPress Default Date Format",pro:!0},{value:"default_date_time",label:"WordPress Default Date & Time Format",pro:!0},{value:"g:i A",label:"1:12 PM",pro:!0},{value:"F j, Y",label:"February 7, 2022",pro:!0},{value:"F j, Y g:i A",label:"February 7, 2022 1:12 PM",pro:!0},{value:"M j, Y g:i A",label:"Feb 7, 2022 1:12 PM",pro:!0},{value:"j M Y",label:"7 Feb 2022",pro:!0},{value:"j M Y g:i A",label:"7 Feb 2022 1:12 PM",pro:!0},{value:"j F Y",label:"7 February 2022",pro:!0},{value:"j F Y g:i A",label:"7 February 2022 1:12 PM",pro:!0},{value:"j. M Y",label:"7. Feb 2022",pro:!0},{value:"j. M Y | H:i",label:"7. Feb 2022 | 1:12",pro:!0},{value:"j. F Y",label:"7. February 2022",pro:!0},{value:"j.m.Y",label:"7.02.2022",pro:!0},{value:"j.m.Y g:i A",label:"7.02.2022 1:12 PM",pro:!0},{value:"Y m j",label:"2022 7 02",pro:!0}]},{type:"color",key:"dateColor",label:__("Color","ultimate-post")},{type:"typography",key:"dateTypo",label:__("Typography","ultimate-post")},{type:"separator",label:"Prefix"},{type:"toggle",key:"enablePrefix",label:__("Enable Prefix","ultimate-post")},{type:"text",key:"datePubText",label:__("Date Text","ultimate-post")},{type:"text",key:"dateText",label:__("Date Text","ultimate-post")},{type:"color",key:"datePrefixColor",label:__("Color","ultimate-post")},{type:"separator",label:"Icon"},{type:"toggle",key:"DateIconShow",label:__("Date Icon","ultimate-post")},{type:"icon",key:"dateIconStyle",label:__("Select Icon","ultimate-post")},{type:"color",key:"dateIconColor",label:__("Color","ultimate-post")},{type:"range",key:"dateIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Size","ultimate-post")},{type:"range",key:"dateIconSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")},{type:"toggle",key:"dateAlign",label:__("Right Align","ultimate-post")}]},cmtCount:{label:__("Comments","ultimate-post"),action:"cmtCountShow",inner:[{type:"color",key:"commentColor",label:__(" Color","ultimate-post")},{type:"color",key:"commentHovColor",label:__("Hover Color","ultimate-post")},{type:"typography",key:"commentTypo",label:__("Typography","ultimate-post")},{type:"separator",label:"Prefix"},{type:"toggle",key:"cmtLabelShow",label:__("Prefix Enable","ultimate-post")},{type:"text",key:"cmtLabel",label:__("Prefix Text","ultimate-post")},{type:"color",key:"cmtLabelColor",label:__("Prefix Color","ultimate-post")},{type:"group",key:"commentLabelAlign",options:[{label:"After Content",value:"after"},{label:"Before Content",value:"before"}],justify:!0,label:__("Prefix Position","ultimate-post")},{type:"separator",label:"Icon"},{type:"toggle",key:"cmtIconShow",pro:!0,label:__("Enable Icon ","ultimate-post")},{type:"icon",key:"cmntIconStyle",label:__("Select Icon","ultimate-post")},{type:"color",key:"cmntIconColor",label:__("Icon Color","ultimate-post")},{type:"range",key:"commentIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Size","ultimate-post")},{type:"range",key:"cmntIconSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")},{type:"toggle",key:"cmntAlign",label:__("Right Align","ultimate-post")}]},viewCount:{label:__("Views","ultimate-post"),action:"viewCountShow",inner:[{type:"color",key:"viewColor",label:__("Color","ultimate-post")},{type:"color",key:"viewHovColor",label:__("Hover Color","ultimate-post")},{type:"typography",key:"viewTypo",label:__("Typography","ultimate-post")},{type:"separator",label:"Prefix"},{type:"toggle",key:"viewLabelShow",label:__("Enable Prefix","ultimate-post")},{type:"text",key:"viewLabel",label:__("Prefix Text","ultimate-post")},{type:"color",key:"viewLabelColor",label:__("Prefix Color","ultimate-post")},{type:"group",key:"viewLabelAlign",options:[{label:"After Content",value:"after"},{label:"Before Content",value:"before"}],justify:!0,label:__("Prefix Position","ultimate-post")},{type:"separator",label:"Icon"},{type:"toggle",key:"viewIconShow",label:__("Enable Icon","ultimate-post"),pro:!0},{type:"icon",key:"viewIconStyle",label:__("Select Icon","ultimate-post")},{type:"color",key:"viewIconColor",label:__("Icon Color","ultimate-post")},{type:"range",key:"viewIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Size","ultimate-post")},{type:"range",key:"viewIconSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")},{type:"toggle",key:"viewAlign",label:__("Right Align","ultimate-post")}]},readTime:{label:__("Reading Time","ultimate-post"),action:"readTimeShow",inner:[{type:"color",key:"readColor",label:__("Color","ultimate-post")},{type:"color",key:"readHovColor",label:__("Hover Color","ultimate-post")},{type:"typography",key:"readTypo",label:__("Typography","ultimate-post")},{type:"separator",label:"Prefix"},{type:"toggle",key:"readTimePrefix",label:__("Enable Prefix","ultimate-post")},{type:"text",key:"readTimeText",label:__("Time Text","ultimate-post")},{type:"group",key:"readPrefixAlign",options:[{label:"After Content",value:"after"},{label:"Before Content",value:"before"}],justify:!0,label:__("Prefix Position","ultimate-post")},{type:"separator",label:"Icon"},{type:"toggle",key:"readTimeIcon",label:__("Enable Icon","ultimate-post"),pro:!0},{type:"icon",key:"readIconStyle",label:__("Select Icon","ultimate-post")},{type:"color",key:"readIconColor",label:__("Icon Color","ultimate-post")},{type:"range",key:"readIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Size","ultimate-post")},{type:"range",key:"readIconSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")},{type:"toggle",key:"readAlign",label:__("Right Align","ultimate-post")}]},cat:{label:__("Category","ultimate-post"),action:"catShow",inner:[{type:"color",key:"catColor",label:__("Color","ultimate-post")},{type:"color",key:"catHovColor",label:__("Hover Color","ultimate-post")},{type:"typography",key:"catTypo",label:__("Typography","ultimate-post")},{type:"range",key:"catSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Category Spacing","ultimate-post")},{type:"separator",label:"Label"},{type:"toggle",key:"catLabelShow",label:__("Category Label Show","ultimate-post")},{type:"text",key:"catLabel",label:__("Category Label Text","ultimate-post")},{type:"color",key:"catLabelColor",label:__("Label Color","ultimate-post")},{type:"range",key:"catLabelSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Label Spacing","ultimate-post")},{type:"separator",label:"Icon"},{type:"toggle",key:"catIconShow",label:__("Enable Icon","ultimate-post"),pro:!0},{type:"icon",key:"catIconStyle",label:__("Select Icon","ultimate-post")},{type:"color",key:"catIconColor",label:__("Icon Color","ultimate-post")},{type:"range",key:"catIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Size","ultimate-post")},{type:"range",key:"catIconSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")},{type:"toggle",key:"catAlign",label:__("Align Right","ultimate-post")}]},tag:{label:__("Tags","ultimate-post"),action:"tagShow",inner:[{type:"color",key:"tagColor",label:__("Color","ultimate-post")},{type:"color",key:"tagHovColor",label:__("Hover Color","ultimate-post")},{type:"typography",key:"tagTypo",label:__("Typography","ultimate-post")},{type:"range",key:"tagSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Category Spacing","ultimate-post")},{type:"separator",label:"Label"},{type:"toggle",key:"tagLabelShow",label:__("Tag Label Show","ultimate-post")},{type:"text",key:"tagLabel",label:__("Tag Label Text","ultimate-post")},{type:"color",key:"tagLabelColor",label:__("Label Color","ultimate-post")},{type:"range",key:"tagLabelSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Label Spacing","ultimate-post")},{type:"toggle",key:"tagIconShow",label:__("Enable Icon","ultimate-post"),pro:!0},{type:"separator",label:"Icon"},{type:"icon",key:"tagIconStyle",label:__("Select Icon","ultimate-post")},{type:"color",key:"tagIconColor",label:__("Icon Color","ultimate-post")},{type:"range",key:"tagIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Size","ultimate-post")},{type:"range",key:"tagIconSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")},{type:"toggle",key:"tagAlign",label:__("Right Align","ultimate-post")}]}}}}],store:t})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{store:t}),(0,o.createElement)(a.Mg,{pro:!0,store:t}),(0,o.createElement)(a.iv,{store:t})))}},9471:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},authorShow:{type:"boolean",default:!0},dateShow:{type:"boolean",default:!0},cmtCountShow:{type:"boolean",default:!0},viewCountShow:{type:"boolean",default:!1},readTimeShow:{type:"boolean",default:!1},catShow:{type:"boolean",default:!1},tagShow:{type:"boolean",default:!1},metaSpacing:{type:"object",default:{lg:"15",unit:"px"},style:[{selector:"{{ULTP}} .ultp-meta-separator::after {margin: 0 {{metaSpacing}};}"},{depends:[{key:"metaSeparator",condition:"==",value:"emptyspace"}],selector:"{{ULTP}} .ultp-advance-post-meta > div { gap:{{metaSpacing}}; }"}]},metaAlign:{type:"string",default:"left",style:[{depends:[{key:"metaAlign",condition:"==",value:"right"},{key:"authAlign",condition:"==",value:!1},{key:"dateAlign",condition:"==",value:!1},{key:"cmntAlign",condition:"==",value:!1},{key:"viewAlign",condition:"==",value:!1},{key:"readAlign",condition:"==",value:!1},{key:"catAlign",condition:"==",value:!1},{key:"tagAlign",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-advance-post-meta, \n          {{ULTP}} .ultp-contentMeta > div { justify-content:{{metaAlign}}; }"},{depends:[{key:"metaAlign",condition:"==",value:"center"},{key:"authAlign",condition:"==",value:!1},{key:"dateAlign",condition:"==",value:!1},{key:"cmntAlign",condition:"==",value:!1},{key:"viewAlign",condition:"==",value:!1},{key:"readAlign",condition:"==",value:!1},{key:"catAlign",condition:"==",value:!1},{key:"tagAlign",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-advance-post-meta, \n          {{ULTP}} .ultp-contentMeta > div { justify-content:{{metaAlign}}; }"},{depends:[{key:"metaAlign",condition:"==",value:"left"},{key:"authAlign",condition:"==",value:!1},{key:"dateAlign",condition:"==",value:!1},{key:"cmntAlign",condition:"==",value:!1},{key:"viewAlign",condition:"==",value:!1},{key:"readAlign",condition:"==",value:!1},{key:"catAlign",condition:"==",value:!1},{key:"tagAlign",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-advance-post-meta, \n          {{ULTP}} .ultp-contentMeta > div { justify-content:{{metaAlign}}; }"}]},metaSeparator:{type:"string",default:"dot"},separatorColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-meta-separator::after { color: {{separatorColor}};}"},{depends:[{key:"metaSeparator",condition:"==",value:"dot"}],selector:"{{ULTP}} .ultp-meta-separator::after { background:{{separatorColor}};}"}]},metaCommonColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-advance-post-meta  span { color:{{metaCommonColor}};}"}]},commonTypo:{type:"object",default:{openTypography:1,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}}  .ultp-advance-post-meta div > span > span"}]},metaItemSort:{type:"array",default:["author","date","cmtCount","viewCount","readTime","cat","tag"]},authColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-auth-name, \n      {{ULTP}} .ultp-advance-post-meta a.ultp-auth-name { color:{{authColor}} }"}]},authHovColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-auth-name:hover, \n        {{ULTP}} .ultp-advance-post-meta a.ultp-auth-name:hover { color:{{authHovColor}} }"}]},authTypo:{type:"object",default:{openTypography:0,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-auth-name, \n        {{ULTP}} .ultp-advance-post-meta span.ultp-auth-heading, \n        {{ULTP}} .ultp-advance-post-meta a.ultp-auth-name"}]},authImgShow:{type:"boolean",default:!1},authImgSize:{type:"object",default:{lg:"18",unit:"px"},style:[{depends:[{key:"authImgShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-auth-heading img { width:{{authImgSize}}; height:{{authImgSize}} }"}]},authImgRadius:{type:"object",default:{lg:"50",unit:"px"},style:[{depends:[{key:"authImgShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-auth-heading img { border-radius:{{authImgRadius}} }"}]},authImgSpace:{type:"object",default:{lg:"5",unit:"px"},style:[{depends:[{key:"authImgShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-auth-heading img { margin-right:{{authImgSpace}} }"}]},authLabelShow:{type:"boolean",default:!0},authLabel:{type:"string",default:"Author",style:[{depends:[{key:"authLabelShow",condition:"==",value:!0}]}]},authLabelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"authLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-auth-heading .ultp-auth-label { color:{{authLabelColor}} }"}]},authLabelTypo:{type:"object",default:{openTypography:0,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{depends:[{key:"authLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-auth-heading .ultp-auth-label"}]},authLabelSpace:{type:"object",default:{lg:"5",unit:"px"},style:[{depends:[{key:"authLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-auth-heading .ultp-auth-label { margin-right:{{authLabelSpace}}; }"}]},authIconShow:{type:"boolean",default:!1},authIconStyle:{type:"string",default:"author1",style:[{depends:[{key:"authIconShow",condition:"==",value:!0}]}]},authIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"authIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-auth-heading svg { fill:{{authIconColor}}; stroke:{{authIconColor}} }"}]},authIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"authIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-auth-heading svg { height:{{authIconSize}}; width:{{authIconSize}} }"}]},authIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"authIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-auth-heading svg { margin-right:{{authIconSpace}} }"}]},authAlign:{type:"boolean",default:!1,style:[{depends:[{key:"authorShow",condition:"==",value:!0}]}]},dateFormat:{type:"string",default:"updated"},metaDateFormat:{type:"string",default:"M j, Y"},dateColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-date-meta span.ultp-post-date__val { color:{{dateColor}} }"}]},dateTypo:{type:"object",default:{openTypography:0,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-date-meta > span"}]},enablePrefix:{type:"boolean",default:!0},datePubText:{type:"string",default:"Publish Update",style:[{depends:[{key:"enablePrefix",condition:"==",value:!0},{key:"dateFormat",condition:"==",value:"publish"}]}]},dateText:{type:"string",default:"Latest Update",style:[{depends:[{key:"dateFormat",condition:"==",value:"updated"},{key:"enablePrefix",condition:"==",value:!0}]}]},datePrefixColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"enablePrefix",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-date-meta > span.ultp-date-prefix {color:{{datePrefixColor}}}"}]},DateIconShow:{type:"boolean",default:!1},dateIconStyle:{type:"string",default:"date1",style:[{depends:[{key:"DateIconShow",condition:"==",value:!0}]}]},dateIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"DateIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-date-icon svg { fill:{{dateIconColor}}; stroke:{{dateIconColor}}; }"}]},dateIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"DateIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-date-icon svg { width:{{dateIconSize}}; height:{{dateIconSize}} }"}]},dateIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"DateIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-date-icon svg { margin-right:{{dateIconSpace}} }"}]},dateAlign:{type:"boolean",default:!1,style:[{depends:[{key:"dateShow",condition:"==",value:!0}]}]},commentColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-comment-count { color:{{commentColor}} }"}]},commentHovColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-comment-count:hover { color:{{commentHovColor}} }"}]},commentTypo:{type:"object",default:{openTypography:0,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-comment-count, \n        {{ULTP}} .ultp-advance-post-meta span.ultp-comment-label"}]},cmtLabelShow:{type:"boolean",default:!0},cmtLabel:{type:"string",default:"Comment",style:[{depends:[{key:"cmtLabelShow",condition:"==",value:!0}]}]},cmtLabelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"cmtLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-comment-label { color:{{cmtLabelColor}} }"}]},commentLabelAlign:{type:"string",default:"after",style:[{depends:[{key:"commentLabelAlign",condition:"==",value:"before"},{key:"cmtLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-label {order: -1;margin-right: 5px;}"},{depends:[{key:"commentLabelAlign",condition:"==",value:"after"},{key:"cmtLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-label {order: 0; margin-left: 5px;}"}]},cmtIconShow:{type:"boolean",default:!1},cmntIconStyle:{type:"string",default:"commentCount1",style:[{depends:[{key:"cmtIconShow",condition:"==",value:!0}]}]},cmntIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"cmtIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-count svg { fill:{{cmntIconColor}}; stroke:{{cmntIconColor}}}"}]},commentIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"cmtIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-count svg{ width:{{commentIconSize}}; height:{{commentIconSize}} }"}]},cmntIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"cmtIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-count svg { margin-right:{{cmntIconSpace}} }"},{depends:[{key:"cmtIconShow",condition:"==",value:!0},{key:"cmtLabelShow",condition:"==",value:!0},{key:"commentLabelAlign",condition:"==",value:"before"}],selector:"{{ULTP}} .ultp-comment-count svg { margin:0px {{cmntIconSpace}} } \n          {{ULTP}} .ultp-comment-label {margin:0px !important;}"}]},cmntAlign:{type:"boolean",default:!1,style:[{depends:[{key:"cmtCountShow",condition:"==",value:!0}]}]},viewColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-view-count { color:{{viewColor}} }"}]},viewHovColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-view-count:hover { color:{{viewHovColor}} }"}]},viewTypo:{type:"object",default:{openTypography:0,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-view-count, \n        {{ULTP}} .ultp-advance-post-meta span.ultp-view-label"}]},viewLabelShow:{type:"boolean",default:!0},viewLabel:{type:"string",default:"View",style:[{depends:[{key:"viewLabelShow",condition:"==",value:!0}]}]},viewLabelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"viewLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-view-label { color:{{viewLabelColor}} }"}]},viewLabelAlign:{type:"string",default:"after",style:[{depends:[{key:"viewLabelAlign",condition:"==",value:"before"},{key:"viewLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-label {order: -1;margin-right: 5px;}"},{depends:[{key:"viewLabelAlign",condition:"==",value:"after"},{key:"viewLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-label {order: 0; margin-left: 5px;}"}]},viewIconShow:{type:"boolean",default:!1},viewIconStyle:{type:"string",default:"viewCount1",style:[{depends:[{key:"viewIconShow",condition:"==",value:!0}]}]},viewIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"viewIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-count svg { fill:{{viewIconColor}}; stroke:{{viewIconColor}} }"}]},viewIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"viewIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-count svg{ width:{{viewIconSize}}; height:{{viewIconSize}} }"}]},viewIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"viewIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-count svg {margin-right:{{viewIconSpace}}}"},{depends:[{key:"viewIconShow",condition:"==",value:!0},{key:"viewLabelShow",condition:"==",value:!0},{key:"viewLabelAlign",condition:"==",value:"before"}],selector:"{{ULTP}} .ultp-view-count svg { margin:0px {{viewIconSpace}} } \n          {{ULTP}} .ultp-view-label {margin:0px !important;}"}]},viewAlign:{type:"boolean",default:!1,style:[{depends:[{key:"viewCountShow",condition:"==",value:!0}]}]},readColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-readTime-wrap { color:{{readColor}} }"}]},readHovColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-readTime-wrap:hover { color:{{readHovColor}} }"}]},readTypo:{type:"object",default:{openTypography:0,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-readTime-wrap *"}]},readTimePrefix:{type:"boolean",default:!0},readTimeText:{type:"string",default:"Minute Read",0:{depends:[{key:"readTimePrefix",condition:"==",value:!0}]}},readPrefixAlign:{type:"string",default:"after",style:[{depends:[{key:"readPrefixAlign",condition:"==",value:"before"},{key:"readTimePrefix",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-read-label {order: -1;margin-right: 5px;}"},{depends:[{key:"readPrefixAlign",condition:"==",value:"after"},{key:"readTimePrefix",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-read-label {order: 0; margin-left: 5px;}"}]},readTimeIcon:{type:"boolean",default:!1},readIconStyle:{type:"string",default:"readingTime2",style:[{depends:[{key:"readTimeIcon",condition:"==",value:!0}]}]},readIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"readTimeIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-readTime-wrap svg { fill:{{readIconColor}}; stroke:{{readIconColor}}; }"}]},readIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"readTimeIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-readTime-wrap svg { width:{{readIconSize}}; height:{{readIconSize}} }"}]},readIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"readTimeIcon",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-readTime-wrap svg { margin-right:{{readIconSpace}} }"},{depends:[{key:"readTimeIcon",condition:"==",value:!0},{key:"readTimePrefix",condition:"==",value:!0},{key:"readPrefixAlign",condition:"==",value:"before"}],selector:"{{ULTP}} .ultp-readTime-wrap svg { margin:0px {{readIconSpace}} } \n          {{ULTP}} .ultp-read-label { margin:0px !important;}"}]},readAlign:{type:"boolean",default:!1,style:[{depends:[{key:"readTimeShow",condition:"==",value:!0}]}]},catColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-post-cat a { color:{{catColor}} }"}]},catHovColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-post-cat a:hover { color:{{catHovColor}} }"}]},catTypo:{type:"object",default:{openTypography:0,decoration:"none",size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-post-cat a, \n        {{ULTP}} .ultp-advance-post-meta span.ultp-cat-label"}]},catSpace:{type:"object",default:{lg:"7",unit:"px"},style:[{selector:"{{ULTP}} .ultp-post-cat a:not(:first-child) { margin-left:{{catSpace}} }"}]},catLabelShow:{type:"boolean",default:!0},catLabel:{type:"string",default:"Category",style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}]}]},catLabelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-cat-label { color:{{catLabelColor}} }"}]},catLabelSpace:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-cat-label { margin-right:{{catLabelSpace}};}"}]},catIconShow:{type:"boolean",default:!1},catIconStyle:{type:"string",default:"cat2",style:[{depends:[{key:"catIconShow",condition:"==",value:!0}]}]},catIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"catIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-cat-wrap svg { height:{{catIconSize}}; width:{{catIconSize}} }"}]},catIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"catIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-cat-wrap svg, \n          {{ULTP}} .ultp-cat-wrap svg path, \n          {{ULTP}} .ultp-cat-wrap svg rect{ fill:{{catIconColor}}; stroke:{{catIconColor}} }"}]},catIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"catIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-cat-wrap svg {margin-right:{{catIconSpace}} }"}]},catAlign:{type:"boolean",default:!1,style:[{depends:[{key:"catShow",condition:"==",value:!0}]}]},tagColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-post-tag a { color:{{tagColor}} }"}]},tagHovColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-post-tag a:hover { color:{{tagHovColor}} }"}]},tagTypo:{type:"object",default:{openTypography:0,decoration:"none",size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-post-tag a, \n        {{ULTP}} .ultp-advance-post-meta span.ultp-tag-label"}]},tagSpace:{type:"object",default:{lg:"7",unit:"px"},style:[{selector:"{{ULTP}} .ultp-post-tag a:not(:first-child) { margin-left:{{tagSpace}};}"}]},tagLabelShow:{type:"boolean",default:!0},tagLabel:{type:"string",default:"Tag - ",style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}]}]},tagLabelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-advance-post-meta span.ultp-tag-label { color:{{tagLabelColor}} }"}]},tagLabelSpace:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-tag-label { margin-right:{{tagLabelSpace}};}"}]},tagIconShow:{type:"boolean",default:!1},tagIconStyle:{type:"string",default:"tag2",style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}]}]},tagIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-tag-wrap svg, \n          {{ULTP}} .ultp-tag-wrap svg path {fill:{{tagIconColor}}; stroke:{{tagIconColor}} }"}]},tagIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-tag-wrap svg {height:{{tagIconSize}}; width:{{tagIconSize}}}"}]},tagIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-tag-wrap svg {margin-right:{{tagIconSpace}} }"}]},tagAlign:{type:"boolean",default:!1,style:[{depends:[{key:"tagShow",condition:"==",value:!0}]}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},1565:(e,t,l)=>{"use strict";var o=l(7294),a=l(5977),i=l(9471);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/advance-post-meta",{title:__("Advanced Post Meta","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/post_meta.svg",alt:"Advanced Post Meta"}),category:"postx-site-builder",description:__("Display Advance Post Meta with the ultimate controls.","ultimate-post"),keywords:[__("Advanced Post Meta","ultimate-post"),__("Post Meta","ultimate-post"),__("Meta","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},4878:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(4324),s=l(2637),p=l(1760);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Fragment:u}=wp.element;function d(e){const{setAttributes:t,name:l,attributes:d,clientId:m,className:g,attributes:{blockId:y,titleShow:b,prefixShow:v,prefixText:h,advanceId:f,showImage:k,layout:w,excerptShow:x,customTaxColor:T,customTaxTitleColor:S,titleTag:P,currentPostId:C}}=e,E={setAttributes:t,name:l,attributes:d,clientId:m};(0,r.S)({blockId:y,clientId:m,currentPostId:C,setAttributes:t,checkRef:!1}),y&&(0,n.Kh)(d,"ultimate-post/archive-title",y);const _="Archive Title",L=ultp_data.url+"assets/img/builder-fallback.jpg",I="#037fff",U="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam molestie aliquet molestie.",B=L?{backgroundImage:`url(${L})`}:{background:`${I}`};return(0,a.createElement)(u,null,(0,a.createElement)(c,null,(0,a.createElement)(s.Sections,null,(0,a.createElement)(s.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.If,{store:E,initialOpen:!0,exclude:["columns","columnGridGap","contentTag","openInTab"],include:[{position:0,data:{type:"layout",col:2,imgPath:"assets/img/layouts/archive/popup/ar",block:"archive-title",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/archive/al1.png",demoUrl:"",label:__("Layout 1","ultimate-post"),value:"1"},{img:"assets/img/layouts/archive/al2.png",demoUrl:"",label:__("Layout 2","ultimate-post"),value:"2"}]}}]}),(0,a.createElement)(i.VH,{depend:"titleShow",store:E,exclude:["titlePosition","titleHoverColor","titleLength","titleBackground","titleStyle","titleAnimColor"],include:[{position:0,data:{type:"toggle",key:"customTaxTitleColor",label:__("Specific Color","ultimate-post"),pro:!0}},{position:1,data:{type:"linkbutton",key:"seperatorTaxTitleLink",placeholder:__("Choose Color","ultimate-post"),label:__("Taxonomy Specific (Pro)","ultimate-post"),text:"Choose Color"}}]}),(0,a.createElement)(i.Ny,{depend:"prefixShow",include:[{position:1,data:{type:"toggle",key:"prefixTop",label:__("Show on Top","ultimate-post")}}],store:E}),"2"==w&&(0,a.createElement)(i.HY,{store:E,exclude:["TaxAnimation"]}),"1"==w&&(0,a.createElement)(i.Hn,{depend:"showImage",store:E,exclude:["imgMargin","imgCropSmall","imgCrop","imgAnimation","imgOverlay","imageScale","imgOpacity","overlayColor","imgOverlayType","imgGrayScale","imgHoverGrayScale","imgShadow","imgHoverShadow","imgTab","imgHoverRadius","imgRadius","imgSrcset","imgLazy"],include:[{position:3,data:{type:"alignment",key:"contentAlign",responsive:!1,label:__("Alignment","ultimate-post"),disableJustify:!0}},{position:2,data:{type:"range",key:"imgSpacing",label:__("Img Spacing","ultimate-post"),min:0,max:100,step:1,responsive:!0}}]}),(0,a.createElement)(i.X_,{depend:"excerptShow",store:E,title:__("Description","ultimate-post"),exclude:["showSeoMeta","excerptLimit","showFullExcerpt"]})),(0,a.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:E}),(0,a.createElement)(i.Mg,{store:E}),(0,a.createElement)(i.iv,{store:E}))),(0,i.dH)()),(0,a.createElement)(p.Z,{include:[{type:"layout",col:2,imgPath:"assets/img/layouts/archive/popup/ar",block:"archive-title",key:"layout",options:[{img:"assets/img/layouts/archive/al1.png",demoUrl:"",label:__("Layout 1","ultimate-post"),value:"1"},{img:"assets/img/layouts/archive/al2.png",demoUrl:"",label:__("Layout 2","ultimate-post"),value:"2"}],label:__("Layout","ultimate-post")}],store:E}),(0,a.createElement)("div",(0,o.Z)({},f&&{id:f},{className:`ultp-block-${y} ${g}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:`ultp-block-archive-title  ultp-archive-layout-${w}`},1==w&&(0,a.createElement)("div",null,L&&k&&(0,a.createElement)("img",{className:"ultp-archive-image",src:L,alt:_}),b&&(0,a.createElement)(i.VI,{tag:P,className:"ultp-archive-name",style:S?{color:I}:{}},v&&(0,a.createElement)("span",{className:"ultp-archive-prefix"},h," "),_),x&&(0,a.createElement)("div",{className:"ultp-archive-desc"},U)),2==w&&(0,a.createElement)("div",{className:"ultp-archive-content",style:B},(0,a.createElement)("div",{className:"ultp-archive-overlay",style:T?{backgroundColor:I}:{}}),b&&(0,a.createElement)(i.VI,{tag:P,className:"ultp-archive-name"},v&&(0,a.createElement)("span",{className:"ultp-archive-prefix"},h," "),_),x&&(0,a.createElement)("div",{className:"ultp-archive-desc"},U))))))}},6963:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(2165);const a={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"1"},contentAlign:{type:"string",default:"left",style:[{depends:[{key:"contentAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-block-archive-title { text-align:{{contentAlign}}; }"},{depends:[{key:"contentAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-block-archive-title { text-align:{{contentAlign}}; }"},{depends:[{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-archive-title { text-align:{{contentAlign}}; }"}]},titleShow:{type:"boolean",default:!0},excerptShow:{type:"boolean",default:!0},prefixShow:{type:"boolean",default:!1},showImage:{type:"boolean",default:!1},titleTag:{type:"string",default:"h1"},customTaxTitleColor:{type:"boolean",default:!1},seperatorTaxTitleLink:{type:"string",default:ultp_data.category_url,style:[{depends:[{key:"customTaxTitleColor",condition:"==",value:!0}]}]},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-name { color:{{titleColor}}; }"},{depends:[{key:"customTaxTitleColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-name { color:{{titleColor}}; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:"28",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"32",unit:"px"},transform:"",decoration:"none",family:"",weight:""},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-name"}]},titlePadding:{type:"object",default:{lg:{unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-name { padding:{{titlePadding}}; }"}]},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-desc { color:{{excerptColor}}; }"}]},excerptTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:"22",unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-desc"}]},excerptPadding:{type:"object",default:{lg:{top:"0",bottom:"",unit:"px"}},style:[{depends:[{key:"excerptShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-desc { padding: {{excerptPadding}}; }"}]},prefixText:{type:"string",default:"Sample Prefix Text"},prefixTop:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} .ultp-archive-prefix { display: block; }"}]},prefixColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"prefixShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-prefix { color:{{prefixColor}}; }"}]},prefixTypo:{type:"object",default:{openTypography:1,size:{lg:"",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"",unit:"px"},transform:"",decoration:"none",family:"",weight:""},style:[{depends:[{key:"prefixShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-prefix"}]},prefixPadding:{type:"object",default:{lg:{top:10,bottom:5,unit:"px"}},style:[{depends:[{key:"prefixShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-prefix { padding:{{prefixPadding}}; }"}]},imgWidth:{type:"object",default:{lg:"",ulg:"%"},style:[{depends:[{key:"layout",condition:"==",value:["1"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-image { max-width: {{imgWidth}}; }"}]},imgHeight:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"layout",condition:"==",value:["1"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-image {object-fit: cover; height: {{imgHeight}}; }"}]},imgSpacing:{type:"object",default:{lg:"10"},style:[{depends:[{key:"layout",condition:"==",value:["1"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-image { margin-bottom: {{imgSpacing}}px; }"}]},customTaxColor:{type:"boolean",default:!1},seperatorTaxLink:{type:"string",default:ultp_data.category_url,style:[{depends:[{key:"customTaxColor",condition:"==",value:!0}]}]},TaxAnimation:{type:"string",default:"none"},TaxWrapBg:{type:"string",default:"",style:[{depends:[{key:"customTaxColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content .ultp-archive-overlay { background:{{TaxWrapBg}}; }"}]},TaxWrapHoverBg:{type:"string",style:[{depends:[{key:"customTaxColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content:hover .ultp-archive-overlay { background:{{TaxWrapHoverBg}}; }"}]},TaxWrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["2"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content"}]},TaxWrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"layout",condition:"==",value:["2"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content:hover"}]},TaxWrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"==",value:["2"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content"}]},TaxWrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"layout",condition:"==",value:["2"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content:hover"}]},TaxWrapRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["2"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content { border-radius: {{TaxWrapRadius}}; }"}]},TaxWrapHoverRadius:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["2"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content:hover { border-radius: {{TaxWrapHoverRadius}}; }"}]},customOpacityTax:{type:"string",default:.6,style:[{selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content .ultp-archive-overlay { opacity: {{customOpacityTax}}; }"}]},customTaxOpacityHover:{type:"string",default:.9,style:[{selector:"{{ULTP}} .ultp-taxonomy-items li a:hover .ultp-archive-overlay { opacity: {{customTaxOpacityHover}}; }"}]},TaxWrapPadding:{type:"object",default:{lg:{top:"20",bottom:"20",left:"20",right:"20",unit:"px"}},style:[{depends:[{key:"layout",condition:"==",value:["2"]}],selector:"{{ULTP}} .ultp-block-archive-title .ultp-archive-content { padding: {{TaxWrapPadding}}; }"}]},...(0,o.t)(["advanceAttr"],["loadingColor"])}},3056:(e,t,l)=>{"use strict";var o=l(7294),a=l(4878),i=l(6963);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/archive-title",{title:__("Archive Title","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/archive-title.svg"}),category:"postx-site-builder",description:__("Display archive titles and customize them as you need.","ultimate-post"),keywords:[__("archive","ultimate-post"),__("dynamic title","ultimate-post"),__("title","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},2568:(e,t,l)=>{"use strict";l.d(t,{Z:()=>m});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(4324),s=l(1760),p=l(8784);const{__}=wp.i18n,{Fragment:c}=wp.element,{InspectorControls:u,RichText:d}=wp.blockEditor;function m(e){const{setAttributes:t,name:l,attributes:m,clientId:g,className:y,attributes:{blockId:b,advanceId:v,layout:h,imgShow:f,writtenByShow:k,writtenByText:w,authorBioShow:x,metaShow:T,metaPosition:S,allPostLinkShow:P,viewAllPostText:C,authorNameTag:E,currentPostId:_}}=e,L={setAttributes:t,name:l,attributes:m,clientId:g};(0,r.S)({blockId:b,clientId:g,currentPostId:_,setAttributes:t,checkRef:!1});const I=(0,a.createElement)("div",{className:"ultp-post-author-image-section ultp-post-author-image-editor"},(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-author.jpg",className:"ultp-post-author-image",alt:"author_image"}));return b&&(0,n.Kh)(m,"ultimate-post/author-box",b),(0,a.createElement)(c,null,(0,a.createElement)(u,null,(0,a.createElement)(p.Z,{store:L}),(0,i.dH)()),(0,a.createElement)(s.Z,{include:[{type:"layout",block:"post-author",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/builder/auth_box/auth_box1.png",label:"Layout 1",value:"layout1"},{img:"assets/img/layouts/builder/auth_box/auth_box2.png",label:"Layout 2",value:"layout2",pro:!0},{img:"assets/img/layouts/builder/auth_box/auth_box4.png",label:"Layout 3",value:"layout3",pro:!0},{img:"assets/img/layouts/builder/auth_box/auth_box3.png",label:"Layout 4",value:"layout4",pro:!0}]}],store:L}),(0,a.createElement)("div",(0,o.Z)({},v&&{id:v},{className:`ultp-block-${b} ${y}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-author-box ultp-author-box-"+h+"-content"},f&&"layout4"!==h&&I,(0,a.createElement)("div",{className:"ultp-post-author-details"},(0,a.createElement)("div",{className:"ultp-post-author-title"},k&&(0,a.createElement)(d,{key:"editable",tagName:"span",className:"ultp-post-author-written-by",keepPlaceholderOnFocus:!0,placeholder:__("Change Text...","ultimate-post"),onChange:e=>t({writtenByText:e}),value:w}),(0,a.createElement)(i.VI,{tag:E,className:"ultp-post-author-name"},(0,a.createElement)("a",{href:"#"},"Author Name"))),T&&"top"==S&&(0,a.createElement)("div",{className:"ultp-post-author-meta"},(0,a.createElement)("span",{className:"ultp-total-post"},"72 Posts"),(0,a.createElement)("span",{className:"ultp-total-comment"},"32 Comments")),x&&(0,a.createElement)("div",{className:"ultp-post-author-bio"},(0,a.createElement)("span",{className:"ultp-post-author-bio-meta"},"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable")),T&&"bottom"==S&&(0,a.createElement)("div",{className:"ultp-post-author-meta"},(0,a.createElement)("span",{className:"ultp-total-post"},"72 Posts"),(0,a.createElement)("span",{className:"ultp-total-comment"},"32 Comments")),P&&(0,a.createElement)("div",{className:"ultp-author-post-link"},(0,a.createElement)("a",{className:"ultp-author-post-link-text",href:"#"},C))),f&&"layout4"===h&&I))))}},8784:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.T,{title:"inline",include:[{position:0,data:{type:"layout",block:"post-author",key:"layout",label:__("Layout","ultimate-post"),options:[{img:"assets/img/layouts/builder/auth_box/auth_box1.png",label:"Layout 1",value:"layout1"},{img:"assets/img/layouts/builder/auth_box/auth_box2.png",label:"Layout 2",value:"layout2",pro:!0},{img:"assets/img/layouts/builder/auth_box/auth_box4.png",label:"Layout 3",value:"layout3",pro:!0},{img:"assets/img/layouts/builder/auth_box/auth_box3.png",label:"Layout 4",value:"layout4",pro:!0}]}},{data:{type:"alignment",key:"authorBoxAlign",disableJustify:!0,label:__("Alignment","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{title:__("Content Style","ultimate-post"),include:[{data:{type:"color2",key:"boxContentBg",label:__("Content Background","ultimate-post")}},{data:{type:"border",key:"boxContentBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"boxContentRadius",label:__("Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"boxContentPad",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}}],store:e}),(0,o.createElement)(a.T,{title:__("Author Image","ultimate-post"),depend:"imgShow",include:[{data:{type:"range",key:"imgSize",min:0,max:400,step:1,responsive:!0,label:__("Size","ultimate-post")}},{data:{type:"range",key:"imgSpace",min:0,max:250,step:1,responsive:!0,unit:["px","em","rem","%"],label:__("Space","ultimate-post")}},{data:{type:"range",key:"imgUp",min:0,max:250,step:1,responsive:!0,unit:["px","em","rem","%"],label:__("Image Top Position","ultimate-post")}},{data:{type:"border",key:"imgBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"imgRadius",label:__("Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"toggle",key:"authImgStack",label:__("Stack on Mobile","ultimate-post")}},{data:{type:"group",key:"imgRatio",justify:!0,options:[{value:"100",label:__("Low","ultimate-post")},{value:"200",label:__("Medium","ultimate-post")},{value:"300",label:__("Heigh","ultimate-post")}],label:__("Image Ratio","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{title:__("Written By Label","ultimate-post"),depend:"writtenByShow",include:[{data:{type:"text",key:"writtenByText",label:__("Text","ultimate-post")}},{data:{type:"color",key:"writtenByColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"writtenByTypo",label:__("Typography","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{title:__("Author Name","ultimate-post"),include:[{data:{type:"tag",key:"authorNameTag",label:__("Tag","ultimate-post")}},{data:{type:"color",key:"authorNameColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"authorNameHoverColor",label:__("Hover Color","ultimate-post")}},{data:{type:"typography",key:"authorNameTypo",label:__("Typography","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{title:__("Author Bio","ultimate-post"),depend:"authorBioShow",include:[{data:{type:"color",key:"authorBioColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"authorBioTypo",label:__("Typography","ultimate-post")}},{data:{type:"dimension",key:"authorBioMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0}}],store:e}),(0,o.createElement)(a.T,{title:__("Meta","ultimate-post"),depend:"metaShow",include:[{data:{type:"group",key:"metaPosition",label:__("Meta Position","ultimate-post"),justify:!0,options:[{value:"top",label:__("Top","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]}},{data:{type:"color",key:"metaColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"metaTypo",label:__("Typography","ultimate-post")}},{data:{type:"color",key:"metaBg",label:__("Background","ultimate-post")}},{data:{type:"dimension",key:"metaPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"metaMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"border",key:"metaBorder",label:__("Border","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{title:__("View All Post Link","ultimate-post"),depend:"allPostLinkShow",include:[{data:{type:"text",key:"viewAllPostText",label:__("Text","ultimate-post")}},{data:{type:"typography",key:"viewAllPostTypo",label:__("Typography","ultimate-post")}},{data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"viewAllPostColor",label:__("Color","ultimate-post")},{type:"color2",key:"viewAllPostBg",label:__("Background Color","ultimate-post")},{type:"dimension",key:"viewAllPostRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"viewAllPostHoverColor",label:__("Hover Color","ultimate-post")},{type:"color2",key:"viewAllPostBgHoverColor",label:__("Hover Bg Color","ultimate-post")},{type:"dimension",key:"viewAllPostHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]}},{data:{type:"separator"}},{data:{type:"dimension",key:"viewAllPostPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"viewAllPostMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0}}],store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{store:e}),(0,o.createElement)(a.Mg,{pro:!0,store:e}),(0,o.createElement)(a.iv,{store:e})))},4530:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},layout:{type:"string",default:"layout1"},currentPostId:{type:"string",default:""},imgShow:{type:"boolean",default:!0},writtenByShow:{type:"boolean",default:!0},authorBioShow:{type:"boolean",default:!0},metaShow:{type:"boolean",default:!0},allPostLinkShow:{type:"boolean",default:!0},authorBoxAlign:{type:"object",default:"center",style:[{depends:[{key:"layout",condition:"!=",value:"layout2"},{key:"layout",condition:"!=",value:"layout4"}],selector:"{{ULTP}} .ultp-author-box {text-align:{{authorBoxAlign}};}"}]},boxContentBg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Base_2_color)"},style:[{selector:"{{ULTP}} .ultp-author-box"}]},boxContentBorder:{type:"object",default:{openBorder:0},style:[{selector:"{{ULTP}} .ultp-author-box"}]},boxContentRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-author-box { border-radius:{{boxContentRadius}}; }"}]},boxContentPad:{type:"object",default:{lg:"20",unit:"px"},style:[{selector:"{{ULTP}} .ultp-author-box { padding:{{boxContentPad}}; }"}]},imgSize:{type:"object",default:{lg:"100"},style:[{depends:[{key:"imgShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-box img { height:{{imgSize}}px !important; width:{{imgSize}}px !important; }"}]},imgSpace:{type:"object",default:{lg:"20",unit:"px"},style:[{depends:[{key:"imgShow",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout1"}],selector:"{{ULTP}} .ultp-post-author-image-section > img { margin-bottom: {{imgSpace}}; }"},{depends:[{key:"authImgStack",condition:"==",value:!1},{key:"imgShow",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout2"}],selector:"{{ULTP}} .ultp-post-author-image-section { margin-right: {{imgSpace}}; }"},{depends:[{key:"imgShow",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .ultp-post-author-image-section > img { margin-bottom: {{imgSpace}}; }"},{depends:[{key:"imgShow",condition:"==",value:!0},{key:"authImgStack",condition:"==",value:!1},{key:"layout",condition:"==",value:"layout4"}],selector:"{{ULTP}} .ultp-post-author-image-section { margin-left: {{imgSpace}}; }"},{depends:[{key:"imgShow",condition:"==",value:!0},{key:"authImgStack",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout2"}],selector:"{{ULTP}} .ultp-post-author-image-section { margin-right: {{imgSpace}}; } @media only screen and (max-width: 600px) { {{ULTP}} .ultp-post-author-image-section { margin-bottom: {{imgSpace}}; margin-right: 0px; }  }"},{depends:[{key:"imgShow",condition:"==",value:!0},{key:"authImgStack",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout4"}],selector:"{{ULTP}} .ultp-post-author-image-section { margin-left: {{imgSpace}}; } @media only screen and (max-width: 600px) { {{ULTP}} .ultp-post-author-image-section { margin-bottom: {{imgSpace}}; margin-left: 0px; }}"}]},imgUp:{type:"object",default:{lg:"60",unit:"px"},style:[{depends:[{key:"imgShow",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .ultp-author-box-layout3-content .ultp-post-author-image-section > img { margin-top: -{{imgUp}}; } {{ULTP}} .ultp-block-wrapper { margin-top: {{imgUp}}; }"}]},imgBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#000",type:"solid"},style:[{depends:[{key:"imgShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-image-section > img"}]},imgRadius:{type:"object",default:{lg:"100",unit:"px"},style:[{depends:[{key:"imgShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-image-section > img { border-radius:{{imgRadius}}; }"}]},authImgStack:{type:"boolean",default:!0,style:[{selector:"@media only screen and (max-width: 600px) { .ultp-author-box-layout2-content {  display: block; text-align: center; } }"}]},imgRatio:{type:"string",default:"100"},writtenByText:{type:"string",default:"Written by"},writtenByColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"writtenByShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-written-by {color:{{writtenByColor}};}"}]},writtenByTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"",unit:"px"}},style:[{depends:[{key:"writtenByShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-written-by"}]},authorNameTag:{type:"string",default:"h4"},authorNameColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-post-author-name a {color:{{authorNameColor}} !important; }"}]},authorNameHoverColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-post-author-name a:hover { color:{{authorNameHoverColor}} !important; }"}]},authorNameTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-post-author-name"}]},authorBioColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"authorBioShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-bio-meta {color:{{authorBioColor}};}"}]},authorBioTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"22",unit:"px"}},style:[{depends:[{key:"authorBioShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-bio"}]},authorBioMargin:{type:"object",default:{lg:{top:"20",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"authorBioShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-bio { margin:{{authorBioMargin}}; }"}]},metaPosition:{type:"string",default:"bottom"},metaColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-total-post, {{ULTP}} .ultp-total-comment { color: {{metaColor}}; }"}]},metaTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-meta"}]},metaMargin:{type:"object",default:{lg:{top:"12",unit:"px"}},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-meta { margin:{{metaMargin}}; }"}]},metaPadding:{type:"object",default:{lg:{unit:"px"}},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-meta { padding:{{metaPadding}}; }"}]},metaBg:{type:"string",default:"",style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-meta { background:{{metaBg}}; }"}]},metaBorder:{type:"object",default:{openBorder:0,width:{top:1,right:"0",bottom:"0",left:"0"},color:"#009fd4",type:"solid"},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-author-meta"}]},viewAllPostText:{type:"string",default:"View All Posts"},viewAllPostTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link-text"}]},viewAllPostColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link a:not(.wp-block-button__link), {{ULTP}} .ultp-author-post-link-text {color:{{viewAllPostColor}};}"}]},viewAllPostBg:{type:"string",default:"",style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link-text"}]},viewAllPostRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link-text { border-radius:{{viewAllPostRadius}}; }"}]},viewAllPostHoverColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link .ultp-author-post-link-text:hover { color:{{viewAllPostHoverColor}}; }"}]},viewAllPostBgHoverColor:{type:"string",default:"",style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link-text:hover"}]},viewAllPostHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link-text:hover { border-radius:{{viewAllPostHoverRadius}}; }"}]},viewAllPostPadding:{type:"object",default:{lg:{unit:"px"}},style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link-text { padding:{{viewAllPostPadding}}; }"}]},viewAllPostMargin:{type:"object",default:{lg:{top:"15",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"allPostLinkShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-author-post-link { margin:{{viewAllPostMargin}}; }"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},1544:(e,t,l)=>{"use strict";var o=l(7294),a=l(2568),i=l(4530);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/author-box",{title:__("Post Author Box","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/author_box.svg",alt:"Post Author"}),category:"postx-site-builder",description:__("Display Post Author details and customize them as you need.","ultimate-post"),keywords:[__("Post Author Box","ultimate-post"),__("Author","ultimate-post"),__("Blog Post Author","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},191:(e,t,l)=>{"use strict";l.d(t,{Z:()=>m});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(3245),s=l(4324),p=l(1760),c=l(200);const{__}=wp.i18n,{InspectorControls:u}=wp.blockEditor,{Fragment:d}=wp.element;function m(e){const{setAttributes:t,name:l,attributes:m,clientId:g,className:y,attributes:{blockId:b,advanceId:v,headingEnable:h,imageShow:f,titleShow:k,navDivider:w,iconShow:x,dividerBorderShape:T,arrowIconStyle:S,dateShow:P,titlePosition:C,layout:E,prevHeadText:_,nextHeadText:L,currentPostId:I}}=e,U={setAttributes:t,name:l,attributes:m,clientId:g};(0,s.S)({blockId:b,clientId:g,currentPostId:I,setAttributes:t,checkRef:!1});const B=(e,t,l)=>{const o=(0,a.createElement)("div",{className:"ultp-nav-img "+(x&&"style2"==E?"ultp-npb-overlay":"")},x&&"style2"==E&&(l?e:t),f&&(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-placeholder.jpg"}));return(0,a.createElement)("a",{className:l?`ultp-nav-block-prev ultp-nav-prev-${E}`:`ultp-nav-block-next ultp-nav-next-${E}`,href:"#"},h&&!C&&"style2"==E&&(0,a.createElement)("div",{className:l?"ultp-prev-title":"ultp-next-title"},l?_:L),l&&x&&"style2"!=E&&e,(0,a.createElement)("div",{className:"ultp-nav-inside"},h&&!C&&"style2"!=E&&(0,a.createElement)("div",{className:l?"ultp-prev-title":"ultp-next-title"},l?_:L),(0,a.createElement)("div",{className:"ultp-nav-inside-container"},1==l&&o,0==l&&"style3"==E&&o,(0,a.createElement)("div",{className:"ultp-nav-text-content"},h&&C&&(0,a.createElement)("div",{className:l?"ultp-prev-title":"ultp-next-title"},l?_:L),P&&(0,a.createElement)("div",{className:"ultp-nav-date"},l?"25 Jan 2022":"10 Feb 2024"),k&&(0,a.createElement)("div",{className:"ultp-nav-title"},l?"Sample Title of the Previous Post":"Sample Title of the Next Post")),0==l&&"style3"!=E&&(0,a.createElement)("span",null,o))),0==l&&x&&"style2"!=E&&t)},M=(0,a.createElement)("span",{className:`ultp-icon ultp-icon-${S}`},r.ZP["left"+S]),A=(0,a.createElement)("span",{className:`ultp-icon ultp-icon-${S}`},r.ZP["right"+S]);return b&&(0,n.Kh)(m,"ultimate-post/next-previous",b),(0,a.createElement)(d,null,(0,a.createElement)(u,null,(0,a.createElement)(c.Z,{store:U}),(0,i.dH)()),(0,a.createElement)(p.Z,{include:[{type:"layout",key:"layout",pro:!0,tab:!0,label:__("Style","ultimate-post"),block:"next-preview",options:[{img:"assets/img/layouts/builder/next_prev/next_prev_1.png",label:__("Style 1","ultimate-post"),value:"style1"},{img:"assets/img/layouts/builder/next_prev/next_prev_2.png",label:__("Style 2","ultimate-post"),value:"style2",pro:!0},{img:"assets/img/layouts/builder/next_prev/next_prev_3.png",label:__("Style 3","ultimate-post"),value:"style3",pro:!0}]}],store:U}),(0,a.createElement)("div",(0,o.Z)({},v&&{id:v},{className:`ultp-block-${b} ${y}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-block-nav"+(f?" next-prev-img":"")},B(M,A,!0),w&&T&&(0,a.createElement)("span",{className:"ultp-divider"}),B(M,A,!1)))))}},200:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,o.createElement)(a.T,{initialOpen:!0,title:__("General","ultimate-post"),include:[{data:{type:"layout",key:"layout",pro:!0,tab:!0,label:__("Style","ultimate-post"),block:"next-preview",options:[{img:"assets/img/layouts/builder/next_prev/next_prev_1.png",label:__("Style 1","ultimate-post"),value:"style1"},{img:"assets/img/layouts/builder/next_prev/next_prev_2.png",label:__("Style 2","ultimate-post"),value:"style2",pro:!0},{img:"assets/img/layouts/builder/next_prev/next_prev_3.png",label:__("Style 3","ultimate-post"),value:"style3",pro:!0}]}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!0,title:__("Content","ultimate-post"),include:[{data:{type:"color",key:"navItemBg",label:__("Background","ultimate-post")}},{data:{type:"color",key:"navItemHovBg",label:__("Hover Background","ultimate-post")}},{data:{type:"dimension",key:"navItemPadd",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"navItemRad",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"border",key:"navItemBorder",label:__("Border","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{title:__("Label","ultimate-post"),depend:"headingEnable",include:[{data:{type:"tab",key:"navHeadTab",content:[{name:"previous",title:__("Previous","ultimate-post"),options:[{type:"text",key:"prevHeadText",label:__("Previous Post Text","ultimate-post")},{type:"alignment",key:"prevHeadAlign",disableJustify:!0,label:__("Prev Nav Text Align","ultimate-post")},{type:"alignment",key:"prevContentAlign",disableJustify:!0,label:__("Alignment","ultimate-post")}]},{name:"next",title:__("Next","ultimate-post"),options:[{type:"text",key:"nextHeadText",label:__("Next Post Text","ultimate-post")},{type:"alignment",key:"nextHeadAlign",disableJustify:!0,label:__("Next Nav Text Align","ultimate-post")},{type:"alignment",key:"nextContentAlign",disableJustify:!0,label:__("Alignment","ultimate-post")}]}]}},{data:{type:"separator"}},{data:{type:"color",key:"prevHeadColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"prevHeadHovColor",label:__("Hover Color","ultimate-post")}},{data:{type:"typography",key:"prevHeadTypo",label:__("Typography","ultimate-post")}},{data:{type:"dimension",key:"prevHeadingSpace",label:__("Heading Space","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"toggle",key:"titlePosition",label:__("Align Beside Post Image","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!1,title:__("Title","ultimate-post"),depend:"titleShow",include:[{data:{type:"color",key:"titleColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"titleHoverColor",label:__("Hover Color","ultimate-post")}},{data:{type:"typography",key:"titleTypo",label:__("Typography ","ultimate-post")}},{data:{type:"range",key:"titleSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Title Spacing X","ultimate-post")}},{data:{type:"range",key:"titleSpaceX",min:0,max:300,step:1,responsive:!0,unit:!0,label:__("Title Spacing y","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!1,title:__("Date","ultimate-post"),depend:"dateShow",include:[{data:{type:"toggle",key:"datePosition",label:__("Date Below Title","ultimate-post")}},{data:{type:"color",key:"dateColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"dateHoverColor",label:__("Hover Color","ultimate-post")}},{data:{type:"typography",key:"dateTypo",label:__("Typography","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!1,title:__("Image","ultimate-post"),depend:"imageShow",include:[{data:{type:"range",key:"navImgWidth",min:0,max:300,step:1,responsive:!0,unit:!0,label:__("Width","ultimate-post")}},{data:{type:"range",key:"navImgHeight",min:0,max:300,step:1,responsive:!0,unit:!0,label:__("Height","ultimate-post")}},{data:{type:"dimension",key:"navImgBorderRad",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!1,title:__("Divider","ultimate-post"),depend:"navDivider",include:[{data:{type:"color",key:"dividerColor",label:__("Color","ultimate-post")}},{data:{type:"range",key:"dividerSpace",min:0,max:200,step:1,responsive:!0,unit:!0,label:__("Space","ultimate-post")}},{data:{type:"toggle",key:"dividerBorderShape",label:__("Dividers Shape","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!1,title:__("Navigation","ultimate-post"),depend:"iconShow",include:[{data:{type:"select",key:"arrowIconStyle",label:__("Arrow Icon Style","ultimate-post"),options:[{value:"Angle",icon:"rightAngle",label:__("Arrow 1","ultimate-post")},{value:"Angle2",icon:"rightAngle2",label:__("Arrow 2","ultimate-post")},{value:"ArrowLg",icon:"rightArrowLg",label:__("Arrow 3","ultimate-post")}]}},{data:{type:"color",key:"arrowColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"arrowHoverColor",label:__("Hover Color","ultimate-post")}},{data:{type:"range",min:0,max:80,step:1,responsive:!0,unit:!0,key:"arrowIconSpace",label:__("space","ultimate-post")}},{data:{type:"range",key:"arrowIconSize",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Icon Size","ultimate-post")}}],store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{store:e}),(0,o.createElement)(a.Mg,{pro:!0,store:e}),(0,o.createElement)(a.iv,{store:e})))},9294:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"style1"},headingEnable:{type:"boolean",default:!0,style:[{depends:[{key:"layout",condition:"!=",0:!1}]}]},imageShow:{type:"boolean",default:!0},titleShow:{type:"boolean",default:!0},dateShow:{type:"boolean",default:!0},navDivider:{type:"boolean",default:!1},iconShow:{type:"boolean",default:!0},navItemBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-nav-block-prev, \n          {{ULTP}} .ultp-nav-block-next { background:{{navItemBg}}; }"}]},navItemHovBg:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-nav-block-prev:hover, \n          {{ULTP}} .ultp-nav-block-next:hover { background:{{navItemHovBg}}; }"}]},navItemPadd:{type:"object",default:{lg:"15",unit:"px"},style:[{selector:"{{ULTP}} .ultp-nav-block-next, \n          {{ULTP}} .ultp-nav-block-prev { padding:{{navItemPadd}}; }"}]},navItemRad:{type:"object",default:{lg:"4",unit:"px"},style:[{selector:"{{ULTP}} .ultp-nav-block-next, \n          {{ULTP}} .ultp-nav-block-prev { border-radius:{{navItemRad}}; }"}]},navItemBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#e5e5e5",type:"solid"},style:[{selector:"{{ULTP}} .ultp-nav-block-next ,{{ULTP}} .ultp-nav-block-prev"}]},titlePosition:{type:"boolean",default:!0},prevContentAlign:{type:"string",default:"left",style:[{depends:[{key:"prevContentAlign",condition:"==",value:"left"},{key:"layout",condition:"!=",value:"style2"}],selector:"{{ULTP}} .ultp-nav-block-prev { text-align:{{prevContentAlign}}; justify-content:start;}"},{depends:[{key:"prevContentAlign",condition:"==",value:"center"},{key:"layout",condition:"!=",value:"style2"}],selector:"{{ULTP}} .ultp-nav-block-prev { text-align:{{prevContentAlign}}; justify-content:center;}"},{depends:[{key:"prevContentAlign",condition:"==",value:"right"},{key:"layout",condition:"!=",value:"style2"}],selector:"{{ULTP}} .ultp-nav-block-prev { text-align:{{prevContentAlign}}; justify-content:end;}"}]},nextContentAlign:{type:"string",default:"right",style:[{depends:[{key:"nextContentAlign",condition:"==",value:"left"},{key:"layout",condition:"!=",value:"style2"}],selector:"{{ULTP}} .ultp-nav-block-next { text-align:{{nextContentAlign}}; justify-content:start;}"},{depends:[{key:"nextContentAlign",condition:"==",value:"center"},{key:"layout",condition:"!=",value:"style2"}],selector:"{{ULTP}} .ultp-nav-block-next { text-align:{{nextContentAlign}}; justify-content:center;}"},{depends:[{key:"nextContentAlign",condition:"==",value:"right"},{key:"layout",condition:"!=",value:"style2"}],selector:"{{ULTP}} .ultp-nav-block-next { text-align:{{nextContentAlign}}; justify-content:end;}"}]},prevHeadingSpace:{type:"object",default:{lg:"0",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-nav .ultp-prev-title, \n          {{ULTP}} .ultp-block-nav .ultp-next-title { margin:{{prevHeadingSpace}}; }"}]},prevHeadText:{type:"string",default:"Previous Post"},prevHeadColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{selector:"{{ULTP}} .ultp-block-nav .ultp-prev-title, \n          {{ULTP}} .ultp-block-nav .ultp-next-title { color:{{prevHeadColor}}; }"}]},prevHeadHovColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-nav .ultp-prev-title:hover, \n          {{ULTP}} .ultp-block-nav .ultp-next-title:hover { color:{{prevHeadHovColor}}; }"}]},prevHeadTypo:{type:"object",default:{openTypography:0,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},transform:"capitalize",decoration:"none",family:""},style:[{selector:"{{ULTP}} .ultp-block-nav .ultp-prev-title, \n          {{ULTP}} .ultp-block-nav .ultp-next-title"}]},nextHeadText:{type:"string",default:"Next Post"},prevHeadAlign:{type:"string",default:"left",style:[{depends:[{key:"titlePosition",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-prev-title { text-align:{{prevHeadAlign}}; }"}]},nextHeadAlign:{type:"string",default:"right",style:[{depends:[{key:"titlePosition",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-next-title { text-align:{{nextHeadAlign}}; }"}]},titleColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-text-content .ultp-nav-title { color:{{titleColor}}; }"}]},titleHoverColor:{type:"string",default:"",style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-text-content .ultp-nav-title:hover { color:{{titleHoverColor}}; }"}]},titleTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:22,unit:"px"}},style:[{depends:[{key:"titleShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-text-content .ultp-nav-title"}]},titleSpace:{type:"object",default:{lg:"0",unit:"px"},style:[{selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-text-content {gap:{{titleSpace}}}"}]},titleSpaceX:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"imageShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-nav-block-next .ultp-nav-text-content {margin-right:{{titleSpaceX}}} \n          {{ULTP}} .ultp-nav-block-prev .ultp-nav-text-content { margin-left:{{titleSpaceX}}}"},{depends:[{key:"imageShow",condition:"==",value:!0},{key:"layout",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-nav-text-content {margin-left:{{titleSpaceX}}} \n          {{ULTP}} .ultp-nav-block-next .ultp-nav-text-content {margin-right:0}"}]},dateColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"dateShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-text-content .ultp-nav-date { color:{{dateColor}}; }"}]},dateHoverColor:{type:"string",default:"",style:[{depends:[{key:"dateShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-text-content .ultp-nav-date:hover { color:{{dateHoverColor}}; }"}]},dateTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"}},style:[{depends:[{key:"dateShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-text-content .ultp-nav-date"}]},datePosition:{type:"boolean",default:!0,style:[{depends:[{key:"dateShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-nav-text-content .ultp-nav-date{ order:2; }"},{depends:[{key:"dateShow",condition:"==",value:!0},{key:"layout",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-nav-text-content .ultp-nav-date{ order:0; }"}]},navImgWidth:{type:"object",default:{lg:"75",unit:"px"},style:[{selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-img img{width:{{navImgWidth}}}"}]},navImgHeight:{type:"object",default:{lg:"75",unit:"px"},style:[{selector:"{{ULTP}} .ultp-nav-inside .ultp-nav-img img{height:{{navImgHeight}}}"}]},navImgBorderRad:{type:"object",default:{lg:"4",unit:"px"},style:[{selector:"{{ULTP}} .ultp-nav-img img { border-radius:{{navImgBorderRad}}; }"}]},dividerColor:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"dividerBorderShape",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-divider {background-color:{{dividerColor}};width:2px;}"}]},dividerSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-nav {gap:{{dividerSpace}}}"},{depends:[{key:"dividerBorderShape",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-nav {gap:{{dividerSpace}}}"}]},dividerBorderShape:{type:"boolean",default:!0},arrowIconStyle:{type:"string",default:"Angle2"},arrowColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-icon > svg{ fill:{{arrowColor}}; }"}]},arrowHoverColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-icon svg:hover { fill:{{arrowHoverColor}}; }"}]},arrowIconSize:{type:"object",default:{lg:"20",unit:"px"},style:[{selector:"{{ULTP}} .ultp-icon svg{width:{{arrowIconSize}}}"}]},arrowIconSpace:{type:"object",default:{lg:"20",unit:"px"},style:[{depends:[{key:"layout",condition:"!=",value:"style2"}],selector:"{{ULTP}} .ultp-nav-block-prev .ultp-icon svg{margin-right: {{arrowIconSpace}}} \n          {{ULTP}} .ultp-nav-block-next .ultp-icon svg{margin-left: {{arrowIconSpace}}}"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},3061:(e,t,l)=>{"use strict";var o=l(7294),a=l(191),i=l(9294);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/next-previous",{title:__("Post Next Previous","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/next_previous.svg",alt:"next-preview"}),category:"postx-site-builder",description:__("Display Previous and Next Post links with thumbnails.","ultimate-post"),keywords:[__("Next Previous","ultimate-post"),__("Post Navigation","ultimate-post"),__("Navigation","ultimate-post"),__("Next","ultimate-post"),__("Previous","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},3905:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637),s=l(3245),p=l(4324);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Fragment:u}=wp.element;function d(e){const{setAttributes:t,name:l,attributes:d,clientId:m,className:g,attributes:{blockId:y,advanceId:b,authMetaLabelText:v,authMetAvatar:h,authMetaIconStyle:f,authMetaLabel:k,authMetaIconShow:w,currentPostId:x}}=e;(0,p.S)({blockId:y,clientId:m,currentPostId:x,setAttributes:t,checkRef:!1});const T={setAttributes:t,name:l,attributes:d,clientId:m};return y&&(0,n.Kh)(d,"ultimate-post/post-author-meta",y),(0,a.createElement)(u,null,(0,a.createElement)(c,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.T,{title:"inline",include:[{data:{type:"color",key:"authMetaIconColor",label:__("Color","ultimate-post")}},{data:{type:"color",key:"authMetaHoverColor",label:__("Hover Color","ultimate-post")}},{data:{type:"typography",key:"authMetaTypo",label:__("Text Typography","ultimate-post")}},{data:{type:"alignment",key:"authMetaCountAlign",disableJustify:!0,responsive:!0,label:__("Alignment","ultimate-post")}}],store:T}),(0,a.createElement)(i.T,{title:__("Avatar","ultimate-post"),depend:"authMetAvatar",include:[{data:{type:"range",key:"authMetAvSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Size","ultimate-post")}},{data:{type:"range",key:"authMetAvRadius",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Radius","ultimate-post")}},{data:{type:"range",key:"authMetAvSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Space X","ultimate-post")}}],store:T}),(0,a.createElement)(i.T,{title:__("Icon","ultimate-post"),depend:"authMetaIconShow",include:[{data:{type:"color",key:"iconColor",label:__("Color","ultimate-post")}},{data:{type:"icon",key:"authMetaIconStyle",label:__("Style","ultimate-post")}},{data:{type:"range",key:"authMetaIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Size","ultimate-post")}},{data:{type:"range",key:"authMetaSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Space X","ultimate-post")}}],store:T}),(0,a.createElement)(i.T,{title:__("Label","ultimate-post"),depend:"authMetaLabel",include:[{data:{type:"text",key:"authMetaLabelText",label:__("authMeta Label Text","ultimate-post")}},{data:{type:"color",key:"authMetaLabelColor",label:__("Label Color","ultimate-post")}},{data:{type:"typography",key:"authMetaLabelTypo",label:__("Label Typography","ultimate-post")}},{data:{type:"range",key:"authMetaLabelSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Label Space X","ultimate-post")}}],store:T})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:T}),(0,a.createElement)(i.Mg,{pro:!0,store:T}),(0,a.createElement)(i.iv,{store:T}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},b&&{id:b},{className:`ultp-block-${y} ${g}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("span",{className:"ultp-authMeta-count"},w&&""!=f&&s.ZP[f],(0,a.createElement)("div",{className:"ultp-authMeta-avatar"},h&&(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-placeholder.jpg",alt:"author img"})),k&&(0,a.createElement)("span",{className:"ultp-authMeta-label"},v),(0,a.createElement)("a",{href:"#",className:"ultp-authMeta-name"},"David Rikson ")))))}},5230:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},authMetaIconColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-authMeta-count > .ultp-authMeta-name { color:{{authMetaIconColor}} }"}]},authMetaHoverColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{selector:"{{ULTP}} .ultp-authMeta-count > .ultp-authMeta-name:hover{color:{{authMetaHoverColor}} }"}]},authMetaTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-authMeta-count .ultp-authMeta-name"}]},authMetAvatar:{type:"boolean",default:!0},authMetaIconShow:{type:"boolean",default:!1},authMetaCountAlign:{type:"object",default:[],style:[{selector:"{{ULTP}} .ultp-block-wrapper { text-align: {{authMetaCountAlign}};}"}]},authMetAvSize:{type:"object",default:{lg:"30",unit:"px"},style:[{depends:[{key:"authMetAvatar",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-count .ultp-authMeta-avatar > img { width:{{authMetAvSize}}; height:{{authMetAvSize}} }"}]},authMetAvSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"authMetAvatar",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-count .ultp-authMeta-avatar > img { margin-right: {{authMetAvSpace}} }"}]},authMetAvRadius:{type:"object",default:{lg:"100",unit:"px"},style:[{depends:[{key:"authMetAvatar",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-count .ultp-authMeta-avatar > img { border-radius:{{authMetAvRadius}}; }"}]},authMetaLabel:{type:"boolean",default:!0},authMetaIconStyle:{type:"string",default:"author1",style:[{depends:[{key:"authMetaIconShow",condition:"==",value:!0}]}]},iconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"authMetaIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-count > svg, {{ULTP}} .ultp-authMeta-count > div > svg { fill:{{iconColor}}; stroke:{{iconColor}}}"}]},authMetaIconSize:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"authMetaIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-count > svg { width:{{authMetaIconSize}}; height:{{authMetaIconSize}} }"}]},authMetaSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"authMetaIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-count > svg { margin-right: {{authMetaSpace}} }"}]},authMetaLabelText:{type:"string",default:"By",style:[{depends:[{key:"authMetaLabel",condition:"==",value:!0}]}]},authMetaLabelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"authMetaLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-label { color:{{authMetaLabelColor}} }"}]},authMetaLabelTypo:{type:"object",default:{openTypography:1,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{depends:[{key:"authMetaLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-label"}]},authMetaLabelSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"authMetaLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-authMeta-label { margin-right: {{authMetaLabelSpace}} }"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},5574:(e,t,l)=>{"use strict";var o=l(7294),a=l(3905),i=l(5230);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-author-meta",{title:__("Post Author Meta","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/author.svg",alt:"Post Author Meta"}),category:"postx-site-builder",description:__("Display Post Author Meta with the ultimate controls.","ultimate-post"),keywords:[__("Post Author Meta","ultimate-post"),__("Author Meta","ultimate-post"),__("Post Author","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},3592:(e,t,l)=>{"use strict";l.d(t,{Z:()=>u});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(4324),s=l(2637);const{__}=wp.i18n,{InspectorControls:p}=wp.blockEditor,{Fragment:c}=wp.element;function u(e){const{setAttributes:t,name:l,attributes:u,clientId:d,className:m,attributes:{blockId:g,advanceId:y,bcrumbSeparator:b,bcrumbSeparatorIcon:v,bcrumbName:h,bcrumbRootText:f,currentPostId:k}}=e;(0,r.S)({blockId:g,clientId:d,currentPostId:k,setAttributes:t,checkRef:!1});const w={setAttributes:t,name:l,attributes:u,clientId:d};return g&&(0,n.Kh)(u,"ultimate-post/post-breadcrumb",g),(0,a.createElement)(c,null,(0,a.createElement)(p,null,(0,a.createElement)(s.Sections,null,(0,a.createElement)(s.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,a.createElement)(i.T,{initialOpen:!0,title:"inline",include:[{data:{type:"color",key:"breadcrumbColor",label:__("Text Color","ultimate-post")}},{data:{type:"color",key:"breadcrumbLinkColor",label:__("Link Color","ultimate-post")}},{data:{type:"color",key:"bcrumbLinkHoverColor",label:__("Link Hover Color","ultimate-post")}},{data:{type:"typography",key:"bcrumbTypo",label:__("Typography","ultimate-post")}},{data:{type:"range",min:0,max:50,key:"bcrumbSpace",label:__("Space Between Items","ultimate-post")}},{data:{type:"alignment",key:"bcrumbAlign",responsive:!0,label:__("Alignment","ultimate-post"),options:["flex-start","center","flex-end"]}},{data:{type:"toggle",key:"bcrumbName",label:__("Show Single Post Name","ultimate-post")}},{data:{type:"text",key:"bcrumbRootText",label:__("Root Page Name","ultimate-post")}}],store:w}),(0,a.createElement)(i.T,{title:__("Separator","ultimate-post"),depend:"bcrumbSeparator",include:[{data:{type:"select",key:"bcrumbSeparatorIcon",label:__("Separator","ultimate-post"),options:[{value:"dot",label:__("Dot","ultimate-post")},{value:"slash",label:__("Slash","ultimate-post")},{value:"doubleslash",label:__("Double Slash","ultimate-post")},{value:"close",label:__("Close","ultimate-post")},{value:"dash",label:__("Dash","ultimate-post")},{value:"verticalbar",label:__("Vertical Bar","ultimate-post")},{value:"greaterThan",label:__("Greater Than","ultimate-post")},{value:"emptyspace",label:__("Empty","ultimate-post")}]}},{data:{type:"color",key:"bcrumbSeparatorColor",label:__("Separator Color","ultimate-post")}},{data:{type:"range",min:0,max:50,key:"bcrumbSeparatorSize",label:__("Separator Size [px]","ultimate-post")}}],store:w})),(0,a.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:w}),(0,a.createElement)(i.Mg,{pro:!0,store:w}),(0,a.createElement)(i.iv,{store:w}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},y&&{id:y},{className:`ultp-block-${g} ${m}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("ul",{className:`ultp-builder-breadcrumb ultp-breadcrumb-${v}`},(0,a.createElement)("li",null,(0,a.createElement)("a",{href:"#"},f.length>0?f:"Home")),b&&(0,a.createElement)("li",{className:"ultp-breadcrumb-separator"}),(0,a.createElement)("li",null,(0,a.createElement)("a",{href:"#"},"Parents")),h&&(0,a.createElement)(c,null,b&&(0,a.createElement)("li",{className:"ultp-breadcrumb-separator"}),(0,a.createElement)("li",null,"Current Page"))))))}},9030:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},bcrumbSeparator:{type:"boolean",default:!0},breadcrumbColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{selector:"{{ULTP}} .ultp-builder-breadcrumb li {color:{{breadcrumbColor}}}"}]},breadcrumbLinkColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-builder-breadcrumb li > a{color:{{breadcrumbLinkColor}}}"}]},bcrumbLinkHoverColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{selector:"{{ULTP}} .ultp-builder-breadcrumb li a:hover {color:{{bcrumbLinkHoverColor}}}"}]},bcrumbTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-builder-breadcrumb li , {{ULTP}} .ultp-builder-breadcrumb li a"}]},bcrumbSpace:{type:"string",default:12,style:[{selector:"{{ULTP}} li:not(.ultp-breadcrumb-separator) {margin: 0 {{bcrumbSpace}}px;}"}]},bcrumbAlign:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-builder-breadcrumb { justify-content:{{bcrumbAlign}}; }"}]},bcrumbName:{type:"boolean",default:!0},bcrumbRootText:{type:"string",default:"Home"},bcrumbSeparatorIcon:{type:"string",default:"dash",style:[{depends:[{key:"bcrumbSeparator",condition:"==",value:!0}]}]},bcrumbSeparatorColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"bcrumbSeparator",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-breadcrumb .ultp-breadcrumb-separator {color:{{bcrumbSeparatorColor}};}"},{depends:[{key:"bcrumbSeparator",condition:"==",value:!0},{key:"bcrumbSeparatorIcon",condition:"==",value:"dot"}],selector:"{{ULTP}} .ultp-builder-breadcrumb .ultp-breadcrumb-separator {background:{{bcrumbSeparatorColor}};}"}]},bcrumbSeparatorSize:{type:"string",default:"",style:[{depends:[{key:"bcrumbSeparatorIcon",condition:"==",value:"dot"},{key:"bcrumbSeparator",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-breadcrumb li.ultp-breadcrumb-separator:after {height:{{bcrumbSeparatorSize}}px; width:{{bcrumbSeparatorSize}}px;}"},{depends:[{key:"bcrumbSeparator",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-breadcrumb li.ultp-breadcrumb-separator:after {font-size:{{bcrumbSeparatorSize}}px;}"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},1458:(e,t,l)=>{"use strict";var o=l(7294),a=l(3592),i=l(9030);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-breadcrumb",{title:__("Post Breadcrumb","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/breadcrumb.svg"}),category:"postx-site-builder",description:__("Display Breadcrumb to let visitors see navigational links.","ultimate-post"),keywords:[__("breadcrumb","ultimate-post"),__("Post breadcrumb","ultimate-post"),__("breadcrumbs","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},2106:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637),s=l(3245),p=l(4324);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Fragment:u}=wp.element;function d(e){const{setAttributes:t,name:l,attributes:d,clientId:m,className:g,attributes:{blockId:y,advanceId:b,catLabelShow:v,catLabel:h,catIconShow:f,catIconStyle:k,catSeparator:w,currentPostId:x}}=e,T={setAttributes:t,name:l,attributes:d,clientId:m};return(0,p.S)({blockId:y,clientId:m,currentPostId:x,setAttributes:t,checkRef:!1}),y&&(0,n.Kh)(d,"ultimate-post/post-category",y),(0,a.createElement)(u,null,(0,a.createElement)(c,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.T,{title:"inline",initialOpen:!0,include:[{data:{type:"alignment",key:"catAlign",responsive:!0,label:__("Alignment","ultimate-post"),options:["flex-start","center","flex-end"]}},{data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"catColor",label:__("Color","ultimate-post")},{type:"color2",key:"catBgColor",label:__("Background","ultimate-post")},{type:"border",key:"catItemBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"catRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"catHovColor",label:__("Hover Color","ultimate-post")},{type:"color2",key:"catBgHovColor",label:__("Hover Background","ultimate-post")},{type:"border",key:"catItemHoverBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"catHoverRadius",label:__("Hover Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]}},{data:{type:"typography",key:"catTypo",label:__("Typography","ultimate-post")}},{data:{type:"text",key:"catSeparator",label:__("Separator","ultimate-post")}},{data:{type:"range",key:"catSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Space Between Categories","ultimate-post")}},{data:{type:"dimension",key:"catItemPad",step:1,unit:!0,responsive:!0,label:__("Category Padding","ultimate-post")}}],store:T}),(0,a.createElement)(i.T,{initialOpen:!1,title:__("Category Label","ultimate-post"),depend:"catLabelShow",include:[{data:{type:"text",key:"catLabel",label:__("Label Text","ultimate-post")}},{data:{type:"color",key:"catLabelColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"catLabelTypo",label:__("Typography","ultimate-post")}},{data:{type:"range",key:"catLabelSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Label Spacing","ultimate-post")}},{data:{type:"color2",key:"catLabelBgColor",label:__("Background","ultimate-post")}},{data:{type:"border",key:"catLabelBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"catLabelRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"catLabelPad",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],store:T}),(0,a.createElement)(i.T,{title:__("Category Icon","ultimate-post"),depend:"catIconShow",include:[{data:{type:"icon",key:"catIconStyle",label:__("Select Icon","ultimate-post")}},{data:{type:"color",key:"catIconColor",label:__("Icon Color","ultimate-post")}},{data:{type:"color",key:"catIconHovColor",label:__("Icon Hover Color","ultimate-post")}},{data:{type:"range",key:"catIconSize",min:10,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Size","ultimate-post")}},{data:{type:"range",key:"catIconSpace",min:10,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")}}],store:T})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:T}),(0,a.createElement)(i.Mg,{pro:!0,store:T}),(0,a.createElement)(i.iv,{store:T}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},b&&{id:b},{className:`ultp-block-${y} ${g}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-builder-category"},f&&s.ZP[k],v&&(0,a.createElement)("div",{className:"cat-builder-label"},h),(0,a.createElement)("div",{className:"cat-builder-content"},(0,a.createElement)("a",{className:"ultp-category-list",href:"#"},"Dummy Cat1"),w?" "+w:""," ",(0,a.createElement)("a",{className:"ultp-category-list",href:"#"},"Dummy Cat2"),w?" "+w:""," ",(0,a.createElement)("a",{className:"ultp-category-list",href:"#"},"Dummy Cat3"))))))}},8451:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},catLabelShow:{type:"boolean",default:!0},catIconShow:{type:"boolean",default:!0},catColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .cat-builder-content a, {{ULTP}} .cat-builder-content {color:{{catColor}} !important;}"}]},catBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Primary_color)"},style:[{selector:"{{ULTP}} .ultp-category-list"}]},catItemBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#e2e2e2",type:"solid"},style:[{selector:"{{ULTP}} .ultp-category-list"}]},catRadius:{type:"object",default:{top:3,right:3,bottom:3,left:3,unit:"px"},style:[{selector:"{{ULTP}} .ultp-category-list { border-radius:{{catRadius}}; }"}]},catHovColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-builder-category .cat-builder-content > a:hover { color:{{catHovColor}} !important; }"}]},catBgHovColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Secondary_color)"},style:[{selector:"{{ULTP}} .ultp-category-list:hover"}]},catItemHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#323232",type:"solid"},style:[{selector:"{{ULTP}} .ultp-category-list:hover"}]},catHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-category-list:hover { border-radius:{{catHoverRadius}}; }"}]},catTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{selector:"{{ULTP}} .ultp-category-list"}]},catSeparator:{type:"string",default:""},catSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{selector:"{{ULTP}} .ultp-category-list:not(:first-child) {margin-left:{{catSpace}}}"}]},catItemPad:{type:"object",default:{lg:{top:"0",bottom:"0",left:"10",right:"10",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-category-list { padding:{{catItemPad}} }"}]},catAlign:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-builder-category {justify-content:{{catAlign}}}"}]},catLabel:{type:"string",default:"Category : ",style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}]}]},catLabelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .cat-builder-label {color:{{catLabelColor}};}"}]},catLabelTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .cat-builder-label"}]},catLabelSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .cat-builder-label {margin-right:{{catLabelSpace}}}"}]},catLabelBgColor:{type:"object",default:[],style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .cat-builder-label"}]},catLabelBorder:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .cat-builder-label"}]},catLabelRadius:{type:"object",default:[],style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .cat-builder-label { border-radius:{{catLabelRadius}}; }"}]},catLabelPad:{type:"object",default:{},style:[{depends:[{key:"catLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .cat-builder-label { padding:{{catLabelPad}} }"}]},catIconStyle:{type:"string",default:"",style:[{depends:[{key:"catIconShow",condition:"==",value:!0}]}]},catIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"catIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-category svg { fill:{{catIconColor}}; stroke:{{catIconColor}} }"}]},catIconHovColor:{type:"string",default:"",style:[{depends:[{key:"catIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-category svg:hover { fill:{{catIconHovColor}}; stroke:{{catIconHovColor}} }"}]},catIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"catIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-category svg { height:{{catIconSize}}; width:{{catIconSize}} }"}]},catIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"catIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-category svg {margin-right:{{catIconSpace}} }"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},1818:(e,t,l)=>{"use strict";var o=l(7294),a=l(2106),i=l(8451);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-category",{title:__("Post Category","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/category.svg",alt:"Post Category"}),category:"postx-site-builder",description:__("Display Post Categories and style them as you need.","ultimate-post"),keywords:[__("Category","ultimate-post"),__("Taxonomy","ultimate-post"),__("Categories","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},4557:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637),s=l(3245),p=l(4324);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Fragment:u}=wp.element;function d(e){const{setAttributes:t,name:l,clientId:d,className:m,attributes:g,attributes:{blockId:y,advanceId:b,commentLabelText:v,commentIconStyle:h,commentLabel:f,commentIconShow:k,currentPostId:w}}=e,x={setAttributes:t,name:l,attributes:g,clientId:d};return(0,p.S)({blockId:y,clientId:d,currentPostId:w,setAttributes:t,checkRef:!1}),y&&(0,n.Kh)(g,"ultimate-post/post-comment-count",y),(0,a.createElement)(u,null,(0,a.createElement)(c,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.T,{title:"inline",include:[{data:{type:"toggle",key:"commentLabel",label:__("Enable Prefix","ultimate-post")}},{data:{type:"color",key:"commentColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"commentTypo",label:__("Typography","ultimate-post")}},{data:{type:"alignment",key:"commentCountAlign",disableJustify:!0,responsive:!0,label:__("Alignment","ultimate-post"),options:["flex-start","center","flex-end"]}},{data:{type:"text",key:"commentLabelText",label:__("Text","ultimate-post")}},{data:{type:"group",key:"commentLabelAlign",options:[{label:"After Content",value:"after"},{label:"Before Content",value:"before"}],justify:!0,label:__("Prefix Position","ultimate-post")}}],store:x}),(0,a.createElement)(i.T,{title:__("Icon Style","ultimate-post"),depend:"commentIconShow",initialOpen:!0,include:[{data:{type:"color",key:"iconColor",label:__("Color","ultimate-post")}},{data:{type:"icon",key:"commentIconStyle",label:__("Icon Style","ultimate-post")}},{data:{type:"range",key:"commentIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Size","ultimate-post")}},{data:{type:"range",key:"commentSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Space X","ultimate-post")}}],store:x})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:x}),(0,a.createElement)(i.Mg,{pro:!0,store:x}),(0,a.createElement)(i.iv,{store:x}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},b&&{id:b},{className:`ultp-block-${y} ${m}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("span",{className:"ultp-comment-count"},k&&""!=h&&s.ZP[h],(0,a.createElement)("div",null,"12 "),f&&(0,a.createElement)("span",{className:"ultp-comment-label"},v)))))}},2707:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},commentLabel:{type:"boolean",default:!0},commentIconShow:{type:"boolean",default:!0},commentColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-comment-count { color:{{commentColor}} }"}]},commentTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-comment-count"}]},commentCountAlign:{type:"object",default:[],style:[{selector:"{{ULTP}} .ultp-comment-count { justify-content: {{commentCountAlign}};}"}]},commentLabelText:{type:"string",default:"comment ",style:[{depends:[{key:"commentLabel",condition:"==",value:!0}]}]},commentLabelAlign:{type:"string",default:"after",style:[{depends:[{key:"commentLabelAlign",condition:"==",value:"before"},{key:"commentLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-count .ultp-comment-label {order: -1;margin-right: 5px;}"},{depends:[{key:"commentLabelAlign",condition:"==",value:"after"},{key:"commentLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-count .ultp-comment-label {order: unset; margin-left: 5px;}"}]},iconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"commentIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-count > svg { fill:{{iconColor}}; stroke:{{iconColor}};}"}]},commentIconStyle:{type:"string",default:"commentCount1",style:[{depends:[{key:"commentIconShow",condition:"==",value:!0}]}]},commentIconSize:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"commentIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-count svg{ width:{{commentIconSize}}; height:{{commentIconSize}} }"}]},commentSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"commentIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-count > svg { margin-right: {{commentSpace}} }"},{depends:[{key:"commentIconShow",condition:"==",value:!0},{key:"commentLabelAlign",condition:"==",value:"before"}],selector:"{{ULTP}} .ultp-comment-count > svg { margin: {{commentSpace}} } {{ULTP}} .ultp-comment-count .ultp-comment-label {margin: 0px !important;}"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},9044:(e,t,l)=>{"use strict";var o=l(7294),a=l(4557),i=l(2707);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-comment-count",{title:__("Post Comment Count","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/comment_count.svg",alt:"Post Comment Count"}),category:"postx-site-builder",description:__("Display Post Comment count and customize it as you need.","ultimate-post"),keywords:[__("Post Comment Count","ultimate-post"),__("Post Comment","ultimate-post"),__("Comment Count","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},4473:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(4324),s=l(1760),p=l(7655);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Fragment:u}=wp.element;function d(e){const{setAttributes:t,name:l,attributes:d,clientId:m,className:g,attributes:{blockId:y,advanceId:b,layout:v,leaveRepText:h,replyHeading:f,inputLabel:k,cookiesText:w,subBtnText:x,replyText:T,commentCount:S,authMeta:P,authImg:C,cookiesEnable:E,cmntInputText:_,emailInputText:L,nameInputText:I,webInputText:U,inputPlaceHolder:B,currentPostId:M}}=e,A={setAttributes:t,name:l,attributes:d,clientId:m};return(0,r.S)({blockId:y,clientId:m,currentPostId:M,setAttributes:t,checkRef:!1}),y&&(0,n.Kh)(d,"ultimate-post/post-comments",y),(0,a.createElement)(u,null,(0,a.createElement)(c,null,(0,a.createElement)(p.Z,{store:A}),(0,i.dH)()),(0,a.createElement)(s.Z,{include:[{type:"layout",key:"layout",pro:!1,tab:!0,label:__("Select Advanced Layout","ultimate-post"),block:"related-posts",options:[{img:"assets/img/layouts/builder/comments/comment1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/builder/comments/comment2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!1},{img:"assets/img/layouts/builder/comments/comment3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!1}]}],store:A}),(0,a.createElement)("div",(0,o.Z)({},b&&{id:b},{className:`ultp-block-${y} ${g}`}),(0,a.createElement)("div",{className:`ultp-block-wrapper ultp-comment-form ultp-comments-${v}`},(0,a.createElement)("div",{className:"ultp-builder-comment-reply"},(0,a.createElement)("div",{className:"ultp-comment-reply-heading"},S&&"05"," ",T),(0,a.createElement)("ul",{className:"ultp-comment-wrapper ultp-builder-comment-reply"},(0,a.createElement)("li",null,(0,a.createElement)("div",{className:"ultp-comment-content-heading"},C&&(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-placeholder.jpg"}),(0,a.createElement)("div",{className:"ultp-comment-meta"},(0,a.createElement)("div",null,"Christopher Timmons"),P&&(0,a.createElement)("span",null,' July 19, 2021 at 3:45 PM" '))),(0,a.createElement)("div",{className:"ultp-comment-desc"},"Consequuntur magni dolores Eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit"),(0,a.createElement)("button",{className:"ultp-reply-btn"},"Reply"),(0,a.createElement)("ul",{className:"ultp-reply-wrapper"},(0,a.createElement)("li",{className:"ultp-reply-content"},(0,a.createElement)("img",{src:ultp_data.url+"assets/img/blocks/builder/replay_icon.svg"}),(0,a.createElement)("div",{className:"ultp-reply-content-main"},(0,a.createElement)("div",{className:"ultp-comment-content-heading"},C&&(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-placeholder.jpg"}),(0,a.createElement)("div",{className:"ultp-comment-meta"},(0,a.createElement)("div",null," Richard Jackson"),P&&(0,a.createElement)("span",null,' July 19, 2021 at 3:45 PM" '))),(0,a.createElement)("div",{className:"ultp-comment-desc"},"Consequuntur magni dolores Eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit"),(0,a.createElement)("button",{className:"ultp-reply-btn"},"Reply"))),(0,a.createElement)("li",{className:"ultp-reply-content"},(0,a.createElement)("img",{src:ultp_data.url+"assets/img/blocks/builder/replay_icon.svg"}),(0,a.createElement)("div",{className:"ultp-reply-content-main"},(0,a.createElement)("div",{className:"ultp-comment-content-heading"},C&&(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-placeholder.jpg"}),(0,a.createElement)("div",{className:"ultp-comment-meta"},(0,a.createElement)("div",null,"Joan May"),P&&(0,a.createElement)("span",null,' July 19, 2021 at 3:45 PM" '))),(0,a.createElement)("div",{className:"ultp-comment-desc"},"Consequuntur magni dolores Eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit"),(0,a.createElement)("button",{className:"ultp-reply-btn"},"Reply"))))),(0,a.createElement)("li",null,(0,a.createElement)("div",{className:"ultp-comment-content-heading"},C&&(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-placeholder.jpg"}),(0,a.createElement)("div",{className:"ultp-comment-meta"},(0,a.createElement)("div",null,"Gary Bogart"),P&&(0,a.createElement)("span",null,"July 19, 2021 at 3:45 PM"))),(0,a.createElement)("div",{className:"ultp-comment-desc"},"Consequuntur magni dolores Eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit"),(0,a.createElement)("button",{className:"ultp-reply-btn"},"Reply"),(0,a.createElement)("ul",{className:"ultp-reply-wrapper"},(0,a.createElement)("li",{className:"ultp-reply-content"},(0,a.createElement)("img",{src:ultp_data.url+"assets/img/blocks/builder/replay_icon.svg"}),(0,a.createElement)("div",{className:"ultp-reply-content-main"},(0,a.createElement)("div",{className:"ultp-comment-content-heading"},(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-placeholder.jpg"}),(0,a.createElement)("div",{className:"ultp-comment-meta"},(0,a.createElement)("div",null,"Mario Whitted"),P&&(0,a.createElement)("span",null,"July 19, 2021 at 3:45 PM"))),(0,a.createElement)("div",{className:"ultp-comment-desc"},"Consequuntur magni dolores Eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit"),(0,a.createElement)("button",{className:"ultp-reply-btn"},"Reply"))))))),(0,a.createElement)("div",{className:`ultp-builder-comments ultp-comments-${v}`},(0,a.createElement)("div",{className:"ultp-comments-heading"},f&&(0,a.createElement)("div",{className:"ultp-comments-title"},h),(0,a.createElement)("span",{className:"ultp-comments-subtitle"},"Your email address will not be published. Required fields are marked *")),(0,a.createElement)("div",{className:"ultp-comment-form comment-form-comment"},(0,a.createElement)("div",{className:"ultp-comment-input ultp-field-control "},k&&(0,a.createElement)("label",null,_," ",(0,a.createElement)("span",null,"*")),(0,a.createElement)("textarea",{placeholder:B})),(0,a.createElement)("div",{className:"ultp-comment-name ultp-field-control "},k&&(0,a.createElement)("label",null," ",I," ",(0,a.createElement)("span",null,"*")),(0,a.createElement)("input",{type:"name"})),(0,a.createElement)("div",{className:"ultp-comment-email ultp-field-control "},k&&(0,a.createElement)("label",null,L," ",(0,a.createElement)("span",null,"*")),(0,a.createElement)("input",{type:"email"})),(0,a.createElement)("div",{className:"ultp-comment-website ultp-field-control "},k&&(0,a.createElement)("label",null,U," ",(0,a.createElement)("span",null,"*")),(0,a.createElement)("input",{type:"text"}))),E&&(0,a.createElement)("p",{className:"comment-form-cookies-consent"},(0,a.createElement)("input",{id:"wp-comment-cookies-consent",name:"wp-comment-cookies-consent",type:"checkbox",value:"yes"})," ",(0,a.createElement)("label",{htmlFor:"wp-comment-cookies-consent"},w)),(0,a.createElement)("button",{className:"ultp-comment-btn",id:"submit"},x)))))}},7655:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.T,{initialOpen:!0,title:"inline",include:[{data:{type:"layout",key:"layout",pro:!1,tab:!0,label:__("Select Advanced Layout","ultimate-post"),block:"related-posts",options:[{img:"assets/img/layouts/builder/comments/comment1.png",label:__("Layout 1","ultimate-post"),value:"layout1",pro:!1},{img:"assets/img/layouts/builder/comments/comment2.png",label:__("Layout 2","ultimate-post"),value:"layout2",pro:!0},{img:"assets/img/layouts/builder/comments/comment3.png",label:__("Layout 3","ultimate-post"),value:"layout3",pro:!0}]}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!1,title:__("Comments Form Heading","ultimate-post"),depend:"replyHeading",include:[{data:{type:"text",key:"leaveRepText",label:__("Leave a reply text","ultimate-post")}},{data:{type:"color",key:"HeadingColor",label:__("Heading Color","ultimate-post")}},{data:{type:"typography",key:"HeadingTypo",label:__("Heading Typography","ultimate-post")}},{data:{type:"color",key:"subHeadingColor",label:__("Sub Heading Color","ultimate-post")}},{data:{type:"range",key:"headingSpace",min:1,max:150,step:1,unit:!0,responsive:!0,label:__("Heading Spacing","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!1,title:__("Comments Form Input","ultimate-post"),include:[{data:{type:"separator",label:__("Input Style","ultimate-post")}},{data:{type:"text",key:"inputPlaceHolder",label:__("Textarea Placeholder","ultimate-post")}},{data:{type:"color",key:"inputPlaceValueColor",label:__("Placeholder Color","ultimate-post")}},{data:{type:"color",key:"inputValueColor",label:__("Input Color","ultimate-post")}},{data:{type:"color",key:"inputValueBg",label:__("Input Background Color","ultimate-post")}},{data:{type:"typography",key:"inputValueTypo",label:__("Input Typography","ultimate-post")}},{data:{type:"dimension",key:"inputValuePad",step:1,unit:!0,responsive:!0,label:__("Input Padding","ultimate-post")}},{data:{type:"border",key:"inputBorder",label:__("Input Border","ultimate-post")}},{data:{type:"border",key:"inputHovBorder",label:__("Input Hover Border","ultimate-post")}},{data:{type:"dimension",key:"inputRadius",step:1,unit:!0,responsive:!0,label:__("Input Border Radius","ultimate-post")}},{data:{type:"dimension",key:"inputHovRadius",step:1,unit:!0,label:__("Input Hover Radius","ultimate-post")}},{data:{type:"range",key:"inputSpacing",min:1,max:300,unit:!0,responsive:!0,step:1,label:__("Spacing","ultimate-post")}},{data:{type:"separator",label:__("Label Style","ultimate-post")}},{data:{type:"toggle",key:"inputLabel",label:__("Input Label","ultimate-post")}},{data:{type:"text",key:"cmntInputText",label:__("Input Label","ultimate-post")}},{data:{type:"text",key:"nameInputText",label:__("Input Label","ultimate-post")}},{data:{type:"text",key:"emailInputText",label:__("Input Label","ultimate-post")}},{data:{type:"text",key:"webInputText",label:__("Input Label","ultimate-post")}},{data:{type:"color",key:"inputLabelColor",label:__("Label Color","ultimate-post")}},{data:{type:"typography",key:"inputLabelTypo",label:__("Label Typography","ultimate-post")}},{data:{type:"toggle",key:"disableWebUrl",label:__("Disable Web URL","ultimate-post")}},{data:{type:"toggle",key:"cookiesEnable",label:__("Cookies Enable","ultimate-post")}},{data:{type:"text",key:"cookiesText",label:__("Cookies Text","ultimate-post")}},{data:{type:"color",key:"cookiesColor",label:__("Cookies Text Color","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!1,title:__("Submit Button","ultimate-post"),include:[{data:{type:"text",key:"subBtnText",label:__("Submit Button Text","ultimate-post")}},{data:{type:"typography",key:"subBtnTypo",label:__("Text Typography","ultimate-post")}},{data:{type:"tab",key:"submitButton",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"subBtnColor",label:__("Text Color","ultimate-post")},{type:"color2",key:"subBtnBg",label:__("Background Color","ultimate-post")},{type:"border",key:"subBtnBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"subBtnRadius",step:1,unit:!0,responsive:!0,label:__("Border Radius","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"subBtnHovColor",label:__("Text Hover Color","ultimate-post")},{type:"color2",key:"subBtnHovBg",label:__("Background Hover Color","ultimate-post")},{type:"border",key:"subBtnHovBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"subBtnHovRadius",step:1,unit:!0,responsive:!0,label:__("Hover Radius","ultimate-post")}]}]}},{data:{type:"dimension",key:"subBtnPad",step:1,unit:!0,responsive:!0,label:__("Button Padding","ultimate-post")}},{data:{type:"range",key:"subBtnSpace",min:1,max:300,unit:!0,responsive:!0,step:1,label:__("Spacing","ultimate-post")}},{data:{type:"alignment",key:"subBtnAlign",disableJustify:!0,label:__("Alignment","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{initialOpen:!0,title:__("Comments & Reply","ultimate-post"),include:[{data:{type:"separator",label:__("Commenter Name Style","ultimate-post")}},{data:{type:"color",key:"authColor",label:__("Name Color","ultimate-post")}},{data:{type:"color",key:"authHovColor",label:__("Name Hover Color","ultimate-post")}},{data:{type:"typography",key:"authorTypo",label:__("Typography","ultimate-post")}},{data:{type:"dimension",key:"commentSpace",step:1,unit:!0,responsive:!0,label:__("Spacing","ultimate-post")}},{data:{type:"text",key:"replyText",label:__("Comments Text","ultimate-post")}},{data:{type:"toggle",key:"commentCount",label:__("Comment Count","ultimate-post")}},{data:{type:"color",key:"commentCountColor",label:__("Text Color","ultimate-post")}},{data:{type:"typography",key:"commentCountTypo",label:__("Text Typography","ultimate-post")}},{data:{type:"range",key:"commentCountSpace",min:1,max:300,unit:!0,responsive:!0,step:1,label:__("Comment Count Spacing","ultimate-post")}},{data:{type:"separator",label:__("Button Style","ultimate-post")}},{data:{type:"typography",key:"replyBtnTypo",label:__("Button Typography","ultimate-post")}},{data:{type:"tab",key:"replyButton",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"replyBtnColor",label:__("Reply Button","ultimate-post")},{type:"color2",key:"replyBtnBg",label:__(" Background","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"replyBtnHovColor",label:__("Reply Button","ultimate-post")},{type:"color2",key:"replyBtnBgHov",label:__("Background","ultimate-post")}]}]}},{data:{type:"border",key:"replyBtnBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"replyBtnRadius",step:1,unit:!0,responsive:!0,label:__("Radius","ultimate-post")}},{data:{type:"dimension",key:"replyBtnPad",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{data:{type:"range",key:"replyBtnSpace",min:1,max:300,responsive:!0,step:1,unit:!0,label:__("Reply Button Spacing","ultimate-post")}},{data:{type:"separator",label:__("Commenter Meta","ultimate-post")}},{data:{type:"range",key:"authMetaSpace",min:1,max:300,unit:!0,responsive:!0,step:1,label:__("Meta Spacing","ultimate-post")}},{data:{type:"toggle",key:"authMeta",label:__("Commenter Meta","ultimate-post")}},{data:{type:"color",key:"authMetaColor",label:__("Meta Color","ultimate-post")}},{data:{type:"color",key:"authMetaHovColor",label:__("Meta Color Hover","ultimate-post")}},{data:{type:"typography",key:"authMetaTypo",label:__("Meta Typography","ultimate-post")}},{data:{type:"separator",label:__("Commenter Image","ultimate-post")}},{data:{type:"toggle",key:"authImg",label:__("Commenter Image","ultimate-post")}},{data:{type:"dimension",key:"authImgRadius",step:1,unit:!0,responsive:!0,label:__("Image Radius","ultimate-post")}},{data:{type:"separator",label:__("Reply Style","ultimate-post")}},{data:{type:"color",key:"replyColor",label:__("Reply Color","ultimate-post")}},{data:{type:"color",key:"replyHovColor",label:__("Reply Hover Color","ultimate-post")}},{data:{type:"typography",key:"replyTypo",label:__("Reply Typography","ultimate-post")}},{data:{type:"separator",label:__("Reply Separator","ultimate-post")}},{data:{type:"toggle",key:"replySeparator",label:__("Reply Separator","ultimate-post")}},{data:{type:"color",key:"replySepColor",label:__("Separator Color","ultimate-post")}},{data:{type:"range",key:"replySepSpace",min:1,max:300,unit:!0,responsive:!0,step:1,label:__("Separator Space","ultimate-post")}},{data:{type:"separator",label:__("Replay Cancel Style","ultimate-post")}},{data:{type:"color",key:"replyCancelColor",label:__("Replay Cancel Color","ultimate-post")}},{data:{type:"color",key:"replyCancelHoverColor",label:__("Replay Cancel Hover Color","ultimate-post")}}],store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{store:e}),(0,o.createElement)(a.Mg,{pro:!0,store:e}),(0,o.createElement)(a.iv,{store:e}))))},4701:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},layout:{type:"string",default:"layout1"},replyHeading:{type:"boolean",default:!0},leaveRepText:{type:"string",default:"Leave a Reply",style:[{depends:[{key:"replyHeading",condition:"==",value:!0}]}]},HeadingColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"replyHeading",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comments-title, \n        {{ULTP}} .comment-reply-title { color:{{HeadingColor}} }"}]},HeadingTypo:{type:"object",default:{openTypography:1,size:{lg:24,unit:"px"},height:{lg:26,unit:"px"}},style:[{depends:[{key:"replyHeading",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comments-title, \n        {{ULTP}} .comment-reply-title, \n        {{ULTP}} .comment-reply-title a, \n        {{ULTP}} #reply-title"}]},subHeadingColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"replyHeading",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comments-subtitle,\n          {{ULTP}} .logged-in-as, \n          {{ULTP}} .comment-notes { color:{{subHeadingColor}} }"}]},headingSpace:{type:"object",default:{lg:"5",unit:"px"},style:[{depends:[{key:"replyHeading",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comments-title { margin-bottom:{{headingSpace}} !important; }"}]},inputPlaceHolder:{type:"string",default:"Express your thoughts, idea or write a feedback by clicking here & start an awesome comment"},inputPlaceValueColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{selector:"{{ULTP}} .ultp-comment-form ::placeholder { color:{{inputPlaceValueColor}} }"}]},inputValueColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-comment-form input,\n          {{ULTP}} .ultp-comment-form textarea { color:{{inputValueColor}} }"}]},inputValueBg:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{selector:"{{ULTP}} .ultp-comment-form input, \n          {{ULTP}} .ultp-comment-form textarea {background-color:{{inputValueBg}}}"}]},inputValueTypo:{type:"object",default:{openTypography:1,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-comment-form input, \n          {{ULTP}} .ultp-comment-form textarea"}]},inputValuePad:{type:"object",default:{lg:"15",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-form input, \n          {{ULTP}} .ultp-comment-form textarea { padding:{{inputValuePad}} }"}]},inputBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#e2e2e2",type:"solid"},style:[{selector:"{{ULTP}} .ultp-comment-form input, \n          {{ULTP}} .ultp-comment-input textarea"}]},inputHovBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#777",type:"solid"},style:[{selector:"{{ULTP}} .ultp-comment-form input:hover,{{ULTP}} .ultp-comment-form input:focus,{{ULTP}} .ultp-comment-form textarea:hover, \n          {{ULTP}} .ultp-comment-form textarea:focus"}]},inputRadius:{type:"object",default:{lg:"0",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-form input, \n          {{ULTP}} .ultp-comment-form textarea{ border-radius:{{inputRadius}} }"}]},inputHovRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-form input:hover, \n          {{ULTP}} .ultp-comment-form textarea:hover{ border-radius:{{inputHovRadius}} }"}]},inputSpacing:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"inputLabel",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout1"}],selector:"{{ULTP}} .ultp-comment-form > div > label, \n          {{ULTP}} .ultp-comment-form div > p, \n          {{ULTP}} .ultp-comment-input,{{ULTP}} .ultp-comment-form > p,{{ULTP}} .ultp-comment-form > input, .oceanwp-theme \n          {{ULTP}} .comment-form-author,  .oceanwp-theme \n          {{ULTP}} .comment-form-email, .oceanwp-theme \n          {{ULTP}} .comment-form-url { margin:{{inputSpacing}} 0px 0px !important;}"},{depends:[{key:"inputLabel",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout2"}],selector:"{{ULTP}} .ultp-comment-form > div > label, \n          {{ULTP}} .ultp-comment-form div > p, \n          {{ULTP}} .ultp-comment-input,{{ULTP}} .ultp-comment-form > p, \n          {{ULTP}} .ultp-comment-form > input { margin:{{inputSpacing}} 0px 0px !important} ;"},{depends:[{key:"inputLabel",condition:"==",value:!0},{key:"layout",condition:"==",value:"layout3"}],selector:"{{ULTP}} .ultp-comment-form > div > label, \n          {{ULTP}} .ultp-comment-form div > p, \n          {{ULTP}} .ultp-comment-input, \n          {{ULTP}} .ultp-comment-form > p, \n          {{ULTP}} .ultp-comment-form > input { margin:{{inputSpacing}} 0px 0px !important;}"}]},inputLabel:{type:"boolean",default:!0},cmntInputText:{type:"string",default:"Comment's",style:[{depends:[{key:"inputLabel",condition:"==",value:!0}]}]},nameInputText:{type:"string",default:"Name",style:[{depends:[{key:"inputLabel",condition:"==",value:!0}]}]},emailInputText:{type:"string",default:"Email",style:[{depends:[{key:"inputLabel",condition:"==",value:!0}]}]},webInputText:{type:"string",default:"Website Url",style:[{depends:[{key:"inputLabel",condition:"==",value:!0},{key:"disableWebUrl",condition:"==",value:!1}]}]},inputLabelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"inputLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-form label { color:{{inputLabelColor}} }"}]},inputLabelTypo:{type:"object",default:{openTypography:1,size:{lg:16,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{depends:[{key:"inputLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-form label"}]},disableWebUrl:{type:"boolean",default:!1,style:[{depends:[{key:"disableWebUrl",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-website, {{ULTP}} .comment-form-url { display: none !important; }"},{depends:[{key:"disableWebUrl",condition:"==",value:!1}]}]},cookiesEnable:{type:"boolean",default:!0},cookiesText:{type:"string",default:"Save my name, email, and website in this browser for the next time I comment.",style:[{depends:[{key:"cookiesEnable",condition:"==",value:!0}]}]},cookiesColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"cookiesEnable",condition:"==",value:!0}],selector:"{{ULTP}} .comment-form-cookies-consent label { color:{{cookiesColor}} }"}]},subBtnText:{type:"string",default:"Post Comment"},subBtnTypo:{type:"object",default:{openTypography:1,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit"}]},submitButton:{type:"string",default:"normal"},subBtnColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-comment-btn,{{ULTP}} .form-submit > input#submit { color:{{subBtnColor}} }"}]},subBtnBg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Primary_color)"},style:[{selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit"}]},subBtnBorder:{type:"object",default:{openBorder:1,width:{top:0,right:0,bottom:0,left:0},color:"var(--postx_preset_Primary_color)",type:"solid"},style:[{selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit"}]},subBtnRadius:{type:"object",default:{top:"3",right:"3",bottom:"3",left:"3",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit { border-radius:{{subBtnRadius}} }"}]},subBtnHovColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-comment-btn:hover, \n          {{ULTP}} .form-submit > input#submit:hover { color:{{subBtnHovColor}} }"}]},subBtnHovBg:{type:"object",default:{openColor:0,type:"color",color:"var(--postx_preset_Secondary_color)"},style:[{selector:"{{ULTP}} .ultp-comment-btn:hover, \n          {{ULTP}} .form-submit > input#submit:hover"}]},subBtnHovBorder:{type:"object",default:{openBorder:1,width:{top:0,right:0,bottom:0,left:0},color:"#151515",type:"solid"},style:[{selector:"{{ULTP}} .ultp-comment-btn:hover, \n          {{ULTP}} .form-submit > input#submit:hover"}]},subBtnHovRadius:{type:"object",default:{top:"3",right:"3",bottom:"3",left:"3",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-btn:hover, \n          {{ULTP}} .form-submit > input#submit:hover { border-radius:{{subBtnHovRadius}} }"}]},subBtnPad:{type:"object",default:{lg:"10",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit { padding:{{subBtnPad}} }"}]},subBtnSpace:{type:"object",default:{lg:"20",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit { margin:{{subBtnSpace}} 0px 0px}"}]},subBtnAlign:{type:"string",default:"left",style:[{depends:[{key:"subBtnAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit, \n          {{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit { display: block !important; margin-right: auto !important; }"},{depends:[{key:"subBtnAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit, \n          {{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit { display: block !important; margin-left: auto !important; margin-right: auto !important}"},{depends:[{key:"subBtnAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit > input#submit, \n          {{ULTP}} .ultp-comment-btn, \n          {{ULTP}} .form-submit { display: block !important; margin-left:auto !important;}"}]},authColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{selector:"{{ULTP}} .ultp-comment-meta div, \n          {{ULTP}} .comment-author a.url,{{ULTP}} .comment-author .fn {color:{{authColor}} }"}]},authHovColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-comment-meta div:hover,\n          {{ULTP}} .comment-author a.url:hover, \n          {{ULTP}} .comment-author b:hover {color: {{authHovColor}} }"}]},authorTypo:{type:"object",default:{openTypography:1,size:{lg:18,unit:"px"},height:{lg:25,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-comment-meta div ,\n          {{ULTP}} .comment-author a.url, \n          {{ULTP}} .comment-author b"}]},commentSpace:{type:"object",default:{lg:{top:"15",bottom:"0",left:"30",right:"0",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-reply-wrapper, \n          {{ULTP}} .children { margin: {{commentSpace}} }"}]},replyText:{type:"string",default:"Comments Text"},commentCount:{type:"boolean",default:!0},commentCountColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-comment-reply-heading {color:{{commentCountColor}} }"}]},commentCountTypo:{type:"object",default:{openTypography:1,size:{lg:30,unit:"px"},height:{lg:28,unit:"px"},weight:"600"},style:[{selector:"{{ULTP}} .ultp-comment-reply-heading"}]},commentCountSpace:{type:"object",default:{lg:"30",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-reply-heading { margin:0px 0px {{commentCountSpace}} }"}]},authMetaSpace:{type:"object",default:{lg:"7",unit:"px"},style:[{selector:"{{ULTP}} .ultp-comment-content-heading, \n          {{ULTP}} .comment-meta { margin:0px 0px {{authMetaSpace}} }"}]},replyButton:{type:"string",default:"normal"},replyBtnTypo:{type:"object",default:{openTypography:1,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-reply-btn, \n          {{ULTP}} .comment-reply-link, \n          {{ULTP}} .comment-body .reply a"}]},replyBtnColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-reply-btn, \n          {{ULTP}} .comment-reply-link, \n          {{ULTP}} .comment-body .reply a {color: {{replyBtnColor}} }"}]},replyBtnBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5"},style:[{selector:"{{ULTP}} .ultp-reply-btn, \n          {{ULTP}} .comment-reply-link, \n          {{ULTP}} .comment-body .reply a"}]},replyBtnHovColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{selector:"{{ULTP}} .ultp-reply-btn:hover, \n          {{ULTP}} .comment-body .reply a:hover, \n          {{ULTP}} .comment-reply-link:hover {color: {{replyBtnHovColor}} }"}]},replyBtnBgHov:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5"},style:[{selector:"{{ULTP}} .ultp-reply-btn:hover, \n          {{ULTP}} .comment-reply-link:hover, \n          {{ULTP}} .comment-body .reply a:hover"}]},replyBtnBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-reply-btn, \n          {{ULTP}} .comment-reply-link, \n          {{ULTP}} .comment-body .reply a"}]},replyBtnRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-reply-btn, \n          {{ULTP}} .comment-reply-link, \n          {{ULTP}} .comment-body .reply a { border-radius:{{replyBtnRadius}}; }"}]},replyBtnPad:{type:"object",default:{lg:{top:"5",bottom:"5",left:"5",right:"5",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-reply-btn, \n          {{ULTP}} .comment-reply-link, \n          {{ULTP}} .comment-body .reply a { padding:{{replyBtnPad}}; }"}]},replyBtnSpace:{type:"object",default:{lg:"7",unit:"px"},style:[{selector:"{{ULTP}} .ultp-reply-btn, \n          {{ULTP}} .comment-reply-link, \n          {{ULTP}} .comment-body .reply a { margin: {{replyBtnSpace}} 0px}"}]},authMeta:{type:"boolean",default:!0,style:[{depends:[{key:"authMeta",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-meta span, \n          {{ULTP}} .comment-metadata , \n          {{ULTP}} .comment-meta {display:block}"},{depends:[{key:"authMeta",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-comment-meta span, \n          {{ULTP}} .comment-metadata , \n          {{ULTP}} .comment-meta {display:none}"}]},authMetaColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"authMeta",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-meta span , \n          {{ULTP}} .comment-metadata a ,\n          {{ULTP}} .comment-meta a { color:{{authMetaColor}} }"}]},authMetaHovColor:{type:"string",default:"",style:[{depends:[{key:"authMeta",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-meta span:hover , \n          {{ULTP}} .comment-metadata a:hover ,\n          {{ULTP}} .comment-meta a:hover { color:{{authMetaHovColor}} }"}]},authMetaTypo:{type:"object",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:20,unit:"px"}},style:[{depends:[{key:"authMeta",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-meta span, \n          {{ULTP}} .comment-metadata a, \n          {{ULTP}} .comment-meta a"}]},authImg:{type:"boolean",default:!0,style:[{depends:[{key:"authImg",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-wrapper .ultp-comment-content-heading > img,\n          {{ULTP}} .comment-author img {display: inline }"},{depends:[{key:"authImg",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-comment-content-heading > img,\n          {{ULTP}} .comment-author img {display: none }"}]},authImgRadius:{type:"object",default:{lg:"50",unit:"px"},style:[{depends:[{key:"authImg",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-comment-content-heading > img,\n          {{ULTP}} .comment-author img {border-radius: {{authImgRadius}} }"}]},replyColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-comment-desc,\n          {{ULTP}} .comment-content, \n          {{ULTP}} .comment-body .reply ,\n          {{ULTP}} .comment-body > p { color:{{replyColor}} }"}]},replyHovColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-comment-desc:hover, \n          {{ULTP}} .comment-content:hover, \n          {{ULTP}} .comment-body .reply:hover,\n          {{ULTP}} .comment-body > p:hover {color: {{replyHovColor}} }"}]},replyTypo:{type:"object",default:{openTypography:1,size:{lg:15,unit:"px"},height:{lg:20,unit:"px"}},style:[{selector:"{{ULTP}} .ultp-comment-desc, \n          {{ULTP}} .comment-content, \n          {{ULTP}} .comment-body .reply, \n          {{ULTP}} .comment-body > p"}]},replySeparator:{type:"boolean",default:!0,style:[{depends:[{key:"replySeparator",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-comment-reply > li:after { display: block }"},{depends:[{key:"replySeparator",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-builder-comment-reply > li:after { display: none }"}]},replySepColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"replySeparator",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-comment-reply > li:after { background-color:{{replySepColor}} }"}]},replyCancelColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .comment-reply-title a { color:{{replyCancelColor}} !important;  }"}]},replyCancelHoverColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .comment-reply-title a:hover { color:{{replyCancelHoverColor}} !important;  }"}]},replySepSpace:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"replySeparator",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-comment-reply > li:after { margin:{{replySepSpace}} 0px }"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},1182:(e,t,l)=>{"use strict";var o=l(7294),a=l(4473),i=l(4701);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-comments",{title:__("Post Comments","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/comments.svg",alt:"Post Comments"}),category:"postx-site-builder",description:__("Display the Post Comment section and customize it as you need.","ultimate-post"),keywords:[__("Comments","ultimate-post"),__("Comment Form","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},5657:(e,t,l)=>{"use strict";l.d(t,{Z:()=>u});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(4324),s=l(2637);const{__}=wp.i18n,{InspectorControls:p}=wp.blockEditor,{Fragment:c}=wp.element;function u(e){const{setAttributes:t,name:l,attributes:u,clientId:d,className:m,attributes:{blockId:g,advanceId:y,showCap:b,currentPostId:v}}=e,h={setAttributes:t,name:l,attributes:u,clientId:d};return(0,r.S)({blockId:g,clientId:d,currentPostId:v,setAttributes:t,checkRef:!1}),g&&(0,n.Kh)(u,"ultimate-post/post-content",g),(0,a.createElement)(c,null,(0,a.createElement)(p,null,(0,a.createElement)(s.Sections,null,(0,a.createElement)(s.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,a.createElement)(i.T,{initialOpen:!0,title:"inline",include:[{data:{type:"toggle",key:"showCap",label:__("Enable Drop Cap","ultimate-post")}},{data:{type:"toggle",key:"inheritWidth",label:__("Inherit Default Width","ultimate-post")}},{data:{type:"range",key:"contentWidth",step:1,responsive:!0,unit:!0,min:0,max:1e3,label:__("Content Width","ultimate-post")}},{data:{type:"color",key:"descColor",label:__("Text Color","ultimate-post")}},{data:{type:"color",key:"linkColor",label:__("Link Color","ultimate-post")}},{data:{type:"typography",key:"descTypo",label:__("Typography","ultimate-post")}},{data:{type:"alignment",key:"contentAlign",responsive:!0,label:__("Alignment","ultimate-post"),options:["0 auto 0 0","0 auto","0 0 0 auto"]}}],store:h}),b&&(0,a.createElement)(i.T,{title:__("Drop Cap Style","ultimate-post"),include:[{data:{type:"range",key:"firstCharSize",min:1,max:200,label:__("First Latter Size","ultimate-post")}},{data:{type:"range",key:"firstCharYSpace",min:1,max:300,label:__("Vertical Space","ultimate-post")}},{data:{type:"range",key:"firstCharXSpace",min:1,max:300,label:__("Horizontal Space","ultimate-post")}},{data:{type:"color",key:"firstLatterColor",label:__("Color","ultimate-post")}}],store:h})),(0,a.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:h}),(0,a.createElement)(i.Mg,{pro:!0,store:h}),(0,a.createElement)(i.iv,{store:h}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},y&&{id:y},{className:`ultp-block-${g} ${m}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-builder-content"},(0,a.createElement)("p",null,__("Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eget faucibus enim. Vivamus ac dui euismod velit convallis consequat. Aliquam eget malesuada nisi. Etiam mauris neque, varius vel blandit non, imperdiet facilisis eros. Aliquam ac odio id mi cursus posuere. Nunc in ex nec justo iaculis sodales. Donec ullamcorper sem non metus eleifend, sed molestie urna egestas. Vestibulum gravida mattis varius. Vivamus nec nulla mi. Nulla varius quam in lorem molestie posuere.","ultimate-post")),(0,a.createElement)("h2",null,__("Heading 2","ultimate-post")),(0,a.createElement)("h3",null,__("Heading 3","ultimate-post")),(0,a.createElement)("h4",null,__("Heading 4","ultimate-post")),(0,a.createElement)("h5",null,__("Heading 5","ultimate-post")),(0,a.createElement)("h6",null,__("Heading 6","ultimate-post")),(0,a.createElement)("h3",null,__("Ordered List","ultimate-post")),(0,a.createElement)("ol",null,(0,a.createElement)("li",null,__("List Item 1","ultimate-post")),(0,a.createElement)("li",null,__("List Item 2","ultimate-post")),(0,a.createElement)("li",null,__("List Item 3","ultimate-post"))),(0,a.createElement)("h3",null,__("Unordered List","ultimate-post")),(0,a.createElement)("ul",null,(0,a.createElement)("li",null,__("List Item 1","ultimate-post")),(0,a.createElement)("li",null,__("List Item 2","ultimate-post")),(0,a.createElement)("li",null,__("List Item 3","ultimate-post")))))))}},5784:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},inheritWidth:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} > .ultp-block-wrapper .ultp-builder-content { margin:0 auto; max-width: 700px; width:100%;}"}]},contentWidth:{type:"object",default:{lg:"",ulg:"px"},style:[{depends:[{key:"inheritWidth",condition:"!=",value:!0}],selector:"{{ULTP}} > .ultp-block-wrapper .ultp-builder-content {margin: 0 auto; max-width:{{contentWidth}}; width:100%}"}]},descColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} >  .ultp-block-wrapper .ultp-builder-content, {{ULTP}} > .ultp-block-wrapper .ultp-builder-content p {color:{{descColor}} ;}"}]},linkColor:{type:"string",default:"",style:[{selector:"{{ULTP}} >  .ultp-block-wrapper .ultp-builder-content a, {{ULTP}} >  .ultp-block-wrapper .ultp-builder-content * a {color:{{linkColor}} ;}"}]},descTypo:{type:"object",default:{openTypography:0,size:{lg:"14",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{selector:"{{ULTP}} > .ultp-block-wrapper .ultp-builder-content, html :where(.editor-styles-wrapper) {{ULTP}} > .ultp-block-wrapper .ultp-builder-content p"}]},contentAlign:{type:"string",default:"0 auto",style:[{depends:[{key:"inheritWidth",condition:"!=",value:!0}],selector:"{{ULTP}} > .ultp-block-wrapper .ultp-builder-content {margin:{{contentAlign}} }"}]},showCap:{type:"boolean",default:!1},firstCharSize:{type:"string",default:"110",style:[{depends:[{key:"showCap",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-block-wrapper > .ultp-builder-content > p:first-child::first-letter {font-size:{{firstCharSize}}px;float:left;}"}]},firstCharXSpace:{type:"string",default:"25",style:[{depends:[{key:"showCap",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-block-wrapper > .ultp-builder-content > p:first-child::first-letter {margin-right:{{firstCharXSpace}}px;}"}]},firstCharYSpace:{type:"string",default:"100",style:[{depends:[{key:"showCap",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-block-wrapper > .ultp-builder-content > p:first-child::first-letter {line-height:{{firstCharYSpace}}px;}"}]},firstLatterColor:{type:"string",default:"",style:[{depends:[{key:"showCap",condition:"==",value:!0}],selector:"{{ULTP}} > .ultp-block-wrapper > .ultp-builder-content > p:first-child::first-letter {color:{{firstLatterColor}};}"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},3427:(e,t,l)=>{"use strict";var o=l(7294),a=l(5657),i=l(5784);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-content",{title:__("Post Content","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/content.svg",alt:"Post Content"}),category:"postx-site-builder",description:__("Display Post Content in a customized and organized way.","ultimate-post"),keywords:[__("Content","ultimate-post"),__("Desctiption","ultimate-post"),__("Post Content","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},3424:(e,t,l)=>{"use strict";l.d(t,{Z:()=>m});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637),s=l(3245),p=l(4324);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Fragment:u}=wp.element,{dateI18n:d}=wp.date;function m(e){const{setAttributes:t,name:l,attributes:m,clientId:g,className:y,attributes:{blockId:b,advanceId:v,metaDateFormat:h,metaDateIconShow:f,metaDateIconStyle:k,prefixEnable:w,datePubLabel:x,dateUpLabel:T,dateFormat:S,currentPostId:P}}=e,C={setAttributes:t,name:l,attributes:m,clientId:g};return(0,p.S)({blockId:b,clientId:g,currentPostId:P,setAttributes:t,checkRef:!1}),b&&(0,n.Kh)(m,"ultimate-post/post-date-meta",b),(0,a.createElement)(u,null,(0,a.createElement)(c,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.T,{title:"inline",initialOpen:!0,include:[{data:{type:"group",key:"dateFormat",justify:!0,options:[{label:"Publish Date",value:"publish"},{label:"Updated Date",value:"updated"}],responsive:!1,label:__("Date/Time Format","ultimate-post")}},{data:{type:"toggle",key:"prefixEnable",label:__("Prefix Enable","ultimate-post")}},{data:{type:"text",key:"datePubLabel",label:__("Prefix Published Label","ultimate-post")}},{data:{type:"text",key:"dateUpLabel",label:__("Prefix Update Label","ultimate-post")}},{data:{type:"select",key:"metaDateFormat",label:__("Date/Time Format","ultimate-post"),options:[{value:"M j, Y",label:"Feb 7, 2022"},{value:"default_date",label:"WordPress Default Date Format",pro:!0},{value:"default_date_time",label:"WordPress Default Date & Time Format",pro:!0},{value:"g:i A",label:"1:12 PM",pro:!0},{value:"F j, Y",label:"February 7, 2022",pro:!0},{value:"F j, Y g:i A",label:"February 7, 2022 1:12 PM",pro:!0},{value:"M j, Y g:i A",label:"Feb 7, 2022 1:12 PM",pro:!0},{value:"j M Y",label:"7 Feb 2022",pro:!0},{value:"j M Y g:i A",label:"7 Feb 2022 1:12 PM",pro:!0},{value:"j F Y",label:"7 February 2022",pro:!0},{value:"j F Y g:i A",label:"7 February 2022 1:12 PM",pro:!0},{value:"j. M Y",label:"7. Feb 2022",pro:!0},{value:"j. M Y | H:i",label:"7. Feb 2022 | 1:12",pro:!0},{value:"j. F Y",label:"7. February 2022",pro:!0},{value:"j.m.Y",label:"7.02.2022",pro:!0},{value:"j.m.Y g:i A",label:"7.02.2022 1:12 PM",pro:!0}]}},{data:{type:"color",key:"metaDateColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"metaDateTypo",label:__("Typography","ultimate-post")}},{data:{type:"alignment",key:"metaDateCountAlign",disableJustify:!0,responsive:!0,label:__("Alignment","ultimate-post")}},{data:{type:"color",key:"datePrefixColor",label:__("Prefix Color","ultimate-post")}},{data:{type:"range",key:"datePrefixSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Prefix label Space X","ultimate-post")}}],store:C}),(0,a.createElement)(i.T,{title:__("Icon","ultimate-post"),depend:"metaDateIconShow",include:[{data:{type:"icon",key:"metaDateIconStyle",label:__("Select Icon","ultimate-post")}},{data:{type:"color",key:"iconColor",label:__("Icon Color","ultimate-post")}},{data:{type:"range",key:"metaDateIconSize",min:0,max:100,responsive:!0,step:1,unit:["px","em","rem"],label:__("Icon Size","ultimate-post")}},{data:{type:"range",key:"metaDateIconSpace",min:0,max:100,responsive:!0,step:1,unit:["px","em","rem"],label:__("Icon Space X","ultimate-post")}}],store:C})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:C}),(0,a.createElement)(i.Mg,{pro:!0,store:C}),(0,a.createElement)(i.iv,{store:C}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},v&&{id:v},{className:`ultp-block-${b} ${y}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-date-meta"},w&&(0,a.createElement)("span",{className:"ultp-date-meta-prefix"},"publish"==S&&x,"updated"==S&&T),f&&(0,a.createElement)("span",{className:"ultp-date-meta-icon"},""!=k&&s.ZP[k]),h&&(0,a.createElement)("span",{className:"ultp-date-meta-format"},d((0,i.De)(h)))))))}},8715:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},prefixEnable:{type:"boolean",default:!1},metaDateIconShow:{type:"boolean",default:!0},dateFormat:{type:"string",default:"updated"},metaDateFormat:{type:"string",default:"M j, Y"},metaDateColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-date-meta-format { color:{{metaDateColor}} }"}]},metaDateTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-date-meta"}]},metaDateCountAlign:{type:"object",default:[],style:[{selector:"{{ULTP}} .ultp-block-wrapper { text-align: {{metaDateCountAlign}};}"}]},datePubLabel:{type:"string",default:"Publish Date",style:[{depends:[{key:"prefixEnable",condition:"==",value:!0},{key:"dateFormat",condition:"==",value:"publish"}]}]},dateUpLabel:{type:"string",default:"Updated Date",style:[{depends:[{key:"prefixEnable",condition:"==",value:!0},{key:"dateFormat",condition:"==",value:"updated"}]}]},datePrefixColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"prefixEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-date-meta-prefix { color:{{datePrefixColor}} }"}]},datePrefixSpace:{type:"object",default:{lg:"12",unit:"px"},style:[{depends:[{key:"prefixEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-date-meta-prefix { margin-right: {{datePrefixSpace}} }"}]},metaDateIconStyle:{type:"string",default:"date1",style:[{depends:[{key:"metaDateIconShow",condition:"==",value:!0}]}]},iconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"metaDateIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-date-meta-icon > svg { fill:{{iconColor}}; stroke:{{iconColor}};}"}]},metaDateIconSize:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"metaDateIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-date-meta-icon svg { width:{{metaDateIconSize}}; height:{{metaDateIconSize}} }"}]},metaDateIconSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"metaDateIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-date-meta-icon > svg { margin-right: {{metaDateIconSpace}} }"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},8425:(e,t,l)=>{"use strict";var o=l(7294),a=l(3424),i=l(8715);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-date-meta",{title:__("Post Date Meta","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/post_date.svg",alt:"Post Date Meta"}),category:"postx-site-builder",description:__("Display Post Publish/Modified Date and customize it as you need.","ultimate-post"),keywords:[__("Date","ultimate-post"),__("Modify","ultimate-post"),__("Modified","ultimate-post"),__("Date Meta","ultimate-post"),__("Post Date","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},5260:(e,t,l)=>{"use strict";l.d(t,{Z:()=>u});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(4324),s=l(2637);const{__}=wp.i18n,{InspectorControls:p}=wp.blockEditor,{Fragment:c}=wp.element;function u(e){const{setAttributes:t,name:l,attributes:u,clientId:d,className:m,attributes:{blockId:g,advanceId:y,excerptLimit:b,currentPostId:v}}=e,h={setAttributes:t,name:l,attributes:u,clientId:d};(0,r.S)({blockId:g,clientId:d,currentPostId:v,setAttributes:t,checkRef:!1}),g&&(0,n.Kh)(u,"ultimate-post/post-excerpt",g);let f="Dummy excerpt text sample excerpt text. Dummy excerpt text sample excerpt text.";return b&&(f=f.split(" ").splice(0,b).join(" ")),(0,a.createElement)(c,null,(0,a.createElement)(p,null,(0,a.createElement)(s.Sections,null,(0,a.createElement)(s.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,a.createElement)(i.T,{initialOpen:!0,title:"inline",include:[{data:{type:"color",key:"excerptColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"excerptTypo",label:__("Typography","ultimate-post")}},{data:{type:"range",min:0,max:200,key:"excerptLimit",label:__("Excerpt Limit(Word)","ultimate-post")}},{data:{type:"alignment",key:"excerptAlignment",responsive:!0,label:__("Alignment","ultimate-post")}}],store:h})),(0,a.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:h}),(0,a.createElement)(i.Mg,{pro:!0,store:h}),(0,a.createElement)(i.iv,{store:h}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},y&&{id:y},{className:`ultp-block-${g} ${m}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-builder-excerpt"},f))))}},1195:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},excerptColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-builder-excerpt {color:{{excerptColor}}}"}]},excerptTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-builder-excerpt"}]},excerptLimit:{type:"string",default:"150"},excerptAlignment:{type:"object",default:[],style:[{selector:"{{ULTP}} .ultp-builder-excerpt {text-align:{{excerptAlignment}}}"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},6303:(e,t,l)=>{"use strict";var o=l(7294),a=l(5260),i=l(1195);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-excerpt",{title:__("Post Excerpt","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/excerpt.svg"}),category:"postx-site-builder",description:__("Display Post Excerpt if required and customize as you need.","ultimate-post"),keywords:[__("excerpts","ultimate-post"),__("post excerpt","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},8790:(e,t,l)=>{"use strict";l.d(t,{Z:()=>u});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(4324),s=l(2637);const{__}=wp.i18n,{InspectorControls:p}=wp.blockEditor,{Fragment:c}=wp.element;function u(e){const{setAttributes:t,name:l,attributes:u,clientId:d,className:m,attributes:{blockId:g,advanceId:y,altText:b,enableCaption:v,currentPostId:h}}=e,f={setAttributes:t,name:l,attributes:u,clientId:d};return(0,r.S)({blockId:g,clientId:d,currentPostId:h,setAttributes:t,checkRef:!1}),g&&(0,n.Kh)(u,"ultimate-post/post-featured-image",g),(0,a.createElement)(c,null,(0,a.createElement)(p,null,(0,a.createElement)(s.Sections,null,(0,a.createElement)(s.Section,{slug:"image",title:__("Image","ultimate-post")},(0,a.createElement)(i.T,{title:"inline",include:[{position:0,data:{type:"toggle",key:"defImgShow",help:__("When both an image and a video exist, prioritize displaying the image","ultimate-post"),label:__("Show Image","ultimate-post")}},{position:5,data:{type:"text",key:"altText",label:__("Image ALT text","ultimate-post")}},{position:10,data:{type:"range",key:"imgWidth",min:0,max:1e3,step:1,responsive:!0,unit:!0,label:__("Image Width","ultimate-post")}},{position:12,data:{type:"range",key:"imgHeight",min:0,max:1e3,step:1,responsive:!0,unit:!0,label:__("Image Height","ultimate-post")}},{position:13,data:{type:"group",key:"imgScale",justify:!0,options:[{value:"cover",label:__("Cover","ultimate-post")},{value:"contain",label:__("Container","ultimate-post")},{value:"fill",label:__("Fill","ultimate-post")}],label:__("Image Scale","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:14,data:{type:"range",key:"imgRadius",min:0,max:1e3,step:1,responsive:!0,unit:!0,label:__("Image Border Radius","ultimate-post")}},{position:15,data:{type:"alignment",key:"imgAlign",responsive:!0,label:__("Image Alignment","ultimate-post"),options:["start","center","end"]}},{position:16,data:{type:"select",key:"imgCrop",help:"Image Size Working Only Frontend",label:__("Image Size","ultimate-post"),options:i.gs}},{position:17,data:{type:"toggle",key:"imgSrcset",label:__("Enable Srcset","ultimate-post")}}],store:f}),(0,a.createElement)(i.T,{title:__("Enable Dynamic Caption","ultimate-post"),depend:"enableCaption",include:[{position:1,data:{type:"color",key:"captionColor",label:__("Caption Color","ultimate-post")}},{position:2,data:{type:"color",key:"captionHoverColor",label:__("Caption Hover Color","ultimate-post")}},{position:3,data:{type:"typography",key:"captionTypo",label:__("Caption Typography","ultimate-post")}},{position:4,data:{type:"alignment",key:"captionAlign",disableJustify:!0,label:__("Caption Alignment","ultimate-post")}},{position:5,data:{type:"range",key:"captionSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Caption Space","ultimate-post")}}],store:f})),(0,a.createElement)(s.Section,{slug:"video",title:__("Video","ultimate-post")},(0,a.createElement)(i.T,{initialOpen:!0,title:__("Video Setting","ultimate-post"),include:[{position:0,data:{type:"range",key:"videoWidth",label:__("Video Width","ultimate-post"),min:0,max:100,step:1,responsive:!0}},{position:1,data:{type:"range",key:"videoHeight",label:__("Max Video Height","ultimate-post"),min:0,max:1500,step:1,unit:!0,responsive:!0}},{position:2,data:{type:"alignment",key:"vidAlign",disableJustify:!0,label:__("Video Alignment","ultimate-post")}},{position:17,data:{type:"toggle",key:"enableVideoCaption",label:__("Video Caption Enable","ultimate-post")}},{position:3,data:{type:"toggle",key:"stickyEnable",pro:!0,label:__("On Scroll Sticky Enable","ultimate-post")}},{position:4,data:{type:"range",key:"stickyWidth",label:__("Sticky Video Width","ultimate-post"),min:0,max:1500,step:1,responsive:!0}},{position:6,data:{type:"select",key:"stickyPosition",options:[{label:"Bottom Right",value:"bottomRight"},{label:"Bottom Left",value:"bottomLeft"},{label:"Top Right",value:"topRight"},{label:"Top Left",value:"topLeft"}],label:__("Sticky Video Position","ultimate-post")}},{position:7,data:{type:"range",key:"flexiblePosition",label:__("Flexible Sticky Position","ultimate-post"),min:0,max:500,step:1,unit:!0,responsive:!0}},{position:8,data:{type:"color",key:"stickyBg",label:__("Background","ultimate-post")}},{position:9,data:{type:"border",key:"stickyBorder",label:__("Border","ultimate-post")}},{position:10,data:{type:"boxshadow",key:"stickyBoxShadow",label:__("BoxShadow","ultimate-post")}},{position:12,data:{type:"dimension",key:"stickyPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}},{position:13,data:{type:"separator",label:__("Close Button Style","ultimate-post")}},{position:14,data:{type:"range",key:"stickyCloseSize",label:__("Sticky Close Size","ultimate-post")}},{position:15,data:{type:"color",key:"stickyCloseColor",label:__("Sticky Close Color","ultimate-post")}},{position:16,data:{type:"color",key:"stickyCloseBg",label:__("Close Background Color","ultimate-post")}}],store:f})),(0,a.createElement)(s.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:f}),(0,a.createElement)(i.Mg,{pro:!0,store:f}),(0,a.createElement)(i.iv,{store:f}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},y&&{id:y},{className:`ultp-block-${g} ${m}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-image-wrapper"},(0,a.createElement)("div",{className:"ultp-builder-image"},(0,a.createElement)("img",{src:ultp_data.url+"assets/img/ultp-placeholder.jpg",alt:b||"Image"}))),v&&(0,a.createElement)("div",{className:"ultp-featureImg-caption"},"Dynamic Image Caption"))))}},577:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},defImgShow:{type:"boolean",default:!1},altText:{type:"string",default:"Image"},imgWidth:{type:"object",default:{lg:"",ulg:"px",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-wrapper .ultp-builder-image { max-width: {{imgWidth}}; }"}]},imgHeight:{type:"object",default:{lg:"",ulg:"px",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-wrapper .ultp-builder-image img {height: {{imgHeight}}; }"}]},imgRadius:{type:"object",default:{lg:"",ulg:"px",unit:"px"},style:[{selector:"{{ULTP}} .ultp-builder-image img { border-radius:{{imgRadius}}; }"}]},imgScale:{type:"string",default:"cover",style:[{depends:[{key:"imgScale",condition:"==",value:"cover"}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-builder-image img { object-fit: cover }"},{depends:[{key:"imgScale",condition:"==",value:"contain"}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-builder-image img { object-fit: contain }"},{depends:[{key:"imgScale",condition:"==",value:"fill"}],selector:"{{ULTP}} .ultp-block-wrapper .ultp-builder-image img { object-fit: fill }"}]},imageScale:{type:"string",default:"cover",style:[{selector:"{{ULTP}} .ultp-builder-video {object-fit: {{imageScale}};}"}]},imgAlign:{type:"object",default:{lg:"left"},style:[{selector:"{{ULTP}} .ultp-image-wrapper:has(.ultp-builder-image) {display: flex; justify-content:{{imgAlign}}; text-align: {{imgAlign}}; } "}]},imgCrop:{type:"string",default:"full"},imgSrcset:{type:"boolean",default:!1},enableCaption:{type:"boolean",default:!1},captionColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-featureImg-caption { color: {{captionColor}}; }"}]},captionHoverColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-featureImg-caption:hover { color: {{captionHoverColor}}; } "}]},captionTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-featureImg-caption"}]},captionAlign:{type:"string",default:"center",style:[{selector:"{{ULTP}} .ultp-featureImg-caption { text-align:{{captionAlign}} }"}]},captionSpace:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-featureImg-caption { margin-top:{{captionSpace}}; }"}]},enableVideoCaption:{type:"boolean",default:!1},videoWidth:{type:"object",default:{lg:"100"},style:[{selector:"{{ULTP}} .ultp-builder-video:has( video ), {{ULTP}} .ultp-embaded-video {width:{{videoWidth}}%;}"}]},videoHeight:{type:"object",default:{lg:"",ulg:"px",unit:"px"},style:[{selector:"{{ULTP}} .ultp-builder-video video, {{ULTP}} .ultp-builder-video .ultp-embaded-video {max-height:{{videoHeight}}; height: 100%;}"}]},vidAlign:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-image-wrapper:has( .ultp-embaded-video ) { text-align:{{vidAlign}}; } {{ULTP}} .ultp-image-wrapper:has( .ultp-video-html ) {  display: flex; justify-content:{{vidAlign}}; }"}]},stickyEnable:{type:"boolean",default:!1},stickyWidth:{type:"object",default:{lg:"450"},style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active {width:{{stickyWidth}}px !important;}"}]},stickyPosition:{type:"string",default:"bottomRight",style:[{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"bottomRight"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { bottom: 0px; right: 20px; }"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"bottomLeft"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { bottom: 0px; left: 20px; }"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"topRight"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { top: 0px; right: 20px;; }"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"topLeft"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { top: 0px; left: 20px; }"}]},flexiblePosition:{type:"object",default:{lg:"15",ulg:"px",unit:"px"},style:[{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"bottomRight"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { bottom:{{flexiblePosition}}!important;}"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active {display: flex; justify-content: center; align-items: center;}"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"bottomLeft"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { bottom:{{flexiblePosition}} !important;}"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"topRight"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { top:{{flexiblePosition}} !important;}"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"topLeft"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { top:{{flexiblePosition}}!important;}"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"rightMiddle"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { display: flex; justify-content: flex-end; align-items: center;}"},{depends:[{key:"stickyEnable",condition:"==",value:!0},{key:"stickyPosition",condition:"==",value:"leftMiddle"}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { display: flex; justify-content: flex-start; align-items: center; }"}]},stickyBg:{type:"string",default:"#000",style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { background:{{stickyBg}} }"}]},stickyBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active"}]},stickyBoxShadow:{type:"object",default:{openShadow:1,width:{top:0,right:0,bottom:24,left:1},color:"#000000e6"},style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active"}]},stickyRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { border-radius:{{stickyRadius}}; }"}]},stickyPadding:{type:"object",default:{lg:{}},style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active { padding:{{stickyPadding}} !important; }"}]},stickyCloseSize:{type:"string",default:"47",style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active .ultp-sticky-close { height:{{stickyCloseSize}}px; width:{{stickyCloseSize}}px; } {{ULTP}} .ultp-sticky-video.ultp-sticky-active .ultp-sticky-close::after { font-size: calc({{stickyCloseSize}}px / 2);}"}]},stickyCloseColor:{type:"string",default:"#fff",style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-active .ultp-sticky-close { color:{{stickyCloseColor}} }"}]},stickyCloseBg:{type:"string",default:" rgb(43, 43, 43)",style:[{depends:[{key:"stickyEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sticky-video.ultp-sticky-close { background-color:{{stickyCloseBg}} }"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},8913:(e,t,l)=>{"use strict";var o=l(7294),a=l(8790),i=l(577);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-featured-image",{title:__("Post Featured Image/Video","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/featured_img.svg",alt:"Post Feature Image"}),category:"postx-site-builder",description:__("Display the Featured Image/Video and adjust the visual look.","ultimate-post"),keywords:[__("Image","ultimate-post"),__("Video","ultimate-post"),__("Featured Image","ultimate-post"),__("Featured Video","ultimate-post"),__("Post Featured Video","ultimate-post"),__("Post Featured Image","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},5454:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637),s=l(3245),p=l(4324);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Fragment:u}=wp.element;function d(e){const{setAttributes:t,name:l,attributes:d,clientId:m,className:g,attributes:{blockId:y,advanceId:b,readLabelText:v,readIconStyle:h,readLabel:f,readIconShow:k,currentPostId:w}}=e,x={setAttributes:t,name:l,attributes:d,clientId:m};return(0,p.S)({blockId:y,clientId:m,currentPostId:w,setAttributes:t,checkRef:!1}),y&&(0,n.Kh)(d,"ultimate-post/post-reading-time",y),(0,a.createElement)(u,null,(0,a.createElement)(c,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.T,{title:"inline",include:[{data:{type:"toggle",key:"readLabel",label:__("Enable Label","ultimate-post")}},{data:{type:"color",key:"readColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"readTypo",label:__("Typography","ultimate-post")}},{data:{type:"alignment",key:"readCountAlign",disableJustify:!0,responsive:!0,label:__("Alignment","ultimate-post")}},{data:{type:"text",key:"readLabelText",label:__("Text","ultimate-post")}},{data:{type:"group",key:"readLabelAlign",options:[{label:"After Content",value:"after"},{label:"Before Content",value:"before"}],justify:!0,label:__("Prefix Position","ultimate-post")}}],store:x}),(0,a.createElement)(i.T,{title:__("Icon Style","ultimate-post"),depend:"readIconShow",initialOpen:!0,include:[{data:{type:"color",key:"iconColor",label:__("Color","ultimate-post")}},{data:{type:"icon",key:"readIconStyle",label:__("Style","ultimate-post")}},{data:{type:"range",key:"readIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Size","ultimate-post")}},{data:{type:"range",key:"readSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Space X","ultimate-post")}}],store:x})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:x}),(0,a.createElement)(i.Mg,{pro:!0,store:x}),(0,a.createElement)(i.iv,{store:x}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},b&&{id:b},{className:`ultp-block-${y} ${g}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("span",{className:"ultp-read-count"},k&&h&&s.ZP[h],(0,a.createElement)("div",null,"12"),f&&(0,a.createElement)("span",{className:"ultp-read-label"},v)))))}},2698:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},readLabel:{type:"boolean",default:!0},readIconShow:{type:"boolean",default:!0},readColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-read-count { color:{{readColor}} }"}]},readTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-read-count"}]},readCountAlign:{type:"object",default:[],style:[{selector:"{{ULTP}} .ultp-block-wrapper { text-align: {{readCountAlign}};}"}]},readLabelText:{type:"string",default:"Reading Time",style:[{depends:[{key:"readLabel",condition:"==",value:!0}]}]},readLabelAlign:{type:"string",default:"after",style:[{depends:[{key:"readLabelAlign",condition:"==",value:"before"},{key:"readLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-read-count .ultp-read-label {order: -1; margin-right: 5px;}"},{depends:[{key:"readLabelAlign",condition:"==",value:"after"},{key:"readLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-read-count .ultp-read-label {order: unset; margin-left: 5px;}"}]},iconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"readIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-read-count > svg { fill:{{iconColor}}; stroke:{{iconColor}};}"}]},readIconStyle:{type:"string",default:"readingTime1",style:[{depends:[{key:"readIconShow",condition:"==",value:!0}]}]},readIconSize:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"readIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-read-count svg{ width:{{readIconSize}}; height:{{readIconSize}} }"}]},readSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"readIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-read-count > svg { margin-right: {{readSpace}} }"},{depends:[{key:"readIconShow",condition:"==",value:!0},{key:"readLabelAlign",condition:"==",value:"before"}],selector:"{{ULTP}} .ultp-read-count > svg { margin: {{readSpace}} } {{ULTP}}  .ultp-read-count .ultp-read-label {margin: 0px !important;}"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},4255:(e,t,l)=>{"use strict";var o=l(7294),a=l(5454),i=l(2698);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-reading-time",{title:__("Post Reading Time","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/reading_time.svg",alt:"Post Reading Time"}),category:"postx-site-builder",description:__("Display Expecting Reading Time and customize it as you need.","ultimate-post"),keywords:[__("Post Reading Time","ultimate-post"),__("Post Reading","ultimate-post"),__("Reading Time","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},730:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(3245),s=l(4324),p=l(5092);const{__}=wp.i18n,{Fragment:c}=wp.element,{InspectorControls:u}=wp.blockEditor;function d(e){const{setAttributes:t,name:l,attributes:d,clientId:m,className:g,attributes:{blockId:y,advanceId:b,disInline:v,shareLabelShow:h,shareCountLabel:f,shareCountShow:k,repetableField:w,shareLabelStyle:x,currentPostId:T}}=e,S={setAttributes:t,name:l,attributes:d,clientId:m};return(0,s.S)({blockId:y,clientId:m,currentPostId:T,setAttributes:t,checkRef:!1}),y&&(0,n.Kh)(d,"ultimate-post/post-social-share",y),(0,a.createElement)(c,null,(0,a.createElement)(u,null,(0,a.createElement)(p.Z,{store:S}),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},b&&{id:b},{className:`ultp-block-${y} ${g}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-post-share"},(0,a.createElement)("div",{className:`ultp-post-share-layout ultp-inline-${v}`},h&&(0,a.createElement)("div",{className:"ultp-post-share-count-section ultp-post-share-count-section-"+x},"style2"!=x&&k&&(0,a.createElement)("span",{className:"ultp-post-share-count"},"350"),"style2"==x&&(0,a.createElement)("span",{className:"ultp-post-share-icon-section"},r.ZP.share),"style2"!=x&&f&&(0,a.createElement)("span",{className:"ultp-post-share-label"},f)),(0,a.createElement)("div",{className:"ultp-post-share-item-inner-block"},w.map(((e,t)=>(0,a.createElement)("div",{key:t,className:`ultp-post-share-item ultp-repeat-${t} ultp-social-${e.type}`},(0,a.createElement)("a",{href:"#",className:`ultp-post-share-item-${e.type}`},(0,a.createElement)("span",{className:"ultp-post-share-item-icon"},r.ZP[e.type]),e.enableLabel&&(0,a.createElement)("span",{className:"ultp-post-share-item-label"},e.label)))))))))))}},5092:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=({store:e})=>(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,o.createElement)(a.T,{title:__("General","ultimate-post"),store:e,initialOpen:!0,include:[{position:1,data:{type:"repetable",key:"repetableField",label:__("Social Share Style","ultimate-post"),fields:[{type:"select",key:"type",label:__("Social Media","ultimate-post"),options:[{value:"facebook",label:__("Facebook","ultimate-post")},{value:"twitter",label:__("Twitter","ultimate-post")},{value:"messenger",label:__("Messenger","ultimate-post")},{value:"linkedin",label:__("Linkedin","ultimate-post")},{value:"reddit",label:__("Reddit","ultimate-post")},{value:"mail",label:__("Mail","ultimate-post")},{value:"whatsapp",label:__("WhatsApp","ultimate-post")},{value:"skype",label:__("Skype","ultimate-post")},{value:"pinterest",label:__("Pinterest","ultimate-post")}]},{type:"toggle",key:"enableLabel",label:__("Label Enable","ultimate-post")},{type:"text",key:"label",label:__("Label","ultimate-post")},{type:"color",key:"iconColor",label:__("Color","ultimate-post")},{type:"color",key:"iconColorHover",label:__("Color Hover","ultimate-post")},{type:"color",key:"shareBg",label:__("Background","ultimate-post")},{type:"color",key:"shareBgHover",label:__("Hover Background","ultimate-post")}]}},{position:2,data:{type:"separator",label:__("Common Style","ultimate-post")}},{position:2,data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"shareColor",label:__("Color","ultimate-post")},{type:"color",key:"shareCommonBg",label:__("Background","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"shareHoverColor",label:__("Hover Color","ultimate-post")},{type:"color",key:"shareHoverBg",label:__("Hover Background","ultimate-post")}]}]}},{position:3,data:{type:"typography",key:"shareItemTypo",label:__("Typography","ultimate-post")}}]}),(0,o.createElement)(a.T,{title:__("Item Setting","ultimate-post"),include:[{data:{type:"toggle",key:"disInline",label:__("Item Inline","ultimate-post")}},{data:{type:"range",key:"shareIconSize",min:0,max:150,unit:!1,responsive:!0,step:1,label:__("Icon Size","ultimate-post")}},{data:{type:"border",key:"shareBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"shareRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"itemPadding",min:0,max:80,step:1,unit:!0,responsive:!0,label:__("Item Padding","ultimate-post")}},{data:{type:"dimension",key:"itemSpacing",min:0,max:80,step:1,unit:!0,responsive:!0,label:__("Spacing","ultimate-post")}},{data:{type:"group",key:"itemContentAlign",options:[{label:"Left",value:"flex-start"},{label:"Center",value:"center"},{label:"Right",value:"flex-end"}],justify:!0,label:__("Content Alignment","ultimate-post")}},{data:{type:"alignment",key:"itemAlign",responsive:!1,label:__("Alignment","ultimate-post"),disableJustify:!0}}],store:e}),(0,o.createElement)(a.T,{title:__("Share Label & Count","ultimate-post"),include:[{data:{type:"toggle",key:"shareLabelShow",label:__("Show Share label & Count","ultimate-post")}},{data:{type:"select",key:"shareLabelStyle",label:__("Share Label Style","ultimate-post"),options:[{value:"style1",label:__("Style 1","ultimate-post")},{value:"style2",label:__("Style 2","ultimate-post")},{value:"style3",label:__("Style 3","ultimate-post")},{value:"style4",label:__("Style 4","ultimate-post")}]}},{data:{type:"range",key:"labelIconSize",min:0,max:100,unit:!1,responsive:!0,step:1,label:__("Label Icon Size","ultimate-post")}},{data:{type:"dimension",key:"labelIconSpace",label:__("Space","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"color",key:"shareLabelIconColor",label:__("Icon Color","ultimate-post")}},{data:{type:"color",key:"Labels1BorderColor",label:__("Border Color","ultimate-post")}},{data:{type:"color",key:"shareLabelBackground",label:__("Background Color","ultimate-post")}},{data:{type:"border",key:"shareLabelBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"shareLabelRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"dimension",key:"shareLabelPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}},{data:{type:"toggle",key:"shareCountShow",label:__("Share Count","ultimate-post")}},{data:{type:"color",key:"shareCountColor",label:__("Count Color","ultimate-post")}},{data:{type:"typography",key:"shareCountTypo",label:__("Count Typography","ultimate-post")}},{data:{type:"text",key:"shareCountLabel",label:__("Share Count Label","ultimate-post")}},{data:{type:"color",key:"shareLabelColor",label:__("Label Color","ultimate-post")}},{data:{type:"typography",key:"shareLabelTypo",label:__("Label Typography","ultimate-post")}}],store:e}),(0,o.createElement)(a.T,{title:__("Sticky Position","ultimate-post"),depend:"enableSticky",include:[{data:{type:"select",key:"itemPosition",label:__("Display Style","ultimate-post"),options:[{value:"left",label:__("Left","ultimate-post")},{value:"right",label:__("right","ultimate-post")},{value:"bottom",label:__("bottom","ultimate-post")}]}},{data:{type:"range",key:"stickyLeftOffset",min:0,max:1500,unit:!1,responsive:!1,step:1,label:__("Left Offset","ultimate-post")}},{data:{type:"range",key:"stickyRightOffset",min:0,max:1500,unit:!1,responsive:!1,step:1,label:__("Right Offset","ultimate-post")}},{data:{type:"range",key:"stickyTopOffset",min:0,max:1500,unit:!1,responsive:!1,step:1,label:__("Top Offset","ultimate-post")}},{data:{type:"range",key:"stickyBottomOffset",min:0,max:1500,unit:!1,responsive:!1,step:1,label:__("Bottom Offset","ultimate-post")}},{data:{type:"toggle",key:"resStickyPost",label:__("Disable Sticky ( Responsive )","ultimate-post")}},{data:{type:"range",key:"floatingResponsive",min:0,max:1200,unit:!1,responsive:!1,step:1,label:__("Horizontal floating responsiveness","ultimate-post")}},{data:{type:"toggle",key:"stopSticky",label:__("Disable Sticky ( when footer is visible )","ultimate-post")}}],store:e})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{store:e}),(0,o.createElement)(a.Mg,{pro:!0,store:e}),(0,o.createElement)(a.iv,{store:e})))},9977:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},shareColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-post-share-item-icon svg { fill:{{shareColor}}; }\n      {{ULTP}}  .ultp-post-share-item-label { color:{{shareColor}} }"}]},shareCommonBg:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-post-share-item a { background-color: {{shareCommonBg}}; }"}]},shareHoverColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-post-share-item:hover .ultp-post-share-item-icon svg { fill:{{shareHoverColor}}; }\n        {{ULTP}} .ultp-post-share-item:hover .ultp-post-share-item-label{ color:{{shareHoverColor}} }"}]},shareHoverBg:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{selector:"{{ULTP}} .ultp-post-share-item a:hover { background-color:{{shareHoverBg}}; } "}]},repetableField:{type:"array",fields:{type:{type:"string",default:"facebook"},enableLabel:{type:"boolean",default:!0},label:{type:"string",default:"Share"},iconColor:{type:"string",default:"#fff",style:[{selector:"{{ULTP}} {{REPEAT_CLASS}}.ultp-post-share-item a .ultp-post-share-item-icon svg { fill:{{iconColor}} !important; }\n              {{ULTP}} {{REPEAT_CLASS}}.ultp-post-share-item .ultp-post-share-item-label { color:{{iconColor}} }"}]},iconColorHover:{type:"string",default:"#d2d2d2",style:[{selector:"{{ULTP}} {{REPEAT_CLASS}}.ultp-post-share-item:hover .ultp-post-share-item-icon svg { fill:{{iconColorHover}} !important; }\n              {{ULTP}} {{REPEAT_CLASS}}.ultp-post-share-item:hover .ultp-post-share-item-label{ color:{{iconColorHover}} }"}]},shareBg:{type:"string",default:"#7a49ff",style:[{selector:"{{ULTP}} {{REPEAT_CLASS}}.ultp-post-share-item a { background-color: {{shareBg}}; }"}]},shareBgHover:{type:"object",default:"#7a49ff",style:[{selector:"{{ULTP}} {{REPEAT_CLASS}}.ultp-post-share-item a:hover { background-color:{{shareBgHover}}; }"}]}},default:[{type:"facebook",enableLabel:!0,label:"Facebook",iconColor:"#fff",iconColorHover:"#d2d2d2",shareBg:"#4267B2",bgHoverColor:"#f5f5f5"},{type:"twitter",enableLabel:!0,label:"Twitter",iconColor:"#fff",iconColorHover:"#d2d2d2",shareBg:"#1DA1F2",bgHoverColor:"#f5f5f5"},{type:"pinterest",enableLabel:!0,label:"Pinterest",iconColor:"#fff",iconColorHover:"#d2d2d2",shareBg:"#E60023",bgHoverColor:"#f5f5f5"},{type:"linkedin",enableLabel:!0,label:"Linkedin",iconColor:"#fff",iconColorHover:"#d2d2d2",shareBg:"#0A66C2",bgHoverColor:"#f5f5f5"},{type:"mail",enableLabel:!0,label:"Mail",iconColor:"#fff",iconColorHover:"#d2d2d2",shareBg:"#EA4335",bgHoverColor:"#f5f5f5"}]},disInline:{type:"boolean",default:!0},shareItemTypo:{type:"object",default:{openTypography:1,size:{lg:"18",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{selector:"{{ULTP}} .ultp-post-share-item a .ultp-post-share-item-label"}]},shareIconSize:{type:"object",default:{lg:"20",unit:"px"},style:[{selector:"{{ULTP}} .ultp-post-share-item .ultp-post-share-item-icon svg { height:{{shareIconSize}} !important; width:{{shareIconSize}} !important;}"}]},shareBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#c3c3c3",type:"solid"},style:[{selector:"{{ULTP}} .ultp-post-share-item a"}]},shareRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-post-share-item a { border-radius:{{shareRadius}}; }"}]},itemPadding:{type:"object",default:{lg:{top:"15",bottom:"15",left:"15",right:"15",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-post-share-item-inner-block .ultp-post-share-item a { padding:{{itemPadding}} !important; }"}]},itemSpacing:{type:"object",default:{lg:{top:"5",bottom:"5",left:"5",right:"5",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-post-share-item-inner-block .ultp-post-share-item {margin:{{itemSpacing}} !important; }"}]},itemContentAlign:{type:"string",default:"flex-start",style:[{depends:[{key:"disInline",condition:"==",value:!0},{key:"enableSticky",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-post-share-layout {display: flex; align-items: center; justify-content:{{itemContentAlign}}; width: 100%;} "},{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-post-share-layout {display: flex; justify-content: center; align-items:{{itemContentAlign}}; width: 100%;} "}]},itemAlign:{type:"string",default:"left",style:[{depends:[{key:"disInline",condition:"==",value:!1},{key:"enableSticky",condition:"==",value:!1},{key:"itemAlign",condition:"==",value:"left"}],selector:"{{ULTP}} .ultp-post-share { text-align:{{itemAlign}}; } .rtl\n        {{ULTP}} .ultp-post-share { text-align: right !important; }"},{depends:[{key:"disInline",condition:"==",value:!1},{key:"enableSticky",condition:"==",value:!1},{key:"itemAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-post-share { text-align:{{itemAlign}}; } .rtl\n        {{ULTP}} .ultp-post-share { text-align: left !important;}"},{depends:[{key:"disInline",condition:"==",value:!1},{key:"enableSticky",condition:"==",value:!1},{key:"itemAlign",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-post-share { text-align:{{itemAlign}}; }"}]},shareLabelShow:{type:"boolean",default:!0},labelIconSize:{type:"object",default:{lg:"24"},style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-icon-section svg { height: {{labelIconSize}}px; width: {{labelIconSize}}px; }"}]},labelIconSpace:{type:"object",default:{lg:{top:"0",bottom:"0",left:"0",right:"15",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-post-share-count-section { margin:{{labelIconSpace}} }"}]},shareLabelIconColor:{type:"string",default:"#002dff",style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-post-share-icon-section svg{ fill:{{shareLabelIconColor}}; }"}]},shareLabelStyle:{type:"string",default:"style1",style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-post-share-layout{display: flex; align-items:center;}"},{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-post-share-layout{display: flex; align-items:center;}"},{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-post-share .ultp-post-share-layout{display: flex; flex-direction: column}"},{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-post-share-layout{display: flex}"}]},shareCountShow:{type:"boolean",default:!0,style:[{depends:[{key:"shareLabelStyle",condition:"==",value:"style1"},{key:"shareLabelShow",condition:"==",value:!0}]},{depends:[{key:"shareLabelStyle",condition:"==",value:"style3"},{key:"shareLabelShow",condition:"==",value:!0}]},{depends:[{key:"shareLabelStyle",condition:"==",value:"style4"},{key:"shareLabelShow",condition:"==",value:!0}]}]},Labels1BorderColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"==",value:"style1"}],selector:"{{ULTP}} .ultp-post-share-count-section-style1,\n          {{ULTP}} .ultp-post-share-count-section-style1:after {border-color:{{Labels1BorderColor}} !important; }"}]},shareCountColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"shareLabelStyle",condition:"==",value:"style1"},{key:"shareCountShow",condition:"==",value:!0},{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-count {color:{{shareCountColor}} !important; }"},{depends:[{key:"shareLabelStyle",condition:"==",value:"style3"},{key:"shareCountShow",condition:"==",value:!0},{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-count {color:{{shareCountColor}} !important; }"}]},shareCountTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"20",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{depends:[{key:"shareLabelStyle",condition:"==",value:"style1"},{key:"shareCountShow",condition:"==",value:!0},{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-count"},{depends:[{key:"shareLabelStyle",condition:"==",value:"style3"},{key:"shareCountShow",condition:"==",value:!0},{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-count"}]},shareCountLabel:{type:"string",default:"Shares",style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"!=",value:"style2"}]}]},shareLabelColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"shareLabelStyle",condition:"!=",value:"style2"},{key:"shareCountLabel",condition:"!=",value:""},{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-count-section .ultp-post-share-label {color:{{shareLabelColor}}; }"}]},shareLabelTypo:{type:"object",default:{openTypography:0,size:{lg:"12",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{depends:[{key:"shareLabelStyle",condition:"!=",value:"style2"},{key:"shareCountLabel",condition:"!=",value:""},{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-label"}]},shareLabelBackground:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-count-section,\n          {{ULTP}} .ultp-post-share-count-section-style1::after {background-color:{{shareLabelBackground}}; }"}]},shareLabelBorder:{type:"object",default:{openBorder:1,width:{top:1,right:1,bottom:1,left:1},color:"#c3c3c3",type:"solid"},style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0},{key:"shareLabelStyle",condition:"!=",value:"style1"}],selector:"{{ULTP}} .ultp-post-share-count-section,\n          {{ULTP}} .ultp-post-share-count-section-style1::after"}]},shareLabelRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-count-section { border-radius:{{shareLabelRadius}}; }"}]},shareLabelPadding:{type:"object",default:{lg:{top:"10",bottom:"10",left:"25",right:"25",unit:"px"}},style:[{depends:[{key:"shareLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share-count-section { padding:{{shareLabelPadding}}; }"}]},enableSticky:{type:"boolean",default:!1,style:[{depends:[{key:"enableSticky",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-post-share-layout {display: flex; align-items:center;}"}]},itemPosition:{type:"string",default:"bottom",style:[{depends:[{key:"enableSticky",condition:"==",value:!0}]}]},stickyLeftOffset:{type:"string",default:"20",style:[{depends:[{key:"enableSticky",condition:"==",value:!0},{key:"itemPosition",condition:"!=",value:"right"}],selector:"{{ULTP}} .ultp-post-share .ultp-post-share-layout { position:fixed;left:{{stickyLeftOffset}}px;}"}]},stickyRightOffset:{type:"string",default:"20",style:[{depends:[{key:"enableSticky",condition:"==",value:!0},{key:"itemPosition",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-post-share .ultp-post-share-layout { position:fixed; right:{{stickyRightOffset}}px;}"}]},stickyTopOffset:{type:"string",default:"20",style:[{depends:[{key:"enableSticky",condition:"==",value:!0},{key:"itemPosition",condition:"!=",value:"bottom"}],selector:"{{ULTP}} .ultp-post-share .ultp-post-share-layout { position:fixed;top:{{stickyTopOffset}}px;z-index:9999999;}"}]},stickyBottomOffset:{type:"string",default:"20",style:[{depends:[{key:"itemPosition",condition:"==",value:"bottom"},{key:"enableSticky",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-post-share .ultp-post-share-layout { position:fixed;bottom:{{stickyBottomOffset}}px; z-index:9999999;}"}]},resStickyPost:{type:"boolean",default:!1,style:[{depends:[{key:"enableSticky",condition:"==",value:!0}]}]},floatingResponsive:{type:"string",default:"600",style:[{depends:[{key:"resStickyPost",condition:"==",value:!0}],selector:"@media only screen and (max-width: {{floatingResponsive}}px) { .ultp-post-share-layout { position: unset !important; display: flex !important; justify-content: center; } .ultp-post-share-item-inner-block { display: flex !important; } .ultp-post-share-count-section-style1:after { bottom: auto !important; transform: rotate(44deg) !important; top: 40% !important; right: -8px !important; }} "}]},stopSticky:{type:"boolean",default:!1,style:[{depends:[{key:"enableSticky",condition:"==",value:!0}]}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},8111:(e,t,l)=>{"use strict";var o=l(7294),a=l(730),i=l(9977);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-social-share",{title:__("Post Social Share","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/share.svg",alt:"Post Share"}),category:"postx-site-builder",description:__("Display Social Share Buttons to let visitors share posts to their social profiles.","ultimate-post"),keywords:[__("Post Share","ultimate-post"),__("Social Share","ultimate-post"),__("Social Media","ultimate-post"),__("Share","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},2358:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637),s=l(3245),p=l(4324);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Fragment:u}=wp.element;function d(e){const{setAttributes:t,name:l,attributes:d,clientId:m,className:g,attributes:{blockId:y,advanceId:b,tagLabel:v,tagLabelShow:h,tagIconShow:f,tagIconStyle:k,currentPostId:w}}=e,x={setAttributes:t,name:l,attributes:d,clientId:m};return(0,p.S)({blockId:y,clientId:m,currentPostId:w,setAttributes:t,checkRef:!1}),y&&(0,n.Kh)(d,"ultimate-post/post-tag",y),(0,a.createElement)(u,null,(0,a.createElement)(c,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.T,{title:"inline",initialOpen:!0,include:[{data:{type:"alignment",key:"tagAlign",disableJustify:!0,responsive:!0,label:__("Alignment","ultimate-post"),options:["flex-start","center","flex-end"]}},{data:{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"tagColor",label:__("Color","ultimate-post")},{type:"color",key:"tagBgColor",label:__("Background","ultimate-post")},{type:"border",key:"tagItemBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"tagRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"tagHovColor",label:__("Hover Color","ultimate-post")},{type:"color",key:"tagBgHovColor",label:__("Hover Background","ultimate-post")},{type:"border",key:"tagItemHoverBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"tagHoverRadius",label:__("Hover Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]}},{data:{type:"typography",key:"tagTypo",label:__("Typography","ultimate-post")}},{data:{type:"range",key:"tagSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Space Between Tags","ultimate-post")}},{data:{type:"dimension",key:"tagItemPad",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}}],store:x}),(0,a.createElement)(i.T,{title:__("Tag Label","ultimate-post"),depend:"tagLabelShow",initialOpen:!1,include:[{data:{type:"text",key:"tagLabel",label:__("Tag Label","ultimate-post")}},{data:{type:"color",key:"labelColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"labelTypo",label:__("Typography","ultimate-post")}},{data:{type:"range",key:"tagLabelSpace",min:0,max:100,step:1,responsive:!0,unit:!0,label:__("Spacing","ultimate-post")}},{data:{type:"color",key:"labelBgColor",label:__("Background","ultimate-post")}},{data:{type:"dimension",key:"tagLabelPad",step:1,unit:!0,responsive:!0,label:__("Padding","ultimate-post")}},{data:{type:"border",key:"tagLabelBorder",label:__("Border","ultimate-post")}},{data:{type:"dimension",key:"tagLabelRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}}],store:x}),(0,a.createElement)(i.T,{title:__("Icon Style","ultimate-post"),depend:"tagIconShow",include:[{data:{type:"icon",key:"tagIconStyle",label:__("Select Icon","ultimate-post")}},{data:{type:"color",key:"tagIconColor",label:__("Icon Color","ultimate-post")}},{data:{type:"color",key:"tagIconHovColor",label:__("Hover Color","ultimate-post")}},{data:{type:"range",key:"tagIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Size","ultimate-post")}},{data:{type:"range",key:"tagIconSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Icon Space X","ultimate-post")}}],store:x})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:x}),(0,a.createElement)(i.Mg,{pro:!0,store:x}),(0,a.createElement)(i.iv,{store:x}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},b&&{id:b},{className:`ultp-block-${y} ${g}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("div",{className:"ultp-builder-tag"},f&&s.ZP[k],(0,a.createElement)("div",{className:"tag-builder-label"},h&&v),(0,a.createElement)("div",{className:"tag-builder-content"},(0,a.createElement)("a",{href:"#"},"Dummy Tag 1"),(0,a.createElement)("a",{href:"#"},"Dummy Tag 2"),(0,a.createElement)("a",{href:"#"},"Dummy Tag 3"))))))}},6216:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},tagLabelShow:{type:"boolean",default:!0},tagIconShow:{type:"boolean",default:!0},tagColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-builder-tag a, {{ULTP}} .tag-builder-content {color:{{tagColor}};}"}]},tagBgColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-builder-tag a {background:{{tagBgColor}};}"}]},tagItemBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#e2e2e2",type:"solid"},style:[{selector:"{{ULTP}} .ultp-builder-tag a"}]},tagRadius:{type:"object",default:{lg:"2",unit:"px"},style:[{selector:"{{ULTP}} .ultp-builder-tag a { border-radius:{{tagRadius}}; }"}]},tagHovColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{selector:"{{ULTP}} .ultp-builder-tag a:hover { color:{{tagHovColor}}; }"}]},tagBgHovColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{selector:"{{ULTP}} .ultp-builder-tag a:hover {background:{{tagBgHovColor}};}"}]},tagItemHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#000",type:"solid"},style:[{selector:"{{ULTP}} .ultp-builder-tag a:hover"}]},tagHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-builder-tag a:hover{ border-radius:{{tagHoverRadius}}; }"}]},tagTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:""},style:[{selector:"{{ULTP}} .ultp-builder-tag a"}]},tagSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{selector:"{{ULTP}} .ultp-builder-tag a:not(:last-child) {margin-right:{{tagSpace}}}"}]},tagItemPad:{type:"object",default:{lg:{top:"0",bottom:"0",left:"10",right:"10",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-builder-tag a{ padding:{{tagItemPad}} }"}]},tagAlign:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-builder-tag { justify-content:{{tagAlign}}; }"}]},tagLabel:{type:"string",default:"Tags: ",style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}]}]},labelColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag .tag-builder-label {color:{{labelColor}};}"}]},labelBgColor:{type:"string",default:"",style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag .tag-builder-label {background:{{labelBgColor}};}"}]},labelTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag .tag-builder-label"}]},tagLabelSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag .tag-builder-label{margin-right:{{tagLabelSpace}}}"}]},tagLabelBorder:{type:"object",default:{openBorder:0},style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag .tag-builder-label"}]},tagLabelRadius:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-builder-tag .tag-builder-label{ border-radius:{{tagLabelRadius}}; }"}]},tagLabelPad:{type:"object",default:{},style:[{depends:[{key:"tagLabelShow",condition:"==",value:!0}],selector:"{{ULTP}} .tag-builder-label{ padding:{{tagLabelPad}} }"}]},tagIconStyle:{type:"string",default:"",style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}]}]},tagIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag svg {fill:{{tagIconColor}}; stroke:{{tagIconColor}} }"}]},tagIconHovColor:{type:"string",default:"",style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag svg:hover {fill:{{tagIconHovColor}}; stroke:{{tagIconHovColor}} }"}]},tagIconSize:{type:"object",default:{lg:"16",unit:"px"},style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag svg {height:{{tagIconSize}}; width:{{tagIconSize}};}"}]},tagIconSpace:{type:"object",default:{lg:"10",unit:"px"},style:[{depends:[{key:"tagIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-builder-tag svg {margin-right:{{tagIconSpace}} }"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},1213:(e,t,l)=>{"use strict";var o=l(7294),a=l(2358),i=l(6216);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-tag",{title:__("Post Tag","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/post_tag.svg",alt:"Post Tag"}),category:"postx-site-builder",description:__("Display Post Tags and style them as you need.","ultimate-post"),keywords:[__("Tag","ultimate-post"),__("Post Tags","ultimate-post"),__("Tags","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},3484:(e,t,l)=>{"use strict";l.d(t,{Z:()=>u});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(4324),s=l(6921);const{InspectorControls:p}=wp.blockEditor,{Fragment:c}=wp.element;function u(e){const{setAttributes:t,clientId:l,name:u,attributes:d,className:m,attributes:{blockId:g,advanceId:y,titleTag:b,currentPostId:v}}=e,h={setAttributes:t,name:u,attributes:d,clientId:l};return(0,r.S)({blockId:g,clientId:l,currentPostId:v,setAttributes:t,checkRef:!1}),g&&(0,n.Kh)(d,"ultimate-post/post-title",g),(0,a.createElement)(c,null,(0,a.createElement)(p,null,(0,a.createElement)(s.Z,{store:h}),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},y&&{id:y},{className:`ultp-block-${g} ${m}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)(i.VI,{tag:b,className:"ultp-builder-title"},"Sample Post Title"))))}},6921:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(3049),i=l(2637);const{__}=wp.i18n,n=e=>{const{store:t}=e;return(0,o.createElement)(i.Sections,null,(0,o.createElement)(i.Section,{slug:"setting",title:__("Style","ultimate-post")},(0,o.createElement)(a.T,{initialOpen:!0,title:"inline",include:[{data:{type:"color",key:"titleColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"titleTypo",label:__("Typography","ultimate-post")}},{data:{type:"tag",key:"titleTag",label:__("Tag","ultimate-post")}},{data:{type:"alignment",key:"titleAlign",disableJustify:!1,responsive:!0,label:__("Alignment","ultimate-post")}}],store:t})),(0,o.createElement)(i.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,o.createElement)(a.yB,{store:t}),(0,o.createElement)(a.Mg,{pro:!0,store:t}),(0,o.createElement)(a.iv,{store:t})))}},9381:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},titleColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-builder-title, .edit-post-visual-editor {{ULTP}} .ultp-builder-title {color:{{titleColor}};}"}]},titleTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-builder-title { margin:0 } {{ULTP}} .ultp-builder-title , .edit-post-visual-editor {{ULTP}} .ultp-builder-title"}]},titleTag:{type:"string",default:"h1"},titleAlign:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-builder-title {text-align:{{titleAlign}};}"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},1366:(e,t,l)=>{"use strict";var o=l(7294),a=l(3484),i=l(9381);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-title",{title:__("Post Title","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/post_title.svg"}),category:"postx-site-builder",description:__("Display the Post Title and customize it as you need.","ultimate-post"),keywords:[__("heading","ultimate-post"),__("title","ultimate-post"),__("post title","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},2567:(e,t,l)=>{"use strict";l.d(t,{Z:()=>m});var o=l(7462),a=l(7294),i=l(3049),n=l(9838),r=l(2637),s=l(3245),p=l(4324);const{__}=wp.i18n,{InspectorControls:c}=wp.blockEditor,{Component:u,Fragment:d}=wp.element;function m(e){const{setAttributes:t,name:l,attributes:u,clientId:m,className:g,attributes:{blockId:y,advanceId:b,viewLabelText:v,viewIconStyle:h,viewLabel:f,viewIconShow:k,currentPostId:w}}=e,x={setAttributes:t,name:l,attributes:u,clientId:m};return(0,p.S)({blockId:y,clientId:m,currentPostId:w,setAttributes:t,checkRef:!1}),y&&(0,n.Kh)(u,"ultimate-post/post-view-count",y),(0,a.createElement)(d,null,(0,a.createElement)(c,null,(0,a.createElement)(r.Sections,null,(0,a.createElement)(r.Section,{slug:"setting",title:__("Setting","ultimate-post")},(0,a.createElement)(i.T,{title:"inline",include:[{data:{type:"toggle",key:"viewLabel",label:__("Enable Prefix","ultimate-post")}},{data:{type:"color",key:"viewIconColor",label:__("Color","ultimate-post")}},{data:{type:"typography",key:"viewTypo",label:__("Typography","ultimate-post")}},{data:{type:"alignment",key:"viewCountAlign",disableJustify:!0,responsive:!0,label:__("Alignment","ultimate-post")}},{data:{type:"text",key:"viewLabelText",label:__("Text","ultimate-post")}},{data:{type:"group",key:"viewLabelAlign",options:[{label:"After Content",value:"after"},{label:"Before Content",value:"before"}],justify:!0,label:__("Prefix Position","ultimate-post")}}],store:x}),(0,a.createElement)(i.T,{title:__("Icon Style","ultimate-post"),depend:"viewIconShow",include:[{data:{type:"color",key:"iconColor",label:__("Color","ultimate-post")}},{data:{type:"icon",key:"viewIconStyle",label:__("Style","ultimate-post")}},{data:{type:"range",key:"viewIconSize",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Size","ultimate-post")}},{data:{type:"range",key:"viewSpace",min:0,max:100,responsive:!0,step:1,unit:!0,label:__("Space X","ultimate-post")}}],store:x})),(0,a.createElement)(r.Section,{slug:"advanced",title:__("Advanced","ultimate-post")},(0,a.createElement)(i.yB,{store:x}),(0,a.createElement)(i.Mg,{pro:!0,store:x}),(0,a.createElement)(i.iv,{store:x}))),(0,i.dH)()),(0,a.createElement)("div",(0,o.Z)({},b&&{id:b},{className:`ultp-block-${y} ${g}`}),(0,a.createElement)("div",{className:"ultp-block-wrapper"},(0,a.createElement)("span",{className:"ultp-view-count"},k&&""!=h&&s.ZP[h],(0,a.createElement)("span",{className:"ultp-view-count-number"},"12 "),f&&(0,a.createElement)("span",{className:"ultp-view-label"},v)))))}},2141:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={blockId:{type:"string",default:""},currentPostId:{type:"string",default:""},viewLabel:{type:"boolean",default:!0},viewIconShow:{type:"boolean",default:!0},viewTypo:{type:"object",default:{openTypography:0,size:{lg:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-view-count > span"}]},viewCountAlign:{type:"object",default:[],style:[{selector:"{{ULTP}} .ultp-block-wrapper { text-align: {{viewCountAlign}};}"}]},viewLabelText:{type:"string",default:"View",style:[{depends:[{key:"viewLabel",condition:"==",value:!0}]}]},viewLabelAlign:{type:"string",default:"after",style:[{depends:[{key:"viewLabelAlign",condition:"==",value:"before"},{key:"viewLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-count .ultp-view-label {order: -1;margin-right: 5px;}"},{depends:[{key:"viewLabelAlign",condition:"==",value:"after"},{key:"viewLabel",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-count .ultp-view-label {order: unset; margin-left: 5px;}"}]},viewIconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{selector:"{{ULTP}} .ultp-view-count >span{ color:{{viewIconColor}} }"}]},viewIconStyle:{type:"string",default:"viewCount1",style:[{depends:[{key:"viewIconShow",condition:"==",value:!0}]}]},iconColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"viewIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-count > svg { fill:{{iconColor}}; stroke:{{iconColor}};} "}]},viewIconSize:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"viewIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-count svg{ width:{{viewIconSize}}; height:{{viewIconSize}} }"}]},viewSpace:{type:"object",default:{lg:"8",unit:"px"},style:[{depends:[{key:"viewIconShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-view-count > span.ultp-view-count-number { margin-left: {{viewSpace}} }"},{depends:[{key:"viewIconShow",condition:"==",value:!0},{key:"viewLabelAlign",condition:"==",value:"before"}],selector:"{{ULTP}} .ultp-view-count > svg { margin: {{viewSpace}} } {{ULTP}} .ultp-view-count .ultp-view-label {margin: 0px !important;}"}]},...(0,l(2165).t)(["advanceAttr"],["loadingColor"])}},1977:(e,t,l)=>{"use strict";var o=l(7294),a=l(2567),i=l(2141);const{__}=wp.i18n,{registerBlockType:n}=wp.blocks;n("ultimate-post/post-view-count",{title:__("Post View Count","ultimate-post"),icon:(0,o.createElement)("img",{className:"ultp-block-icon",src:ultp_data.url+"assets/img/blocks/builder/view_count.svg",alt:"Post View Count"}),category:"postx-site-builder",description:__("Display the post view count and customize it as you need.","ultimate-post"),keywords:[__("Post View Count","ultimate-post"),__("Post View","ultimate-post"),__("View","ultimate-post")],attributes:i.Z,supports:{align:["center","wide","full"],reusable:!1},edit:a.Z,save:()=>null})},5324:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(3245);const i=e=>{const{useState:t,useEffect:l,useRef:i,onChange:n,options:r,value:s,contentWH:p}=e,[c,u]=t(!1),d=i(null),m=e=>{d?.current&&!d?.current.contains(e.target)?u(!1):d?.current&&d?.current.contains(e.target)&&!e.target.classList?.contains("ultp-reserve-button")&&u(!d?.current.classList?.contains("open"))};l((()=>(document.addEventListener("mousedown",m),()=>document.removeEventListener("mousedown",m))),[]);const g=r?.find((e=>e.value===s));return(0,o.createElement)("div",{ref:d,className:"starter_filter_select "+(c?"open":"")},(0,o.createElement)("div",{className:"starter_filter_selected"},g?g.label:"Select an option",a.ZP.collapse_bottom_line),c&&(0,o.createElement)("ul",{className:"starter_filter_select_options",style:{minWidth:p?.width||"100px",maxHeight:p?.height||"160px"}},r.map(((e,t)=>(0,o.createElement)("li",{className:"ultp-reserve-button starter_filter_select_option",key:t,onClick:()=>(e=>{u(!1),n(e.value)})(e)},e.label)))))}},6488:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(2402),i=l(3245),n=l(7763),r=l(5324);const{__}=wp.i18n,s=e=>{const{changeStates:t,column:l,showWishList:s,_fetchFile:p,fetching:c,searchQuery:u,fields:d,fieldValue:m,fieldOptions:g,useState:y,useEffect:b,useRef:v}=e;return(0,o.createElement)("div",{className:"ultp-templatekit-layout-search-container"},(0,o.createElement)("div",{className:"ultp-templatekit-search-container"},d?.filter&&(0,o.createElement)(o.Fragment,null," ",(0,o.createElement)("span",null,__("Filter:","ultimate-post")),(0,o.createElement)(r.Z,{useState:y,useEffect:b,useRef:v,value:m?.filter,contentWH:{height:"190px",width:"150px"},onChange:e=>{t("filter",e)},options:g?.filterArr||[]})),d?.trend&&m?.trend&&(0,o.createElement)(r.Z,{useState:y,useEffect:b,useRef:v,value:m?.trend,onChange:e=>{t("trend",e)},options:[{value:"all",label:__("Popular / Latest","ultimate-post")},{value:"popular",label:__("Popular","ultimate-post")},{value:"latest",label:__("Latest","ultimate-post")}]}),d?.freePro&&(0,o.createElement)(r.Z,{useState:y,useEffect:b,useRef:v,value:m?.freePro,onChange:e=>{t("freePro",e)},options:[{value:"all",label:__("Free / Pro","ultimate-post")},{value:"free",label:__("Free","ultimate-post")},{value:"pro",label:__("Pro","ultimate-post")}]})),(0,o.createElement)("div",{className:"ultp-templatekit-layout-container"},(0,o.createElement)(a.Z,{changeStates:t,searchQuery:u}),(0,o.createElement)("span",{className:"ultp-templatekit-iconcol2 "+("2"==l?"ultp-lay-active":""),onClick:()=>t("column","2")},n.Z.grid_col1),(0,o.createElement)("span",{className:"ultp-templatekit-iconcol3 "+("3"==l?"ultp-lay-active":""),onClick:()=>t("column","3")},n.Z.grid_col2),(0,o.createElement)("div",{className:"ultp-premade-wishlist-con"},(0,o.createElement)("span",{className:"ultp-premade-wishlist cursor "+(s?"ultp-wishlist-active":""),onClick:()=>{t("wishlist",!s)}},i.ZP[s?"love_solid":"love_line"])),p&&(0,o.createElement)("div",{onClick:()=>p(),className:"ultp-filter-sync"},(0,o.createElement)("span",{className:"dashicons dashicons-update-alt "+(c?" rotate":"")}),__("Synchronize","ultimate-post"))))}},6008:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7294),a=l(3245),i=l(8949),n=l(356),r=l(6488);const{__}=wp.i18n,s=[{label:__("All","ultimate-post"),value:"all"},{label:__("Menu - PostX","ultimate-post"),value:"menu"},{label:__("Post Grid #1","ultimate-post"),value:"post-grid-1"},{label:__("Post Grid #2","ultimate-post"),value:"post-grid-2"},{label:__("Post Grid #3","ultimate-post"),value:"post-grid-3"},{label:__("Post Grid #4","ultimate-post"),value:"post-grid-4"},{label:__("Post Grid #5","ultimate-post"),value:"post-grid-5"},{label:__("Post Grid #6","ultimate-post"),value:"post-grid-6"},{label:__("Post Grid #7","ultimate-post"),value:"post-grid-7"},{label:__("Post List #1","ultimate-post"),value:"post-list-1"},{label:__("Post List #2","ultimate-post"),value:"post-list-2"},{label:__("Post List #3","ultimate-post"),value:"post-list-3"},{label:__("Post List #4","ultimate-post"),value:"post-list-4"},{label:__("Post Slider #1","ultimate-post"),value:"post-slider-1"},{label:__("Post Slider #2","ultimate-post"),value:"post-slider-2"},{label:__("Post Module #1","ultimate-post"),value:"post-module-1"},{label:__("Post Module #2","ultimate-post"),value:"post-module-2"},{label:__("News ticker","ultimate-post"),value:"news-ticker"},{label:__("Taxonomy","ultimate-post"),value:"ultp-taxonomy"},{label:__("Table of Contents","ultimate-post"),value:"table-of-content"},{label:__("Button Group","ultimate-post"),value:"button-group"},{label:__("List - PostX","ultimate-post"),value:"advanced-list"},{label:__("Search - PostX","ultimate-post"),value:"advanced-search"},{label:__("Accordion","ultimate-post"),value:"accordion"},{label:__("Star Ratings","ultimate-post"),value:"star-rating"}],p=[{value:"all",label:__("All Categories","ultimate-post")},{value:"news",label:__("News","ultimate-post")},{value:"magazine",label:__("Magazine","ultimate-post")},{value:"blog",label:__("Blog","ultimate-post")},{value:"sports",label:__("Sports","ultimate-post")},{value:"fashion",label:__("Fashion","ultimate-post")},{value:"tech",label:__("Tech","ultimate-post")},{value:"travel",label:__("Travel","ultimate-post")},{value:"food",label:__("Food","ultimate-post")},{value:"movie",label:__("Movie","ultimate-post")},{value:"health",label:__("Health","ultimate-post")},{value:"gaming",label:__("Gaming","ultimate-post")},{value:"nft",label:__("NFT","ultimate-post")}],c=(e,t,l)=>`${e}/wp-content/uploads/sites/${t}/postx_importer_img/pages/${l.toLowerCase().replaceAll(" ","_")}.jpg`,u=({starterListModule:e,starterLists:t,setStarterListModule:l,useState:i,state:n,importStarterTemplate:r})=>{const s=t?.filter((t=>t.live==e)),{title:p,live:u,pro:d}=s[0];let{templates:m}=s[0];["contact","about","blog","home"].forEach((e=>{m.forEach(((t,l)=>{t.name.toLowerCase().includes(e)&&m.splice(0,0,m.splice(l,1)[0])}))}));const[g,y]=i(m[0].name),[b,v]=i(m[0].ID),h=m?.filter((e=>e.ID==b))[0],f=u+("page"==h.type?"home_page"==h.home_page?"":"/"+h.name?.toLowerCase().replaceAll(" ","-"):"/postx_"+("archive"==h.builder_type?h.archive_type:h.builder_type));return(0,o.createElement)("div",null,(0,o.createElement)("div",{className:"ultp-module-templates-footer"},(0,o.createElement)("div",{className:"ultp-module-title"},(0,o.createElement)("span",{onClick:()=>l("")}," ",a.ZP.collapse_bottom_line," Back "),"   ",p),(0,o.createElement)("div",{className:"ultp-module-btn"},"ultp_builder"!=h.type&&(!ultp_data.active&&d?(0,o.createElement)("a",{className:"ultp-btns ultpProBtn",target:"_blank",href:"https://www.wpxpo.com/postx/pricing/?utm_source=db-postx-editor&utm_medium=starter-site-upgrade&utm_campaign=postx-dashboard"},__("Upgrade to Pro","ultimate-post"),"  ➤"):(0,o.createElement)("button",{onClick:()=>r("https://postxkit.wpxpo.com/"+u,b,d),className:`ultp-template-btn ultp-template-btn-fill ${n.reload?"s_loading":""} `},__("Import Template","ultimate-post")," ",a.ZP[n.reload?"refresh":"upload_solid"])),"ultp_builder"==h.type&&(0,o.createElement)("a",{href:ultp_data.builder_url,target:"_blank",className:"ultp-template-btn ultp-template-btn-fill"},__("Go to Site Builder","ultimate-post")),(0,o.createElement)("a",{href:"https://postxkit.wpxpo.com/"+f,target:"_blank",className:"ultp-template-btn ultp-template-btn-line"},__("Live Preview","ultimate-post")," ",a.ZP.eye))),(0,o.createElement)("div",{className:"ultp-module"},(0,o.createElement)("div",null,m?.length&&(0,o.createElement)("div",{className:"ultp-module-templates"},m.map((({type:e,name:t,img:l,ID:a},i)=>!("ultp_builder"==e&&t.toLowerCase().includes("header")||t.toLowerCase().includes("footer"))&&(0,o.createElement)("div",{key:t,className:"ultp-module-item "+(b==a?"active":""),onClick:()=>{v(a),y(t)}},(0,o.createElement)("div",{className:"bg-image-aspect",style:{backgroundImage:`url(${c("https://postxkit.wpxpo.com/"+u,s[0].ID,t)})`}}),(0,o.createElement)("div",{className:"ultp-module-info"},t)))))),(0,o.createElement)("div",null,"ultp_builder"==h.type&&(0,o.createElement)("div",{className:"ultp-module-notice"},(0,o.createElement)("strong",null,__("Note:","ultimate-post"))," ",__("This is a builder template. Go to ","ultimate-post")," ",(0,o.createElement)("a",{href:ultp_data.builder_url,target:"_blank"}," ",__("Site Builder ","ultimate-post"))," ",__("and explore more","ultimate-post")),(0,o.createElement)("div",{className:"ultp-module-page"},(0,o.createElement)("img",{key:g,src:`https://postxkit.wpxpo.com/${u}/wp-content/uploads/sites/${s[0].ID}/postx_importer_img/pages/large/${g.toLowerCase().replaceAll(" ","_")}.jpg`,alt:g})))))},d=e=>{const{filterValue:t,state:l,setState:d,useState:m,useEffect:g,useRef:y,_changeVal:b,splitArchiveData:v,dashboard:h,setWListAction:f,wishListArr:k,starterListModule:w,setStarterListModule:x}=e,{current:T,isStarterLists:S,error:P,starterLists:C,designs:E,reload:_,reloadId:L,fetching:I,loading:U,starterChildLists:B,starterParentLists:M}=l,A=h?ultp_dashboard_pannel:ultp_data,[H,N]=m("3"),[j,O]=m(""),[Z,R]=m("all"),[D,F]=m("all"),[z,W]=m(!1),[G,V]=m({state:!1,status:""}),q="front_page"==A?.archive;let $=[...T],K=!!S&&!j;const J=["singular","archive","header","footer","404"].includes(A.archive);S&&j&&($=[...B],K=!1),"latest"==Z||"all"==Z?$.sort(((e,t)=>t.ID-e.ID)):"popular"==Z&&$[0]&&$[0].hit&&$.sort(((e,t)=>t.hit-e.hit));const Y=(e,t,o)=>{o&&!A.active||(d({...l,reload:!0,reloadId:t}),wp.apiFetch({path:"/ultp/v3/single_page_import",method:"POST",data:{api_endpoint:e,ID:t}}).then((e=>{e.success&&(wp.data.dispatch("core/block-editor").insertBlocks(wp.blocks.parse(e.content.content)),x(""),d({...l,isPopup:!1,reload:!1,reloadId:"",error:!1}))})))};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-templatekit-wrap"},G.state&&(0,o.createElement)(n.Z,{delay:2e3,toastMessages:G,setToastMessages:V}),(0,o.createElement)("div",{className:"ultp-templatekit-list-container "+(S&&w?"ultp-block-editor":"")},(S&&!w||!S)&&(0,o.createElement)(r.Z,{changeStates:(e,t)=>{"freePro"==e?F(t):"search"==e?O(t):"column"==e?N(t):"wishlist"==e?W(t):"trend"==e?R(t):"filter"==e&&(e=>{let t=[];const o=S?"starterListsFilter":"designFilter";t=S?C:E,d("all"==e?{...l,[o]:e,current:t}:{...l,[o]:e,current:S?t.filter((t=>t.parent_cat&&(Array.isArray(t.parent_cat)?t.parent_cat:Object.values(t.parent_cat||{})).includes(e)||t.category==e)):v(t,e)})})(t)},useState:m,useEffect:g,useRef:y,column:H,showWishList:z,searchQuery:j,fetching:I,fields:{filter:!J,trend:!0,freePro:!0},fieldOptions:{filterArr:!J&&(S?p:s),trendArr:[],freeProArr:[]},fieldValue:{filter:J?"all":t,trend:Z,freePro:D}}),w&&S&&!J?(0,o.createElement)(u,{useState:m,starterListModule:w,starterLists:C,setStarterListModule:x,importStarterTemplate:Y,state:l,setState:d}):$?.length>0?(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-premade-grid ultp-templatekit-col"+H},$.map(((e,t)=>(J||q?(e.name+" "+e.parent)?.toLowerCase().includes(j.toLowerCase()):(S&&!j?e.title:e.name)?.toLowerCase().includes(j.toLowerCase()))&&(j&&(S&&"ultp_builder"!=e.type||!S)||!j)&&("all"==D||"pro"==D&&e.pro||"free"==D&&!e.pro)&&(!z||z&&k?.includes(e.ID))&&(0,o.createElement)("div",{key:t,className:`ultp-item-wrapper ${K?"ultp-starter-group":""} ${e.parent?"ultp-single-item":""}`},(0,o.createElement)("div",{className:"ultp-item-list"},(0,o.createElement)("div",{className:"ultp-item-list-overlay"},(0,o.createElement)("a",{className:`ultp-templatekit-img ${["header","footer"].includes(e.builder_type)?"ultp_hf":""} ${J||S||q?" bg-image-aspect":""} `,style:J||q?{backgroundImage:`url(https://postxkit.wpxpo.com/${e.live}/wp-content/uploads/sites/${e.parentID}/postx_importer_img/pages/${e.name?.toLowerCase().replaceAll(" ","_")}.jpg )`}:S?{backgroundImage:`url(${K?c("https://postxkit.wpxpo.com/"+e.live,e.ID,"home"):c("https://postxkit.wpxpo.com/"+M[e.parent]?.live,M[e.parent]?.ID,e.name)})`}:{}},!(J||S||q)&&(0,o.createElement)("img",{src:e.image,loading:"lazy",alt:e.name})),(0,o.createElement)("div",{className:"ultp-list-dark-overlay"},!A.active&&(0,o.createElement)(o.Fragment,null,e.pro?(0,o.createElement)("span",{className:"ultp-templatekit-premium-btn"},__("Pro","ultimate-post")):(0,o.createElement)("span",{className:"ultp-templatekit-premium-btn ultp-templatekit-premium-free-btn"},__("Free","ultimate-post"))),S?(0,o.createElement)(o.Fragment,null,K?(0,o.createElement)("a",{className:"ultp-overlay-view",onClick:()=>{x(e.live)}},a.ZP.search_line):(0,o.createElement)("a",{className:"ultp-overlay-view ultp-dashboverlay",href:"https://postxkit.wpxpo.com/"+e.live+"/"+e.name.toLowerCase().replaceAll(" ","-"),target:"_blank"},(0,o.createElement)("span",{className:"dashicons dashicons-visibility"})," ",__("Live Preview","ultimate-post"))):(0,o.createElement)("a",{className:"ultp-overlay-view ultp-dashboverlay "+(["header","footer"].includes(e.builder_type)?"ultp_hf":""),href:J||q?"https://postxkit.wpxpo.com/"+(q||["header","footer"].includes(e.builder_type)?e.live:e.live+"/postx_"+("archive"==e.builder_type?e.archive_type:e.builder_type)):`https://www.wpxpo.com/postx/patterns/#demoid${e.ID}`,target:"_blank"},(0,o.createElement)("span",{className:"dashicons dashicons-visibility"})," ",__("Live Preview","ultimate-post")))),(0,o.createElement)("div",{className:"ultp-item-list-info"},(0,o.createElement)("div",{className:"ultp-list-info"},S?j?(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",null,e.name),(0,o.createElement)("div",{className:"parent"},e.parent," ")):(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",null,e.title),(0,o.createElement)("div",{className:"parent"},e?.templates?.length+" templates"," ")):(0,o.createElement)("span",null,e.name,(J||q)&&(0,o.createElement)("div",{className:"parent"},e.parent," "))),(0,o.createElement)("span",{className:"ultp-action-btn"},(0,o.createElement)("span",{className:"ultp-premade-wishlist",onClick:()=>{f(e.ID,k?.includes(e.ID)?"remove":"")}},a.ZP[k?.includes(e.ID)?"love_solid":"love_line"]),S?j&&(0,o.createElement)(o.Fragment,null,e.pro&&!A.active?(0,o.createElement)("a",{className:"ultp-btns ultpProBtn",target:"_blank",href:"https://www.wpxpo.com/postx/pricing/?utm_source=db-postx-editor&utm_medium=starter-site-upgrade&utm_campaign=postx-dashboard"},__("Upgrade to Pro","ultimate-post"),"  ➤"):"ultp_builder"!==e.type&&(0,o.createElement)("span",{onClick:()=>Y("https://postxkit.wpxpo.com/"+e.live,e.ID,e.pro),className:"ultp-btns ultp-btn-import"},!(_&&L==e.ID)&&a.ZP.arrow_down_line,__("Import","ultimate-post"),_&&L==e.ID&&(0,o.createElement)("span",{className:"dashicons dashicons-update rotate"}))):e.pro&&!A.active?(0,o.createElement)("a",{className:"ultp-btns ultpProBtn",target:"_blank",href:"https://www.wpxpo.com/postx/pricing/"+(J?`?utm_source=db-postx-builder&utm_medium=${A?.archive}-buider-library&utm_campaign=postx-dashboard`:"?utm_source=db-postx-editor&utm_medium=pattern-upgrade&utm_campaign=postx-dashboard")},__("Upgrade to Pro","ultimate-post"),"  ➤"):(0,o.createElement)("span",{onClick:()=>{J||q?Y("https://postxkit.wpxpo.com/"+e.live,e.ID,e.pro):b(e.ID,e.pro)},className:"ultp-btns ultp-btn-import"},!(_&&L==e.ID)&&a.ZP.arrow_down_line,__("Import","ultimate-post"),_&&L==e.ID&&(0,o.createElement)("span",{className:"dashicons dashicons-update rotate"}))))),(0,o.createElement)("div",{className:(S&&!J&&q?"ultp-starter-shape":"ultp-shape-hide")+" "})))))):(0,o.createElement)(o.Fragment,null,U?(0,o.createElement)("div",{className:"ultp-premade-grid ultp-templatekit-col3 skeletonOverflow"},Array(25).fill(1).map(((e,t)=>(0,o.createElement)("div",{key:t,className:"ultp-item-list"},(0,o.createElement)("div",{className:"ultp-item-list-overlay"},(0,o.createElement)(i.Z,{type:"custom_size",c_s:{size1:100,unit1:"%",size2:400,unit2:"px"}})),(0,o.createElement)("div",{className:"ultp-item-list-info"},(0,o.createElement)(i.Z,{type:"custom_size",c_s:{size1:50,unit1:"%",size2:25,unit2:"px",br:2}}),(0,o.createElement)("span",{className:"ultp-action-btn"},(0,o.createElement)("span",{className:"ultp-premade-wishlist"},(0,o.createElement)(i.Z,{type:"custom_size",c_s:{size1:30,unit1:"px",size2:25,unit2:"px",br:2}})),(0,o.createElement)(i.Z,{type:"custom_size",c_s:{size1:70,unit1:"px",size2:25,unit2:"px",br:2}}))))))):(0,o.createElement)("span",{className:"ultp-image-rotate"},__("No Data found...","ultimate-post"))))))}},8949:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);l(619);const a=e=>{const{type:t,size:l,loop:a,unit:i,c_s:n,classes:r}=e,s=()=>{let e={};switch(t){case"image":case"circle":e={width:l?l+"px":"300px",height:l?l+"px":"300px"};break;case"title":e={width:`${l||"100"}${i||"%"}`};break;case"button":e={width:l?l+"px":"90px"};break;case"custom_size":e={width:`${n.size1?n.size1:"100"}${n.unit1?n.unit1:"%"}`,height:`${n.size2?n.size2:"20"}${n.unit2?n.unit2:"px"}`,borderRadius:n.br?n.br+"px":"0px"}}return e};return(0,o.createElement)(o.Fragment,null,a?(0,o.createElement)(o.Fragment,null,Array(parseInt(a)).fill("1").map(((e,l)=>(0,o.createElement)("div",{key:l,className:`ultp_skeleton__${t} ultp_frequency loop ${r||""}`,style:s()})))):(0,o.createElement)("div",{className:`ultp_skeleton__${t} ultp_frequency ${r||""}`,style:s()}))}},356:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);l(2413);const{__}=wp.i18n,a=({delay:e,toastMessages:t,setToastMessages:l})=>{const[a,i]=(0,o.useState)(!0),[n,r]=(0,o.useState)("show");return(0,o.useEffect)((()=>{const t=setTimeout((()=>{i(!1),r(""),l({state:!1,status:""})}),e);return()=>clearTimeout(t)}),[e]),(0,o.createElement)("div",{className:"toast"},a&&t.status&&t.messages.length>0&&(0,o.createElement)("div",{className:"toastMessages"},t.messages.map(((e,a)=>(0,o.createElement)("span",{key:`toast_${Date.now().toString()}_${a}`},(0,o.createElement)("div",{className:`toaster ${n}`},(0,o.createElement)("span",null,"error"==t.status?(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 52",className:"animation"},(0,o.createElement)("circle",{cx:"26",cy:"26",r:"25",fill:"none",className:"circle cross"}),(0,o.createElement)("path",{fill:"none",d:"M 12,12 L 40,40 M 40,12 L 12,40",className:"check"})):(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 52",className:"animation"},(0,o.createElement)("circle",{className:"circle",cx:"26",cy:"26",r:"25",fill:"none"}),(0,o.createElement)("path",{className:"check",fill:"none",d:"M14.1 27.2l7.1 7.2 16.7-16.8"}))),(0,o.createElement)("span",{className:"itmCenter"},e),(0,o.createElement)("span",{className:"itmLast",onClick:()=>(e=>{let o=[...t.messages];o=o.filter(((t,l)=>l!==e)),l({...t,messages:o})})(a)},__("Close","ultimate-post"))))))))}},5364:(e,t,l)=>{"use strict";l.d(t,{Z:()=>p});var o=l(7294);const{__}=wp.i18n,{useState:a,useEffect:i,useRef:n}=wp.element,{rawHandler:r}=wp.blocks,{store:s}=wp.blockEditor,p=e=>{const{fromEditPostToolbar:t,onChange:l,value:p}=e,c=n(),[u,d]=a(""),[m,g]=a(""),[y,b]=a(""),[v,h]=a(""),[f,k]=a(""),[w,x]=a(""),[T,S]=a(e.isShow||!1),[P,C]=a(p?.text?p.start==p.end?p.text:p.text.substring(p.start,p.end):""),E=e=>{27===e.keyCode&&(document.querySelector(".ultp-builder-modal").remove(),S(!1))};i((()=>(document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E))),[]);const _=(e,t)=>{const l=e.replace("%s",P);f?h("There is an ongoing process. Kindly hold on for a moment."):(async(e,t)=>{let l="",o="";k(t);try{let t="https://api.openai.com/v1/chat/completions";const a=ultp_data.settings.chatgpt_secret_key,i=ultp_data.settings.chatgpt_model,n=ultp_data.settings.chatgpt_response_time||35,r=ultp_data.settings.chatgpt_max_tokens||200;let s="";if("gpt-3.5-turbo"==i||"gpt-4"==i?s={model:i,messages:[{role:"user",content:e}]}:"text-davinci-002"!=i&&"text-davinci-003"!=i||(t="https://api.openai.com/v1/completions",s={model:i,prompt:e,max_tokens:r}),s){const e=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${a}`},timeout:n,body:JSON.stringify(s)}),r=await e.json();r?.choices?.length>0&&(r?.choices[0]?.message?.content||r?.choices[0]?.text)?o="text-davinci-002"==i||"text-davinci-003"==i?r.choices[0].text:r.choices[0].message.content:r?.error&&(l="invalid_api_key"==r?.error.code?__("Your OpenAI API Secret Key is invalid. Please save a valid key.","ultimate-post"):"model_not_found"==r?.error?.code&&r?.error?.message?.includes("gpt-4")?__("You are not eligible to use GPT-4 model. Please contact OpenAI to get the access.","ultimate-post"):__("Due to some error, we could not get response from OpenAI server. Please try again.","ultimate-post"))}}catch(e){l=__("Due to some error, we could not get response from OpenAI server. Please try again.","ultimate-post")}h(l),l||C(o),k("")})(l,t)},L=()=>{let e=c.current.value;e?(m&&(e+=" in "+m+" style"),u&&(e+=" using "+u+" tone"),y&&(e+=" translate in "+y+" language"),_(e,"extra")):h("No prompt detected.")},I=e=>(0,o.createElement)("div",{className:"ultp-btn-item"},(0,o.createElement)("select",{value:"tone"==e.loading?u:"style"==e.loading?m:y,onChange:t=>{switch(P&&_(e.prompt.replace("%t",t.target.value),e.loading),e.loading){case"tone":d(t.target.value);break;case"style":g(t.target.value);break;case"language":b(t.target.value)}}},e.options.map(((e,t)=>(0,o.createElement)("option",{key:t,value:e.includes("-")?"":e.toLowerCase()},e)))),U(e.loading)),U=e=>f==e?(0,o.createElement)("span",{className:"chatgpt-loader"}):"";return(0,o.createElement)(o.Fragment,null,T&&(0,o.createElement)("div",{className:"ultp-builder-modal-shadow ultp-chatgpt-popup"},(0,o.createElement)("div",{className:"ultp-popup-wrap"},(0,o.createElement)("div",{className:"ultp-popup-header"},(0,o.createElement)("div",{className:"ultp-popup-filter-title"},(0,o.createElement)("div",{className:"ultp-popup-filter-image-head"},(0,o.createElement)("img",{src:ultp_data.url+"assets/img/addons/ChatGPT.svg"}),(0,o.createElement)("span",null,__("ChatGPT","ultimate-post"))),(0,o.createElement)("div",{className:"ultp-popup-filter-sync-close"},(0,o.createElement)("button",{className:"ultp-btn-close",onClick:()=>(()=>{const e=document.querySelector(".ultp-builder-modal");e.length>0&&e.remove(),S(!1)})(),id:"ultp-btn-close"},(0,o.createElement)("span",{className:"dashicons dashicons-no-alt"}))))),(0,o.createElement)("div",{className:"ultp-chatgpt-wrap "+(ultp_data.settings.chatgpt_secret_key?"":"ultp-chatgpt-nokey")},(0,o.createElement)("div",{className:"ultp-chatgpt-input-container"},(0,o.createElement)("div",{className:"ultp-chatgpt-popup-content"},!ultp_data.settings.chatgpt_secret_key&&(0,o.createElement)("div",{className:"ultp-chatgpt-api-warning"},(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"27.3",height:"24"},(0,o.createElement)("defs",null,(0,o.createElement)("clipPath",{id:"a"},(0,o.createElement)("path",{fill:"#ffa62c",d:"M0 0h27v24H0z"}))),(0,o.createElement)("g",{"clip-path":"url(#a)"},(0,o.createElement)("path",{fill:"#ffa62c",d:"M27 21 15 0a1 1 0 0 0-3 0L0 21a1 1 0 0 0 1 2h25a1 1 0 0 0 1-2m-12-2a1 1 0 1 1 0-1 1 1 0 0 1 0 1m0-5a1 1 0 1 1-3 0V8a1 1 0 0 1 3 0Z"})))," Apply ",(0,o.createElement)("a",{href:"https://platform.openai.com/account/api-keys",target:"blank"}," API key ")," to use ChatGPT"),v&&(0,o.createElement)("div",{className:"ultp-error-notice"},v),P?(0,o.createElement)("textarea",{type:"text",onChange:e=>C(e.target.value),value:P}):(0,o.createElement)("div",{className:"ultp-chatgpt-search"},(0,o.createElement)("input",{ref:c,type:"text",value:w,placeholder:"Ask Anything",onChange:e=>x(e.target.value),onKeyDown:e=>{"Enter"!==e.key||f||L()}}),(0,o.createElement)("button",{className:"button ultp-ask-chatgpt-button",onClick:e=>{f||L()}},f?U("extra"):(0,o.createElement)("i",{className:"dashicons dashicons-search"}),"  Ask ChatGPT")),(0,o.createElement)("div",{className:"ultp-btn-items"},P&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('rewrite this sentences "%s"',"rewrite")},"Rewrite ",U("rewrite")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('improve this sentences "%s"',"improve")},"Improve ",U("improve")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('make shorter this sentences "%s"',"shorter")},"Make Shorter ",U("shorter")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('make longer this sentences "%s"',"longer")},"Make Longer ",U("longer")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('summarize this sentences "%s"',"summarize")},"Summarize ",U("summarize")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('Write a introduction of this sentences "%s"',"introduction")},"Introduction ",U("introduction")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('Write a conclusion of this sentences "%s"',"conclusion")},"Conclusion ",U("conclusion")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('Convert to Passive Voice of this sentences "%s"',"passive")},"Convert to Passive Voice ",U("passive")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('Convert to Active Voice of this sentences "%s"',"active")},"Convert to Active Voice ",U("active")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('make a paraphrase of this sentences "%s"',"phrase")},"Paraphrase ",U("phrase")),(0,o.createElement)("div",{className:"ultp-btn-item",onClick:()=>_('make a outline of this sentences "%s"',"outline")},"Outline ",U("outline"))),(0,o.createElement)(I,{loading:"style",prompt:'write this sentences using %t style "%s"',options:["- Writing Style -","Descriptive","Expository","Narrative","Normal","Persuasive"]}),(0,o.createElement)(I,{loading:"tone",prompt:'write this sentences using %t tone "%s"',options:["- Writing Tone -","Assertive","Cooperative","Curious","Encouraging","Formal","Friendly","Informal","Optimistic","Surprised","Worried"]}),(0,o.createElement)(I,{loading:"language",prompt:'translate this sentences in %t language "%s"',options:["- Writing Language -","Arabic","Bengali","English","French","German","Hindi","Italian","Indonesian","Japanese","Javanese","Korean","Mandarin Chinese","Marathi","Norwegian","Polish","Portuguese","Punjabi","Russian","Spanish","Telugu","Thai","Turkish","Urdu","Vietnamese","Wu Chinese"]})),P&&(0,o.createElement)("div",{className:"ultp-center"},(0,o.createElement)("span",{onClick:()=>{S(!1),(e=>{if(t){const t=wp.blocks.createBlock("core/html",{content:e});wp.data.dispatch("core/block-editor").insertBlock(t,wp.data.select("core/block-editor").getBlockCount()),wp.data.dispatch(s).replaceBlock(t.clientId,r({HTML:t.attributes.content}))}else{const t=p.start==p.end?e:p.text.substring(0,p.start)+e+p.text.substring(p.end);l(wp.richText.create({text:t}))}})(P)},className:"ultp-btn ultp-btn-primary"},(0,o.createElement)("span",{className:"dashicons dashicons-arrow-down-alt"})," ",__("Import","ultimate-post")),(0,o.createElement)("span",{onClick:()=>C(""),className:"ultp-btn ultp-btn-transparent"},(0,o.createElement)("span",{className:"dashicons dashicons-plus"})," ",__("New Prompt","ultimate-post")))))))))}},5207:(e,t,l)=>{"use strict";var o=l(7294),a=l(7763),i=l(5364);const{BlockControls:n}=wp.blockEditor,{ToolbarButton:r}=wp.components,{render:s}=wp.element,{registerFormatType:p}=wp.richText;"true"==ultp_data.settings.ultp_chatgpt&&p("ultimate-post/chatgpt",{title:"ChatGPT",tagName:"span",className:"ultp-chatgpt",edit:e=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n,null,(0,o.createElement)(r,{icon:a.Z.chatgpt,label:"ChatGPT",className:"components-toolbar",onClick:()=>{let t=document.createElement("div");t.className="ultp-builder-modal ultp-blocks-layouts",document.body.appendChild(t),s((0,o.createElement)(i.Z,{isShow:!0,value:e.value,onChange:t=>e.onChange(t),fromEditPostToolbar:!1}),t),document.body.classList.add("ultp-popup-open")}})))})},448:(e,t,l)=>{"use strict";l.d(t,{AJ:()=>i,Jj:()=>c,MR:()=>u,RK:()=>r,_n:()=>p,hN:()=>s,je:()=>g,nl:()=>d,sR:()=>n,x2:()=>a,xP:()=>m});var o=l(2030);const{__}=wp.i18n,a=(e,t,l,o)=>{wp.apiFetch({path:"/ultp/v1/postx_presets",method:"POST",data:{type:e,key:t,data:l}}).then((a=>{a.success&&("set"==e&&c(t,l),o&&o(a))}))},i=(e,t="",l="")=>{if("typoStacks"==e)return[[{type:"sans-serif",weight:500,family:"Roboto"},{type:"sans-serif",weight:400,family:"Roboto"}],[{type:"serif",weight:600,family:"Roboto Slab"},{type:"sans-serif",weight:400,family:"Roboto"}],[{type:"sans-serif",weight:600,family:"Jost"},{type:"sans-serif",weight:400,family:"Jost"}],[{type:"display",weight:500,family:"Roboto"},{type:"sans-serif",weight:400,family:"Roboto"}],[{type:"serif",weight:700,family:"Arvo"},{type:"sans-serif",weight:400,family:"Roboto"}],[{type:"sans-serif",weight:500,family:"Roboto"},{type:"sans-serif",weight:400,family:"Roboto"}],[{type:"sans-serif",weight:700,family:"Merriweather"},{type:"sans-serif",weight:400,family:"Merriweather"}],[{type:"sans-serifs",weight:500,family:"Oswald"},{type:"sans-serif",weight:400,family:"Source Sans Pro"}],[{type:"display",weight:400,family:"Abril Fatface"},{type:"sans-serif",weight:400,family:"Poppins"}],[{type:"serif",weight:700,family:"Cardo"},{type:"sans-serif",weight:400,family:"Inter"}]];if("multipleTypos"==e)return{Body_and_Others_typo:["body_typo","paragraph_1_typo","paragraph_2_typo","paragraph_3_typo"],Heading_typo:["heading_h1_typo","heading_h2_typo","heading_h3_typo","heading_h4_typo","heading_h5_typo","heading_h6_typo"]};if("presetTypoKeys"==e)return["Heading_typo","Body_and_Others_typo"];if("colorStacks"==e)return[["#f4f4ff","#dddff8","#B4B4D6","#3323f0","#4a5fff","#1B1B47","#545472","#262657","#10102e"],["#ffffff","#f7f4ed","#D6D1B4","#fab42a","#f4cd4e","#3B3118","#6F6C53","#483d1f","#29230f"],["#ffffff","#eaf7ea","#C2DBBF","#3b9138","#54a757","#1E381A","#586E56","#23411f","#162c11"],["#fdf7ff","#eadef5","#C1B4D6","#8749d0","#995ede","#301B42","#635472","#38204e","#231133"],["#fffcfc","#fce5ec","#D6B4BC","#f01f50","#ff5878","#431B23","#72545B","#4d2029","#36141b"],["#ffffff","#ecf3f8","#B4C2D6","#2890e8","#6cb0f4","#1D3347","#4B586C","#2c4358","#10202b"],["#f8f3ed","#f2e2d0","#D6C4B4","#dd8336","#f09f4d","#3D2A1D","#6E5F52","#483324","#2e1e11"],["#ffffff","#faf0f4","#D6B4CF","#d948a2","#e56ab5","#401B2E","#725468","#4e2239","#290e1d"],["#f2f7ea","#e1e6c4","#D2DBBF","#829d46","#a1c36b","#30371A","#5F6551","#38401f","#242e10"],["#ffffff","#e9f7f3","#B5D1C7","#3cbe8b","#59d5a5","#1C3D3F","#46675E","#20484b","#153234"]];if("presetColorKeys"==e)return["Base_1_color","Base_2_color","Base_3_color","Primary_color","Secondary_color","Tertiary_color","Contrast_3_color","Contrast_2_color","Contrast_1_color"];if("presetGradientKeys"==e)return["Cold_Evening_gradient","Purple_Division_gradient","Over_Sun_gradient","Morning_Salad_gradient","Fabled_Sunset_gradient"];if("styleCss"==e){let e=":root { ";return Object.keys(t).forEach(((o,a)=>{if(!["rootCSS","globalColorCSS"].includes(o)){const a=o,i=t[o]?.hasOwnProperty("openColor")?"color"==t[o].type?t[o].color:t[o].gradient:t[o]||l||"";e+=`--postx_preset_${a}: ${i}; `}})),e+=" }",e}if("typoCSS"==e){const e=i("multipleTypos");let l="",a=":root { ";const n=["Arial","Tahoma","Verdana","Helvetica","Times New Roman","Trebuchet MS","Georgia"];return Object.keys(t).forEach(((i,r)=>{const s=t[i],p=!![...e.Body_and_Others_typo,...e.Heading_typo].includes(i);!["rootCSS","presetTypoCSS"].includes(i)&&"object"==typeof s&&Object.keys(s).length&&(!n.includes(s.family)&&s.family&&!s.family.includes("--postx_preset")&&!l.includes(s.family.replace(" ","+")+":")&&(l+="@import url('https://fonts.googleapis.com/css?family="+s.family.replace(" ","+")+":"+(o.Z?.filter((e=>e.n==s.family))[0]?.v||[]).join(",")+"'); "),p||(a+=s.family?`--postx_preset_${i}_font_family: ${s.family}; `:"",a+=s.family?`--postx_preset_${i}_font_family_type: ${s.type||"sans-serif"}; `:"",a+=s.weight?`--postx_preset_${i}_font_weight: ${s.weight}; `:"",a+=s.style?`--postx_preset_${i}_font_style: ${s.style}; `:"",a+=s.decoration?`--postx_preset_${i}_text_decoration: ${s.decoration}; `:"",a+=s.transform?`--postx_preset_${i}_text_transform: ${s.transform}; `:"",a+=s.spacing?.lg?`--postx_preset_${i}_letter_spacing_lg: ${s.spacing.lg}${s.spacing.ulg||"px"}; `:"",a+=s.spacing?.sm?`--postx_preset_${i}_letter_spacing_sm: ${s.spacing.sm}${s.spacing.usm||"px"}; `:"",a+=s.spacing?.xs?`--postx_preset_${i}_letter_spacing_xs: ${s.spacing.xs}${s.spacing.uxs||"px"}; `:""),a+=s.size?.lg?`--postx_preset_${i}_font_size_lg: ${s.size.lg}${s.size.ulg||"px"}; `:"",a+=s.size?.sm?`--postx_preset_${i}_font_size_sm: ${s.size.sm}${s.size.usm||"px"}; `:"",a+=s.size?.xs?`--postx_preset_${i}_font_size_xs: ${s.size.xs}${s.size.uxs||"px"}; `:"",a+=s.height?.lg?`--postx_preset_${i}_line_height_lg: ${s.height.lg}${s.height.ulg||"px"}; `:"",a+=s.height?.sm?`--postx_preset_${i}_line_height_sm: ${s.height.sm}${s.height.usm||"px"}; `:"",a+=s.height?.xs?`--postx_preset_${i}_line_height_xs: ${s.height.xs}${s.height.uxs||"px"}; `:"")})),a+="}",l+a}if("font_load"==e){let e="";const o=["Arial","Tahoma","Verdana","Helvetica","Times New Roman","Trebuchet MS","Georgia"],a=l?ultp_dashboard_pannel:ultp_data,i=!((!a.settings?.hasOwnProperty("disable_google_font")||"yes"==a.settings.disable_google_font)&&a.settings?.hasOwnProperty("disable_google_font"));if("object"==typeof t&&Object.keys(t).length){const l=!o.includes(t.family);i&&l&&t.family&&(e+="@import url('https://fonts.googleapis.com/css?family="+t.family.replace(" ","+")+":"+t.weight+"'); ")}return e}if("font_load_all"==e){const e=["Roboto","Roboto Slab","Jost","Arvo","Merriweather","Oswald","Abril Fatface","Cardo","Source Sans Pro","Poppins","Inter"],t=["400,500","600","400,600","700","400,700","500","400","700","400","400","400"];let o="";const a=["Arial","Tahoma","Verdana","Helvetica","Times New Roman","Trebuchet MS","Georgia"],i=l?ultp_dashboard_pannel:ultp_data,n=!((!i.settings?.hasOwnProperty("disable_google_font")||"yes"==i.settings.disable_google_font)&&i.settings?.hasOwnProperty("disable_google_font"));return e.forEach(((e,l)=>{const i=!a.includes(e);n&&i&&e&&(o+="@import url('https://fonts.googleapis.com/css?family="+e.replace(" ","+")+":"+t[l]+"'); ")})),o}if("bgCSS"==e){let e={};const l="object"==typeof t?{...t}:{};if("color"==l.type)e.backgroundColor=l.color;else if("gradient"==l.type&&l.gradient){let t=l.gradient;"object"==typeof l.gradient&&(t="linear"==l.gradient.type?"linear-gradient("+l.gradient.direction+"deg, "+l.gradient.color1+" "+l.gradient.start+"%,"+l.gradient.color2+" "+l.gradient.stop+"%);":"radial-gradient( circle at "+l.gradient.radial+" , "+l.gradient.color1+" "+l.gradient.start+"%,"+l.gradient.color2+" "+l.gradient.stop+"%);"),e.backgroundImage=t}else if("image"==l.type){var a;(l.fallbackColor||l.color)&&(e.backgroundColor=null!==(a=l.fallbackColor)&&void 0!==a?a:l.color),l.image&&(e.backgroundImage='url("'+l.image+'")',l.position&&(e.backgroundPositionX=100*l.position.x+"%",e.backgroundPositionY=100*l.position.y+"%"),l.attachment&&(e.backgroundAttachments=l.attachment),l.repeat&&(e.backgroundRepeat=l.repeat),l.size&&(e.backgroundSize=l.size))}else"video"==l.type&&l.fallback&&(e.backgroundImage='url("'+l.fallback+'")',e.backgroundSize="cover",e.backgroundPosition="50% 50%");return e}if("globalCSS"==e){let e=`:root {\n            --preset-color1: ${t.presetColor1||"#037fff"}\n            --preset-color2: ${t.presetColor2||"#026fe0"}\n            --preset-color3: ${t.presetColor3||"#071323"}\n            --preset-color4: ${t.presetColor4||"#132133"}\n            --preset-color5: ${t.presetColor5||"#34495e"}\n            --preset-color6: ${t.presetColor6||"#787676"}\n            --preset-color7: ${t.presetColor7||"#f0f2f3"}\n            --preset-color8: ${t.presetColor8||"#f8f9fa"}\n            --preset-color9: ${t.presetColor9||"#ffffff"}\n        }`;return t.enablePresetColorCSS&&(e+="\n            html body.postx-admin-page .editor-styles-wrapper,\n            html body.postx-admin-page .editor-styles-wrapper p,\n            html body.postx-page,\n            html body.postx-page p,\n            html.colibri-wp-theme body.postx-page, html.colibri-wp-theme body.postx-page p,\n            body.block-editor-iframe__body, body.block-editor-iframe__body p\n            { \n                color: var(--postx_preset_Contrast_2_color); \n            }\n            html body.postx-admin-page .editor-styles-wrapper h1, html body.postx-page h1,\n            html body.postx-admin-page .editor-styles-wrapper h2, html body.postx-page h2,\n            html body.postx-admin-page .editor-styles-wrapper h3, html body.postx-page h3,\n            html body.postx-admin-page .editor-styles-wrapper h4, html body.postx-page h4,\n            html body.postx-admin-page .editor-styles-wrapper h5, html body.postx-page h5,\n            html body.postx-admin-page .editor-styles-wrapper h6, html body.postx-page h6\n            {\n                color: var(--postx_preset_Contrast_1_color);\n            }\n            html.colibri-wp-theme body.postx-page h1,\n            html.colibri-wp-theme body.postx-page h2,\n            html.colibri-wp-theme body.postx-page h3,\n            html.colibri-wp-theme body.postx-page h4,\n            html.colibri-wp-theme body.postx-page h5,\n            html.colibri-wp-theme body.postx-page h6 \n            {\n                color: var(--postx_preset_Contrast_1_color);\n            }\n\n            body.block-editor-iframe__body h1,\n            body.block-editor-iframe__body h2,\n            body.block-editor-iframe__body h3,\n            body.block-editor-iframe__body h4,\n            body.block-editor-iframe__body h5,\n            body.block-editor-iframe__body h6\n            { \n                color: var(--postx_preset_Contrast_1_color);\n            }\n            ",t.gbbodyBackground.openColor&&(e+=`\n                    html body.postx-admin-page .editor-styles-wrapper, html body.postx-page,\n                    html body.postx-admin-page.block-editor-page.post-content-style-boxed .editor-styles-wrapper::before,\n                    html.colibri-wp-theme body.postx-page,\n                    body.block-editor-iframe__body\n                    { ${(e=>{let t=e.clip?"-webkit-background-clip: text; -webkit-text-fill-color: transparent;":"";if("color"==e.type)t+=e.color?"background-color: "+e.color+";":"";else if("gradient"==e.type&&e.gradient)"object"==typeof e.gradient?"linear"==e.gradient.type?t+="background-image : linear-gradient("+e.gradient.direction+"deg, "+e.gradient.color1+" "+e.gradient.start+"%,"+e.gradient.color2+" "+e.gradient.stop+"%);":t+="background-image : radial-gradient( circle at "+e.gradient.radial+" , "+e.gradient.color1+" "+e.gradient.start+"%,"+e.gradient.color2+" "+e.gradient.stop+"%);":t+="background-image:"+e.gradient+";";else if("image"==e.type){var l;(e.fallbackColor||e.color)&&(t+="background-color:"+(null!==(l=e.fallbackColor)&&void 0!==l?l:e.color)+";"),e.image&&(t+='background-image: url("'+e.image+'");'+(e.position?"background-position-x:"+100*e.position.x+"%;background-position-y:"+100*e.position.y+"%;":"")+(e.attachment?"background-attachment:"+e.attachment+";":"")+(e.repeat?"background-repeat:"+e.repeat+";":"")+(e.size?"background-size:"+e.size+";":""))}return t})(t.gbbodyBackground)} }\n                `)),t.enablePresetTypoCSS&&(e+=`\n            html body.postx-admin-page .editor-styles-wrapper h1, html body.postx-page h1,\n            html body.postx-admin-page .editor-styles-wrapper h2, html body.postx-page h2,\n            html body.postx-admin-page .editor-styles-wrapper h3, html body.postx-page h3,\n            html body.postx-admin-page .editor-styles-wrapper h4, html body.postx-page h4,\n            html body.postx-admin-page .editor-styles-wrapper h5, html body.postx-page h5,\n            html body.postx-admin-page .editor-styles-wrapper h6, html body.postx-page h6\n            { \n                font-family: var(--postx_preset_Heading_typo_font_family),var(--postx_preset_Heading_typo_font_family_type); \n                font-weight: var(--postx_preset_Heading_typo_font_weight);\n                font-style: var(--postx_preset_Heading_typo_font_style);\n                text-transform: var(--postx_preset_Heading_typo_text_transform);\n                text-decoration: var(--postx_preset_Heading_typo_text_decoration);\n                letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_lg, normal);\n            }\n            html.colibri-wp-theme body.postx-page h1,\n            html.colibri-wp-theme body.postx-page h2,\n            html.colibri-wp-theme body.postx-page h3,\n            html.colibri-wp-theme body.postx-page h4,\n            html.colibri-wp-theme body.postx-page h5,\n            html.colibri-wp-theme body.postx-page h6\n            { \n                font-family: var(--postx_preset_Heading_typo_font_family),var(--postx_preset_Heading_typo_font_family_type); \n                font-weight: var(--postx_preset_Heading_typo_font_weight);\n                font-style: var(--postx_preset_Heading_typo_font_style);\n                text-transform: var(--postx_preset_Heading_typo_text_transform);\n                text-decoration: var(--postx_preset_Heading_typo_text_decoration);\n                letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_lg, normal);\n            }\n            body.block-editor-iframe__body h1,\n            body.block-editor-iframe__body h2,\n            body.block-editor-iframe__body h3,\n            body.block-editor-iframe__body h4,\n            body.block-editor-iframe__body h5,\n            body.block-editor-iframe__body h6\n            { \n                font-family: var(--postx_preset_Heading_typo_font_family),var(--postx_preset_Heading_typo_font_family_type); \n                font-weight: var(--postx_preset_Heading_typo_font_weight);\n                font-style: var(--postx_preset_Heading_typo_font_style);\n                text-transform: var(--postx_preset_Heading_typo_text_transform);\n                text-decoration: var(--postx_preset_Heading_typo_text_decoration);\n                letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_lg, normal);\n            }\n            html body.postx-admin-page .editor-styles-wrapper h1, html body.postx-page h1,\n            html.colibri-wp-theme body.postx-page h1,\n            body.block-editor-iframe__body h1\n            { \n                font-size: var(--postx_preset_heading_h1_typo_font_size_lg, initial);\n                line-height: var(--postx_preset_heading_h1_typo_line_height_lg, normal) !important;\n            }\n            html body.postx-admin-page .editor-styles-wrapper h2, html body.postx-page h2,\n            html.colibri-wp-theme body.postx-page h2,\n            body.block-editor-iframe__body h2\n            { \n                font-size: var(--postx_preset_heading_h2_typo_font_size_lg, initial);\n                line-height: var(--postx_preset_heading_h2_typo_line_height_lg, normal) !important;\n            }\n            html body.postx-admin-page .editor-styles-wrapper h3, html body.postx-page h3,\n            html.colibri-wp-theme body.postx-page h3,\n            body.block-editor-iframe__body h3\n            { \n                font-size: var(--postx_preset_heading_h3_typo_font_size_lg, initial);\n                line-height: var(--postx_preset_heading_h3_typo_line_height_lg, normal) !important;\n            }\n            html body.postx-admin-page .editor-styles-wrapper h4, html body.postx-page h4,\n            html.colibri-wp-theme body.postx-page h4,\n            body.block-editor-iframe__body h4\n            { \n                font-size: var(--postx_preset_heading_h4_typo_font_size_lg, initial);\n                line-height: var(--postx_preset_heading_h4_typo_line_height_lg, normal) !important;\n            }\n            html body.postx-admin-page .editor-styles-wrapper h5, html body.postx-page h5,\n            html.colibri-wp-theme body.postx-page h5,\n            body.block-editor-iframe__body h5\n            { \n                font-size: var(--postx_preset_heading_h5_typo_font_size_lg, initial);\n                line-height: var(--postx_preset_heading_h5_typo_line_height_lg, normal) !important;\n            }\n            html body.postx-admin-page .editor-styles-wrapper h6, html body.postx-page h6,\n            html.colibri-wp-theme body.postx-page h6,\n            body.block-editor-iframe__body h6\n            { \n                font-size: var(--postx_preset_heading_h6_typo_font_size_lg, initial);\n                line-height: var(--postx_preset_heading_h6_typo_line_height_lg, normal) !important;\n            }\n\n            @media (max-width: ${t.breakpointSm||991}px) {\n                html body.postx-admin-page .editor-styles-wrapper h1 , html body.postx-page h1,\n                html body.postx-admin-page .editor-styles-wrapper h2 , html body.postx-page h2,\n                html body.postx-admin-page .editor-styles-wrapper h3 , html body.postx-page h3,\n                html body.postx-admin-page .editor-styles-wrapper h4 , html body.postx-page h4,\n                html body.postx-admin-page .editor-styles-wrapper h5 , html body.postx-page h5,\n                html body.postx-admin-page .editor-styles-wrapper h6 , html body.postx-page h6\n                {\n                    letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_sm, normal);\n                }\n                html.colibri-wp-theme body.postx-page h1,\n                html.colibri-wp-theme body.postx-page h2,\n                html.colibri-wp-theme body.postx-page h3,\n                html.colibri-wp-theme body.postx-page h4,\n                html.colibri-wp-theme body.postx-page h5,\n                html.colibri-wp-theme body.postx-page h6\n                {\n                    letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_sm, normal);\n                }\n                body.block-editor-iframe__body h1,\n                body.block-editor-iframe__body h2,\n                body.block-editor-iframe__body h3,\n                body.block-editor-iframe__body h4,\n                body.block-editor-iframe__body h5,\n                body.block-editor-iframe__body h6\n                {\n                    letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_sm, normal);\n                }\n\n                html body.postx-admin-page .editor-styles-wrapper h1, html body.postx-page h1,\n                html.colibri-wp-theme body.postx-page h1,\n                body.block-editor-iframe__body h1\n                {\n                    font-size: var(--postx_preset_heading_h1_typo_font_size_sm, initial);\n                    line-height: var(--postx_preset_heading_h1_typo_line_height_sm, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h2, html body.postx-page h2,\n                html.colibri-wp-theme body.postx-page h2,\n                body.block-editor-iframe__body h2\n                {\n                    font-size: var(--postx_preset_heading_h2_typo_font_size_sm, initial);\n                    line-height: var(--postx_preset_heading_h2_typo_line_height_sm, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h3, html body.postx-page h3,\n                html.colibri-wp-theme body.postx-page h3,\n                body.block-editor-iframe__body h3\n                {\n                    font-size: var(--postx_preset_heading_h3_typo_font_size_sm, initial);\n                    line-height: var(--postx_preset_heading_h3_typo_line_height_sm, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h4, html body.postx-page h4,\n                html.colibri-wp-theme body.postx-page h4,\n                body.block-editor-iframe__body h4\n                {\n                    font-size: var(--postx_preset_heading_h4_typo_font_size_sm, initial);\n                    line-height: var(--postx_preset_heading_h4_typo_line_height_sm, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h5, html body.postx-page h5,\n                html.colibri-wp-theme body.postx-page h5,\n                body.block-editor-iframe__body h5\n                {\n                    font-size: var(--postx_preset_heading_h5_typo_font_size_sm, initial);\n                    line-height: var(--postx_preset_heading_h5_typo_line_height_sm, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h6, html body.postx-page h6,\n                html.colibri-wp-theme body.postx-page h6,\n                body.block-editor-iframe__body h6\n                {\n                    font-size: var(--postx_preset_heading_h6_typo_font_size_sm, initial);\n                    line-height: var(--postx_preset_heading_h6_typo_line_height_sm, normal) !important;\n                }\n            }\n\n            @media (max-width: ${t.breakpointXs||767}px) {\n                html body.postx-admin-page .editor-styles-wrapper h1, html body.postx-page h1,\n                html body.postx-admin-page .editor-styles-wrapper h2, html body.postx-page h2,\n                html body.postx-admin-page .editor-styles-wrapper h3, html body.postx-page h3,\n                html body.postx-admin-page .editor-styles-wrapper h4, html body.postx-page h4,\n                html body.postx-admin-page .editor-styles-wrapper h5, html body.postx-page h5,\n                html body.postx-admin-page .editor-styles-wrapper h6, html body.postx-page h6\n                {\n                    letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_xs, normal);\n                }\n                html.colibri-wp-theme body.postx-page h1,\n                html.colibri-wp-theme body.postx-page h2,\n                html.colibri-wp-theme body.postx-page h3,\n                html.colibri-wp-theme body.postx-page h4,\n                html.colibri-wp-theme body.postx-page h5,\n                html.colibri-wp-theme body.postx-page h6\n                {\n                    letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_xs, normal);\n                }\n                body.block-editor-iframe__body h1,\n                body.block-editor-iframe__body h2,\n                body.block-editor-iframe__body h3,\n                body.block-editor-iframe__body h4,\n                body.block-editor-iframe__body h5,\n                body.block-editor-iframe__body h6\n                {\n                    letter-spacing: var(--postx_preset_Heading_typo_letter_spacing_xs, normal);\n                }\n                html body.postx-admin-page .editor-styles-wrapper h1, html body.postx-page h1,\n                html.colibri-wp-theme body.postx-page h1,\n                body.block-editor-iframe__body h1\n                {\n                    font-size: var(--postx_preset_heading_h1_typo_font_size_xs, initial);\n                    line-height: var(--postx_preset_heading_h1_typo_line_height_xs, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h2, html body.postx-page h2,\n                html.colibri-wp-theme body.postx-page h2,\n                body.block-editor-iframe__body h2\n                {\n                    font-size: var(--postx_preset_heading_h2_typo_font_size_xs, initial);\n                    line-height: var(--postx_preset_heading_h2_typo_line_height_xs, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h3, html body.postx-page h3,\n                html.colibri-wp-theme body.postx-page h3,\n                body.block-editor-iframe__body h3\n                {\n                    font-size: var(--postx_preset_heading_h3_typo_font_size_xs, initial);\n                    line-height: var(--postx_preset_heading_h3_typo_line_height_xs, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h4, html body.postx-page h4,\n                html.colibri-wp-theme body.postx-page h4,\n                body.block-editor-iframe__body h4\n                {\n                    font-size: var(--postx_preset_heading_h4_typo_font_size_xs, initial);\n                    line-height: var(--postx_preset_heading_h4_typo_line_height_xs, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h5, html body.postx-page h5,\n                html.colibri-wp-theme body.postx-page h5,\n                body.block-editor-iframe__body h5\n                {\n                    font-size: var(--postx_preset_heading_h5_typo_font_size_xs, initial);\n                    line-height: var(--postx_preset_heading_h5_typo_line_height_xs, normal) !important;\n                }\n                html body.postx-admin-page .editor-styles-wrapper h6, html body.postx-page h6,\n                html.colibri-wp-theme body.postx-page h6,\n                body.block-editor-iframe__body h6\n                {\n                    font-size: var(--postx_preset_heading_h6_typo_font_size_xs, initial);\n                    line-height: var(--postx_preset_heading_h6_typo_line_height_xs, normal) !important;\n                }\n            }\n            `),t.enablePresetTypoCSS&&(e+=`\n            html body.postx-admin-page .editor-styles-wrapper, html body.postx-page,\n            html body.postx-admin-page .editor-styles-wrapper p, html body.postx-page p,\n            html.colibri-wp-theme body.postx-page, html.colibri-wp-theme body.postx-page p,\n            body.block-editor-iframe__body, body.block-editor-iframe__body p\n            { \n                font-family: var(--postx_preset_Body_and_Others_typo_font_family),var(--postx_preset_Body_and_Others_typo_font_family_type); \n                font-weight: var(--postx_preset_Body_and_Others_typo_font_weight);\n                font-style: var(--postx_preset_Body_and_Others_typo_font_style);\n                text-transform: var(--postx_preset_Body_and_Others_typo_text_transform);\n                text-decoration: var(--postx_preset_Body_and_Others_typo_text_decoration);\n                letter-spacing: var(--postx_preset_Body_and_Others_typo_letter_spacing_lg, normal);\n                font-size: var(--postx_preset_body_typo_font_size_lg, initial);\n                line-height: var(--postx_preset_body_typo_line_height_lg, normal) !important;\n            }\n            @media (max-width: ${t.breakpointSm||991}px) {\n                .postx-admin-page .editor-styles-wrapper, .postx-page,\n                .postx-admin-page .editor-styles-wrapper p, .postx-page p,\n                html.colibri-wp-theme body.postx-page, html.colibri-wp-theme body.postx-page p,\n                body.block-editor-iframe__body, body.block-editor-iframe__body p\n                {\n                    letter-spacing: var(--postx_preset_Body_and_Others_typo_letter_spacing_sm, normal);\n                    font-size: var(--postx_preset_body_typo_font_size_sm, initial);\n                    line-height: var(--postx_preset_body_typo_line_height_sm, normal) !important;\n                }\n            }\n            @media (max-width: ${t.breakpointXs||767}px) {\n                .postx-admin-page .editor-styles-wrapper, .postx-page,\n                .postx-admin-page .editor-styles-wrapper p, .postx-page p,\n                html.colibri-wp-theme body.postx-page, html.colibri-wp-theme body.postx-page p,\n                body.block-editor-iframe__body, body.block-editor-iframe__body p\n                {\n                    letter-spacing: var(--postx_preset_Body_and_Others_typo_letter_spacing_xs, normal);\n                    font-size: var(--postx_preset_body_typo_font_size_xs, initial);\n                    line-height: var(--postx_preset_body_typo_line_height_xs, normal) !important;\n                }\n            }\n            `),e}},n=e=>{const t=i("multipleTypos"),l=[...t.Body_and_Others_typo,...t.Heading_typo].includes(e)?[...t.Body_and_Others_typo].includes(e)?"Body_and_Others_typo":"Heading_typo":e;return e?{openTypography:1,presetTypo:e,family:`var(--postx_preset_${l}_font_family)`,type:`var(--postx_preset_${l}_font_family_type)`,weight:`var(--postx_preset_${l}_font_weight)`,spacing:{lg:`var(--postx_preset_${l}_letter_spacing_lg, normal)`,sm:`var(--postx_preset_${l}_letter_spacing_sm, normal)`,xs:`var(--postx_preset_${l}_letter_spacing_xs, normal)`},decoration:`var(--postx_preset_${l}_text_decoration)`,style:`var(--postx_preset_${l}_font_style)`,transform:`var(--postx_preset_${l}_text_transform)`,size:{lg:`var(--postx_preset_${e}_font_size_lg, initial)`,sm:`var(--postx_preset_${e}_font_size_sm, initial)`,xs:`var(--postx_preset_${e}_font_size_xs, initial)`},height:{lg:`var(--postx_preset_${e}_line_height_lg, normal)`,sm:`var(--postx_preset_${e}_line_height_sm, normal)`,xs:`var(--postx_preset_${e}_line_height_xs, normal)`}}:{openTypography:1}},r=e=>{let t=JSON.parse(localStorage.getItem("ultpPresetTypos"));if(t)return"object"==typeof t?"options"==e?Object.keys(t).filter((e=>"presetTypoCSS"!==e)).map((e=>({value:e,label:e.replace("_typo","").replaceAll("_"," ")}))):Object.keys(t).filter((e=>"presetTypoCSS"!==e)):[];a("get","ultpPresetTypos","",(function(l){if(l.data)return t=l.data,c("ultpPresetTypos",t),"object"==typeof t?"options"==e?Object.keys(t).filter((e=>"presetTypoCSS"!==e)).map((e=>({value:e,label:e.replace("_typo","").replaceAll("_"," ")}))):Object.keys(t).filter((e=>"presetTypoCSS"!==e)):[]}))},s=(e,t)=>{let l=JSON.parse(localStorage.getItem("ultpPresetColors"));if(l)return"colorcode"==e?(t=t?t.replace("var(--postx_preset_","").replace(")",""):"",l[t]):"object"==typeof l?Object.keys(l).filter((e=>"rootCSS"!==e)).map((e=>`var(--postx_preset_${e})`)):[];a("get","ultpPresetColors","",(function(o){if(o.data)return l=o.data,c("ultpPresetColors",l),"colorcode"==e?(t=t?t.replace("var(--postx_preset_","").replace(")",""):"",l[t]):"object"==typeof l?Object.keys(l).filter((e=>"rootCSS"!==e)).map((e=>`var(--postx_preset_${e})`)):[]}))},p=(e,t)=>{let l=JSON.parse(localStorage.getItem("ultpPresetGradients"));if(l)return"colorcode"==e?(t=t?t.replace("var(--postx_preset_","").replace(")",""):"",l[t]):"object"==typeof l?Object.keys(l).filter((e=>"rootCSS"!==e)).map((e=>`var(--postx_preset_${e})`)):[];a("get","presetGradients","",(function(o){if(o.data)return l=o.data,c("ultpPresetGradients",l),"colorcode"==e?(t=t?t.replace("var(--postx_preset_","").replace(")",""):"",l[t]):"object"==typeof l?Object.keys(l).filter((e=>"rootCSS"!==e)).map((e=>`var(--postx_preset_${e})`)):[]}))},c=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))},u=e=>"string"==typeof e&&e.includes("--postx_preset")?"":e,d=(e,t)=>("color"==t&&e?e=e.replace("var(--postx_preset_","").replace("_color)","").replaceAll("_"," "):"typo"==t&&e?e=e.replace("_typo","").replaceAll("_"," "):"gradient"==t&&e&&(e=e.replace("var(--postx_preset_","").replace("_gradient)","").replaceAll("_"," ")),e),m=e=>{const t=n(e);return{fontFamily:t.family,fontSize:t.size.lg,fontWeight:t.weight}},g=e=>{const t="typo"==e?350:0,l=wp.data.select("core/edit-site")?"core/edit-site":"core/edit-post";wp.data&&wp.data.dispatch(l)&&(function(){const e=wp.data.select("core/block-editor").getSelectedBlock();localStorage.setItem("ultp_prev_sel_block",e?.clientId),localStorage.setItem("ultp_settings_save_state","true")}(),wp.data.dispatch(l).openGeneralSidebar("ultp-postx-settings/postx-settings"),document.getElementsByClassName("interface-interface-skeleton__sidebar")[0]?.scrollTo({top:t,behavior:"smooth"}))}},3049:(e,t,l)=>{"use strict";l.d(t,{$U:()=>rt,$i:()=>Ft,$m:()=>Le,$o:()=>vt,Ar:()=>Me,B0:()=>De,B3:()=>xt,BO:()=>tt,Bq:()=>ot,Bv:()=>Lt,Cz:()=>T,DU:()=>Re,De:()=>Ct,Df:()=>ge,EG:()=>Z,EK:()=>I,Eo:()=>Fe,G7:()=>pe,Gu:()=>zt,HT:()=>k,HU:()=>w,HY:()=>ht,H_:()=>pt,Hn:()=>Je,I0:()=>j,If:()=>He,J5:()=>ee,JA:()=>ie,KE:()=>Ie,Ko:()=>Mt,Ld:()=>Ut,M9:()=>$,MF:()=>jt,Mg:()=>bt,N2:()=>Ue,NJ:()=>dt,Ny:()=>qe,O2:()=>nt,Po:()=>te,Qr:()=>It,RQ:()=>Gt,Rd:()=>Nt,T:()=>kt,V2:()=>he,VH:()=>Ge,VI:()=>Kt,WD:()=>At,WJ:()=>Ot,Wf:()=>Ve,Wh:()=>Ae,X_:()=>et,YA:()=>Zt,YF:()=>ye,YG:()=>x,YZ:()=>ve,Yk:()=>$e,Yp:()=>lt,ZJ:()=>it,_y:()=>ue,aG:()=>Bt,ad:()=>A,b0:()=>Ye,cA:()=>Ne,cM:()=>Q,cr:()=>Ke,dH:()=>$t,dT:()=>Dt,df:()=>wt,do:()=>Ht,e5:()=>B,eC:()=>L,fA:()=>We,fF:()=>_t,fY:()=>Wt,fk:()=>Pt,fm:()=>st,gA:()=>f,gs:()=>b,hH:()=>oe,hd:()=>ce,i_:()=>je,ii:()=>X,iv:()=>yt,jK:()=>se,k0:()=>Vt,lA:()=>Oe,lj:()=>St,ng:()=>Ze,oY:()=>ut,oc:()=>ct,op:()=>_,ov:()=>Jt,pI:()=>Et,pj:()=>le,q7:()=>Qe,qM:()=>M,qi:()=>qt,rS:()=>Xe,rx:()=>me,sT:()=>Tt,sx:()=>Rt,tf:()=>ze,tj:()=>h,tv:()=>Be,v9:()=>at,wI:()=>ft,wK:()=>Ee,wT:()=>mt,xd:()=>fe,yB:()=>gt});var o=l(7294),a=l(3245),i=l(3448),n=l(9735),r=l(5234),s=l(7763),p=l(3100);const{__}=wp.i18n,{Fragment:c}=wp.element,{addQueryArgs:u}=wp.url,{dateI18n:d}=wp.date,{dispatch:m}=wp.data,{TabPanel:g}=wp.components,y="https://www.wpxpo.com/postx/pricing/?utm_source=db-postx-editor&utm_medium=quick-query&utm_campaign=postx-dashboard";let b=[],v=[];const h=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/toolbar/typography.svg"}),f=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/toolbar/color.svg"}),k=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/toolbar/spacing.svg"}),w=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/toolbar/setting.svg"}),x=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/toolbar/style.svg"}),T=(0,o.createElement)("img",{src:ultp_data.url+"assets/img/toolbar/meta-text.svg"});let S=0;wp.data.select("core/edit-site")&&(S=(new Date).getTime(),wp.data.select("core")?.getEntityRecords("postType","wp_template",{per_page:-1}),wp.data.select("core")?.getEntityRecords("postType","wp_template_part",{per_page:-1})),(()=>{localStorage.setItem("ultpDevice","lg");const e=u("/ultp/common_data",{wpnonce:ultp_data.security});wp.apiFetch({path:e}).then((e=>{localStorage.setItem("ultpTaxonomy",JSON.stringify(e.taxonomy)),localStorage.setItem("ultpGlobal"+ultp_data.blog,JSON.stringify(e.global));const t=JSON.parse(e.image);Object.keys(t).forEach((function(e){b.push({value:e,label:t[e]})}));const l=JSON.parse(e.posttype);Object.keys(l).forEach((function(e){v.push({value:e,label:l[e]})})),ultp_data.archive&&"archive"==ultp_data.archive&&v.unshift({value:"archiveBuilder",label:"Archive Builder",link:y}),v.unshift({value:"posts",label:"Specific Posts",link:y}),v.unshift({value:"customPosts",label:"Custom Selections",link:y})}))})();const P=(e,t,l)=>{let o=l.slice(0);return t&&(o="__all"===t?[]:o.filter((e=>!t.includes(e.key)))),e&&e.forEach((e=>{if("string"==typeof e){const t=l.find((t=>t.key===e));t&&o.push(t)}else e.data&&(o[e.position]?o[e.position].key==e.data.key&&"separator"!==e.data.type||o.splice(e.position,0,e.data):o.push(e.data))})),o},C=(e,t)=>{const{data:l,opType:o}=e;if("keep"===o){const e=[];return t.forEach((t=>{(l.includes(t.key)||"separator"===t.type)&&e.push(t)})),e}return"discard"===o?t.filter((e=>!l.includes(e.key)||"separator"===e.type)):[...t]},E={type:"select",key:"metaList",label:__("Meta","ultimate-post"),multiple:!0,options:[{value:"metaAuthor",label:__("Author","ultimate-post")},{value:"metaDate",label:__("Date","ultimate-post")},{value:"metaDateModified",label:__("Modified Date","ultimate-post")},{value:"metaComments",label:__("Comment","ultimate-post")},{value:"metaView",label:__("View Count","ultimate-post")},{value:"metaTime",label:__("Date Time","ultimate-post")},{value:"metaRead",label:__("Reading Time","ultimate-post")}]},_=[{type:"select",key:"taxonomy",pro:!0,label:__("Taxonomy","ultimate-post"),options:[]},{type:"select",key:"catStyle",label:__("Category Style","ultimate-post"),options:[{value:"classic",label:__("Classic","ultimate-post")},{value:"borderLeft",label:__("Left Border","ultimate-post")},{value:"borderRight",label:__("Right Border","ultimate-post")},{value:"borderBoth",label:__("Both Side Border","ultimate-post")}]},{type:"select",key:"catPosition",label:__("Category Position","ultimate-post"),options:[{value:"aboveTitle",label:__("Above Title","ultimate-post")},{value:"topLeft",label:__("Over Image(Top Left)","ultimate-post")},{value:"topRight",label:__("Over Image(Top Right)","ultimate-post")},{value:"bottomLeft",label:__("Over Image(Bottom Left)","ultimate-post")},{value:"bottomRight",label:__("Over Image(Bottom Right)","ultimate-post")},{value:"centerCenter",label:__("Over Image(Center)","ultimate-post")}]},{type:"range",key:"catLineWidth",min:0,max:80,step:1,responsive:!0,label:__("Line Width","ultimate-post")},{type:"range",key:"catLineSpacing",min:0,max:100,step:1,responsive:!0,label:__("Line Spacing","ultimate-post")},{type:"typography",key:"catTypo",label:__("Typography","ultimate-post")},{type:"toggle",key:"customCatColor",label:__("Specific Color","ultimate-post"),pro:!0},{type:"linkbutton",key:"seperatorLink",placeholder:__("Link","ultimate-post"),label:__("Category Specific (Pro)","ultimate-post"),text:"Choose Color"},{type:"toggle",key:"onlyCatColor",label:__("Only Category Text Color (Pro)","ultimate-post")},{type:"tab",key:"cTab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"catColor",label:__("Color","ultimate-post")},{type:"color2",key:"catBgColor",label:__("Background Color","ultimate-post")},{type:"color",key:"catLineColor",label:__("Line Color","ultimate-post")},{type:"border",key:"catBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"catHoverColor",label:__("Hover Color","ultimate-post")},{type:"color2",key:"catBgHoverColor",label:__("Hover Bg Color","ultimate-post")},{type:"color",key:"catLineHoverColor",label:__("Line Hover Color","ultimate-post")},{type:"border",key:"catHoverBorder",label:__("Hover Border","ultimate-post")}]}]},{type:"dimension",key:"catRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"catSacing",label:__("Spacing","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"catPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"range",key:"maxTaxonomy",min:0,max:150,step:1,label:__("Maximum Number of Taxonomy","ultimate-post")}],L=["taxonomy","catPosition","catStyle","maxTaxonomy"],I=["catLineWidth","catLineSpacing","catTypo","customCatColor","seperatorLink","onlyCatColor","cTab","catRadius","catSacing","catPadding"],U=[{type:"typography",key:"btnTypo",label:__("Typography","ultimate-post")},{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"btnColor",label:__("Color","ultimate-post")},{type:"color2",key:"btnBgColor",label:__("Background Color","ultimate-post")},{type:"border",key:"btnBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"btnRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"btnShadow",label:__("BoxShadow","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"btnHoverColor",label:__("Hover Color","ultimate-post")},{type:"color2",key:"btnBgHoverColor",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"btnHoverBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"btnHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"btnHoverShadow",label:__("Hover BoxShadow","ultimate-post")}]}]},{type:"dimension",key:"btnSacing",label:__("Spacing","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"btnPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],B=[{type:"text",key:"readMoreText",label:__("Read More Text","ultimate-post")},{type:"select",key:"readMoreIcon",label:__("Icon Style","ultimate-post"),options:[{value:"",label:__("None","ultimate-post"),icon:""},{value:"rightAngle",label:__("Angle","ultimate-post"),icon:"rightAngle"},{value:"rightAngle2",label:__("Arrow","ultimate-post"),icon:"rightAngle2"},{value:"rightArrowLg",label:__("Long Arrow","ultimate-post"),icon:"rightArrowLg"}]},{type:"typography",key:"readMoreTypo",label:__("Typography","ultimate-post")},{type:"range",key:"readMoreIconSize",min:0,max:80,step:1,responsive:!0,unit:!0,label:__("Icon Size","ultimate-post")},{type:"tab",key:"rmTab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"readMoreColor",label:__("Color","ultimate-post")},{type:"color2",key:"readMoreBgColor",label:__("Background Color","ultimate-post")},{type:"border",key:"readMoreBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"readMoreRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"readMoreHoverColor",label:__("Hover Color","ultimate-post")},{type:"color2",key:"readMoreBgHoverColor",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"readMoreHoverBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"readMoreHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]},{type:"dimension",key:"readMoreSacing",label:__("Spacing","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"readMorePadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],M=["readMoreText","readMoreIcon"],A=["readMoreTypo","readMoreIconSize","rmTab","readMoreSacing","readMorePadding"],H=[{type:"typography",key:"counterTypo",label:__("Typography","ultimate-post")},{type:"color",key:"counterColor",label:__("Color","ultimate-post")},{type:"color2",key:"counterBgColor",label:__("Background Color","ultimate-post")},{type:"range",key:"counterWidth",min:0,max:300,step:1,label:__("Width","ultimate-post")},{type:"range",key:"counterHeight",min:0,max:300,step:1,label:__("Height","ultimate-post")},{type:"border",key:"counterBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"counterRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}],N=[{type:"select",key:"arrowStyle",label:__("Arrow Style","ultimate-post"),options:[{value:"leftAngle#rightAngle",label:__("Style 1","ultimate-post"),icon:"leftAngle"},{value:"leftAngle2#rightAngle2",label:__("Style 2","ultimate-post"),icon:"leftAngle2"},{value:"leftArrowLg#rightArrowLg",label:__("Style 3","ultimate-post"),icon:"leftArrowLg"}]},{type:"separator",key:"separatorStyle"},{type:"range",key:"arrowSize",min:0,max:80,step:1,responsive:!0,unit:!0,label:__("Size","ultimate-post")},{type:"range",key:"arrowWidth",min:0,max:80,step:1,responsive:!0,unit:!0,label:__("Width","ultimate-post")},{type:"range",key:"arrowHeight",min:0,max:80,step:1,responsive:!0,unit:!0,label:__("Height","ultimate-post")},{type:"range",key:"arrowVartical",min:-200,max:1e3,step:1,responsive:!0,unit:!0,label:__("Vertical Position","ultimate-post")},{type:"separator",key:"separatorStyle"},{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"arrowColor",label:__("Color","ultimate-post")},{type:"color",key:"arrowBg",label:__("Background Color","ultimate-post")},{type:"border",key:"arrowBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"arrowRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"arrowShadow",label:__("BoxShadow","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"arrowHoverColor",label:__("Hover Color","ultimate-post")},{type:"color",key:"arrowHoverBg",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"arrowHoverBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"arrowHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"arrowHoverShadow",label:__("Hover BoxShadow","ultimate-post")}]}]}],j=["arrowSize","arrowWidth","arrowHeight","arrowVartical"],O=[{type:"range",key:"dotSpace",min:0,max:100,step:1,unit:!0,responsive:!0,label:__("Space","ultimate-post")},{type:"range",key:"dotVartical",min:-200,max:700,step:1,unit:!0,responsive:!0,label:__("Vertical Position","ultimate-post")},{type:"range",key:"dotHorizontal",min:-800,max:800,step:1,unit:!0,responsive:!0,label:__("Horizontal Position","ultimate-post")},{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"range",key:"dotWidth",min:0,max:100,step:1,responsive:!0,label:__("Width","ultimate-post")},{type:"range",key:"dotHeight",min:0,max:100,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")},{type:"color",key:"dotBg",label:__("Background Color","ultimate-post")},{type:"border",key:"dotBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"dotRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"dotShadow",label:__("BoxShadow","ultimate-post")}]},{name:"hover",title:__("Active","ultimate-post"),options:[{type:"range",key:"dotHoverWidth",min:0,max:100,step:1,responsive:!0,label:__("Width","ultimate-post")},{type:"range",key:"dotHoverHeight",min:0,max:100,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")},{type:"color",key:"dotHoverBg",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"dotHoverBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"dotHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"dotHoverShadow",label:__("Hover BoxShadow","ultimate-post")}]}]}],Z=["dotSpace","dotVartical","dotHorizontal"],R=[{value:"",label:__("- Select Advance Query -","ultimate-post")}],D=[{value:"related_tag",label:__("Related by Tag (Single Post)","ultimate-post"),pro:!0,link:y},{value:"related_category",label:__("Related by Category (Single Post)","ultimate-post"),pro:!0,link:y},{value:"related_cat_tag",label:__("Related by Category & Tag (Single Post)","ultimate-post"),pro:!0,link:y},{value:"related_posts",label:__("Related by Query Builder (Single Post)","ultimate-post"),pro:!0,link:y}],F=[{value:"popular_post_1_day_view",label:__("Trending Today","ultimate-post"),pro:!0,link:y},{value:"popular_post_7_days_view",label:__("This Week’s Popular Posts","ultimate-post"),pro:!0,link:y},{value:"popular_post_30_days_view",label:__("Top Posts of the Month","ultimate-post"),pro:!0,link:y},{value:"popular_post_all_times_view",label:__("All-Time Favorites","ultimate-post"),pro:!0,link:y},{value:"random_post",label:__("Random Posts","ultimate-post"),pro:!0,link:y},{value:"random_post_7_days",label:__("Random Posts (7 Days)","ultimate-post"),pro:!0,link:y},{value:"random_post_30_days",label:__("Random Posts (30 Days)","ultimate-post"),pro:!0,link:y},{value:"latest_post_published",label:__("Latest Posts - Published Date","ultimate-post"),pro:!0,link:y},{value:"latest_post_modified",label:__("Latest Posts - Last Modified Date","ultimate-post"),pro:!0,link:y},{value:"oldest_post_published",label:__("Oldest Posts - Published Date","ultimate-post"),pro:!0,link:y},{value:"oldest_post_modified",label:__("Oldest Posts - Last Modified Date","ultimate-post"),pro:!0,link:y},{value:"alphabet_asc",label:__("Alphabetical ASC","ultimate-post"),pro:!0,link:y},{value:"alphabet_desc",label:__("Alphabetical DESC","ultimate-post"),pro:!0,link:y},{value:"sticky_posts",label:__("Sticky Post","ultimate-post"),pro:!0,link:y},{value:"most_comment",label:__("Most Comments","ultimate-post"),pro:!0,link:y},{value:"most_comment_1_day",label:__("Most Comments (1 Day)","ultimate-post"),pro:!0,link:y},{value:"most_comment_7_days",label:__("Most Comments (7 Days)","ultimate-post"),pro:!0,link:y},{value:"most_comment_30_days",label:__("Most Comments (30 Days)","ultimate-post"),pro:!0,link:y}];let z=[{value:"title",label:__("Title (Alphabetical)","ultimate-post")},{value:"date",label:__("Date (Published)","ultimate-post")},{value:"modified",label:__("Date (Last Modified)","ultimate-post")},{value:"rand",label:__("Random Posts","ultimate-post")},{value:"post__in",label:__("Post In (Show Post by Post ID Order)","ultimate-post")},{value:"menu_order",label:__("Menu Order (Show Page by Page Attributes)","ultimate-post")},{value:"comment_count",label:__("Comment Count","ultimate-post")}];"archive"!=ultp_data?.archive&&z.push({value:"meta_value_num",label:__("Meta Value Number","ultimate-post")});const W=[{type:"select",key:"queryType",label:__("Sources ( Post Type )","ultimate-post"),options:v},{type:"search",key:"queryPosts",pro:!0,search:"posts",label:__("Choose Specific Posts","ultimate-post")},{type:"select",key:"queryQuick",label:__("Quick Query","ultimate-post"),options:"page"!=ultp_data.post_type?[...R,...D,...F]:[...R,...F,...D]},{type:"search",key:"queryCustomPosts",pro:!0,search:"allpost",label:__("Add Custom Sections","ultimate-post")},{type:"range",key:"queryNumPosts",min:-1,max:100,label:__("Number of Posts (per Page) ","ultimate-post"),responsive:!0},{type:"range",key:"queryOffset",min:0,max:50,step:1,label:__("Offset Post","ultimate-post")},{type:"select",key:"queryOrderBy",label:__("Order By","ultimate-post"),options:z},{type:"tag",key:"queryOrder",label:__("Order (ASC/DESC)","ultimate-post"),options:[{value:"asc",label:__("Ascending","ultimate-post")},{value:"desc",label:__("Descending","ultimate-post")}]},{type:"toggle",key:"querySticky",label:__("Ignore Sticky Posts","ultimate-post")},{type:"separator"},{type:"select",key:"queryTax",label:__("Taxonomy","ultimate-post"),options:[]},{type:"search",key:"queryTaxValue",label:__("Taxonomy Value","ultimate-post"),multiple:!0,search:"taxvalue"},{type:"search",key:"queryAuthor",search:"author",label:__("Author","ultimate-post")},{type:"select",key:"queryUnique",label:__("Unique Content Group (Frontend Only)","ultimate-post"),pro:!0,options:[{value:"",label:__("Disable","ultimate-post")},{value:"group1",label:__("Content Group 1","ultimate-post")},{value:"group2",label:__("Content Group 2","ultimate-post")},{value:"group3",label:__("Content Group 3","ultimate-post")},{value:"group4",label:__("Content Group 4","ultimate-post")},{value:"group5",label:__("Content Group 5","ultimate-post")}],help:__("Unique Content Group solves the repetition of posts on multiple blocks.[Frontend Only]","ultimate-post")},{type:"separator"},{type:"tag",key:"queryRelation",label:__("Taxonomy Relation","ultimate-post"),options:[{value:"OR",label:__("OR","ultimate-post")},{value:"AND",label:__("AND","ultimate-post")}]},{type:"text",key:"metaKey",label:__("Meta Key","ultimate-post")},{type:"search",key:"queryExclude",search:"postExclude",label:__("Exclude Post","ultimate-post")},{type:"search",key:"queryExcludeTerm",search:"taxExclude",label:__("Exclude Term","ultimate-post"),pro:!0},{type:"search",key:"queryExcludeAuthor",search:"author",label:__("Exclude Author","ultimate-post"),pro:!0}],G=[{type:"range",key:"columns",min:1,max:7,step:1,responsive:!0,label:__("Columns","ultimate-post")},{type:"range",key:"columnGridGap",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Column Gap","ultimate-post")},{type:"alignment",key:"contentAlign",responsive:!1,label:__("Alignment","ultimate-post"),disableJustify:!0},{type:"tag",key:"contentTag",label:__("Content Tag","ultimate-post"),options:[{value:"article",label:"article"},{value:"section",label:"section"},{value:"div",label:"div"}]},{type:"toggle",key:"openInTab",label:__("Links Open in New Tabs","ultimate-post")}],V=[{type:"range",key:"columns",min:1,max:7,step:1,responsive:!0,label:__("Columns","ultimate-post"),_inline:!0},{type:"range",key:"columnGridGap",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Column Gap","ultimate-post"),_inline:!0},{type:"separator",fancy:!0,label:__("Query Loop","product-blocks")},...W,{type:"separator"},{type:"alignment",key:"contentAlign",responsive:!1,label:__("Alignment","ultimate-post"),disableJustify:!0},{type:"tag",key:"contentTag",label:__("Content Tag","ultimate-post"),options:[{value:"article",label:"article"},{value:"section",label:"section"},{value:"div",label:"div"}]},{type:"toggle",key:"openInTab",label:__("Links Open in New Tabs","ultimate-post")}],q=[{type:"range",key:"columns",min:1,max:7,step:1,responsive:!0,label:__("Columns","ultimate-post")},{type:"range",key:"columnGridGap",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Column Gap","ultimate-post")},{type:"separator",key:"spaceSep"},{type:"dimension",key:"wrapOuterPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"wrapMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0}],$=[{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-alignleft"}),title:__("Left","ultimate-post"),value:"left"},{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-aligncenter"}),title:__("Center","ultimate-post"),value:"center"},{icon:(0,o.createElement)("span",{className:"dashicons dashicons-editor-alignright"}),title:__("Right","ultimate-post"),value:"right"}],K=[{type:"tag",key:"overlayContentPosition",label:__("Content Position","ultimate-post"),disabled:!0,options:[{value:"topPosition",label:__("Top","ultimate-post")},{value:"middlePosition",label:__("Middle","ultimate-post")},{value:"bottomPosition",label:__("Bottom","ultimate-post")}]},{type:"color2",key:"overlayBgColor",label:__("Content Background","ultimate-post"),pro:!0},{type:"dimension",key:"overlayWrapPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],J=[{type:"range",key:"contenWraptWidth",min:0,max:800,step:1,unit:!0,responsive:!0,label:__("Width","ultimate-post")},{type:"range",key:"contenWraptHeight",min:0,max:500,step:1,unit:!0,responsive:!0,label:__("Height","ultimate-post")},{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"contentWrapBg",label:__("Background Color","ultimate-post")},{type:"border",key:"contentWrapBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"contentWrapRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"contentWrapShadow",label:__("BoxShadow","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"contentWrapHoverBg",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"contentWrapHoverBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"contentWrapHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"contentWrapHoverShadow",label:__("Hover BoxShadow","ultimate-post")}]}]},{type:"dimension",key:"contentWrapInnerPadding",label:__("Inner Padding","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"contentWrapPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],Y=[{type:"range",key:"headerWidth",min:0,max:600,step:1,responsive:!0,unit:["px","em","rem","%"],label:__("Width","ultimate-post")},{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"headerWrapBg",label:__("Background Color","ultimate-post")},{type:"border",key:"headerWrapBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"headerWrapRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"headerWrapHoverBg",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"headerWrapHoverBorder",label:__("Hover Border","ultimate-post")},{type:"dimension",key:"headerWrapHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]},{type:"range",key:"headerSpaceX",min:-100,max:100,step:1,responsive:!0,unit:["px","em","rem","%"],label:__("Space X","ultimate-post")},{type:"range",key:"headerSpaceY",min:0,max:150,step:1,responsive:!0,label:__("Space Y","ultimate-post")},{type:"dimension",key:"headerWrapPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],X=[{type:"alignment",key:"headingAlign",label:__("Alignment","ultimate-post"),disableJustify:!0},{type:"select",key:"headingStyle",label:__("Heading Style","ultimate-post"),image:!0,options:[{value:"style1",label:__("Style 1","ultimate-post"),img:"assets/img/layouts/heading/hstyle1.png"},{value:"style2",label:__("Style 2","ultimate-post"),img:"assets/img/layouts/heading/hstyle2.png"},{value:"style3",label:__("Style 3","ultimate-post"),img:"assets/img/layouts/heading/hstyle3.png"},{value:"style4",label:__("Style 4","ultimate-post"),img:"assets/img/layouts/heading/hstyle4.png"},{value:"style5",label:__("Style 5","ultimate-post"),img:"assets/img/layouts/heading/hstyle5.png"},{value:"style6",label:__("Style 6","ultimate-post"),img:"assets/img/layouts/heading/hstyle6.png"},{value:"style7",label:__("Style 7","ultimate-post"),img:"assets/img/layouts/heading/hstyle7.png"},{value:"style8",label:__("Style 8","ultimate-post"),img:"assets/img/layouts/heading/hstyle8.png"},{value:"style9",label:__("Style 9","ultimate-post"),img:"assets/img/layouts/heading/hstyle9.png"},{value:"style10",label:__("Style 10","ultimate-post"),img:"assets/img/layouts/heading/hstyle10.png"},{value:"style11",label:__("Style 11","ultimate-post"),img:"assets/img/layouts/heading/hstyle11.png"},{value:"style12",label:__("Style 12","ultimate-post"),img:"assets/img/layouts/heading/hstyle12.png"},{value:"style13",label:__("Style 13","ultimate-post"),img:"assets/img/layouts/heading/hstyle13.png"},{value:"style14",label:__("Style 14","ultimate-post"),img:"assets/img/layouts/heading/hstyle14.png"},{value:"style15",label:__("Style 15","ultimate-post"),img:"assets/img/layouts/heading/hstyle15.png"},{value:"style16",label:__("Style 16","ultimate-post"),img:"assets/img/layouts/heading/hstyle16.png"},{value:"style17",label:__("Style 17","ultimate-post"),img:"assets/img/layouts/heading/hstyle17.png"},{value:"style18",label:__("Style 18","ultimate-post"),img:"assets/img/layouts/heading/hstyle18.png"},{value:"style19",label:__("Style 19","ultimate-post"),img:"assets/img/layouts/heading/hstyle19.png"},{value:"style20",label:__("Style 20","ultimate-post"),img:"assets/img/layouts/heading/hstyle20.png"},{value:"style21",label:__("Style 21","ultimate-post"),img:"assets/img/layouts/heading/hstyle21.png"}]},{type:"tag",key:"headingTag",label:__("Heading Tag","ultimate-post"),options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"},{value:"span",label:"span"},{value:"p",label:"p"}]},{type:"text",key:"headingBtnText",label:__("Button Text","ultimate-post")},{type:"text",key:"headingURL",label:__("Heading URL","ultimate-post"),disableIf:()=>(0,n.o6)()},{type:"typography",key:"headingTypo",label:__("Heading Typography","ultimate-post")},{type:"color",key:"headingColor",label:__("Heading Color","ultimate-post")},{type:"color",key:"headingBg",label:__("Heading Background","ultimate-post")},{type:"color",key:"headingBg2",label:__("Heading Background 2","ultimate-post")},{type:"color",key:"headingBorderBottomColor",label:__("Heading Border Color","ultimate-post"),clip:!0},{type:"color",key:"headingBorderBottomColor2",label:__("Heading Border Color 2","ultimate-post"),clip:!0},{type:"range",key:"headingBorder",label:__("Heading Border Size","ultimate-post"),min:1,max:20,step:1},{type:"typography",key:"headingBtnTypo",label:__("Heading Button Typography","ultimate-post")},{type:"color",key:"headingBtnColor",label:__("Heading Button Color","ultimate-post")},{type:"color",key:"headingBtnHoverColor",label:__("Heading Button Hover Color","ultimate-post")},{type:"range",key:"headingSpacing",label:__("Heading Spacing","ultimate-post"),min:1,max:150,step:1,unit:!0,responsive:!0},{type:"dimension",key:"headingRadius",label:__("Heading Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"headingPadding",label:__("Heading Padding","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"toggle",key:"subHeadingShow",label:__("Sub Heading","ultimate-post")},{type:"typography",key:"subHeadingTypo",label:__("Sub Heading Typography","ultimate-post")},{type:"color",key:"subHeadingColor",label:__("Sub Heading Color","ultimate-post")},{type:"dimension",key:"subHeadingSpacing",label:__("Sub Heading Spacing","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"toggle",key:"enableWidth",label:__("Sub Heading Custom Width","ultimate-post")},{type:"range",key:"customWidth",label:__("Sub Heading Max Width","ultimate-post"),min:1,max:1e3,step:1,unit:!0,responsive:!0}],Q=["headingText","headingAlign","headingTag","headingStyle","headingBtnText","headingURL","subHeadingShow","subHeadingText"],ee=["headingTypo","headingColor","headingBg","headingBg2","headingBorderBottomColor","headingBorderBottomColor2","headingBorder","headingBtnColor","headingBtnHoverColor","headingSpacing","headingPadding","headingRadius","subHeadingTypo","subHeadingColor","subHeadingSpacing","enableWidth","customWidth"],te=[{type:"select",key:"imgCrop",label:__("Large Image Size","ultimate-post"),options:b},{type:"select",key:"imgCropSmall",label:__("Small Image Size","ultimate-post"),options:b},{type:"select",key:"imgAnimation",label:__("Hover Animation","ultimate-post"),options:[{value:"none",label:__("No Animation","ultimate-post")},{value:"zoomIn",label:__("Zoom In","ultimate-post")},{value:"zoomOut",label:__("Zoom Out","ultimate-post")},{value:"opacity",label:__("Opacity","ultimate-post")},{value:"roateLeft",label:__("Rotate Left","ultimate-post")},{value:"rotateRight",label:__("Rotate Right","ultimate-post")},{value:"slideLeft",label:__("Slide Left","ultimate-post")},{value:"slideRight",label:__("Slide Right","ultimate-post")}]},{type:"range",key:"imgWidth",min:0,max:2e3,step:1,responsive:!0,unit:["px","em","rem","%"],label:__("Width","ultimate-post")},{type:"range",key:"imgHeight",min:0,max:2e3,step:1,responsive:!0,unit:["px","em","rem","%"],label:__("Height","ultimate-post")},{type:"tag",key:"imageScale",label:__("Image scale","ultimate-post"),options:[{value:"",label:__("None","ultimate-post")},{value:"cover",label:__("Cover","ultimate-post")},{value:"contain",label:__("Contain","ultimate-post")},{value:"fill",label:__("Fill","ultimate-post")}]},{type:"tab",key:"imgTab",content:[{name:"Normal",title:__("Normal","ultimate-post"),options:[{type:"range",key:"imgGrayScale",label:__("Gray Scale","ultimate-post"),min:0,max:100,step:1,unit:["%"],responsive:!0},{type:"dimension",key:"imgRadius",label:__("Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"imgShadow",label:__("BoxShadow","ultimate-post")}]},{name:"tab2",title:__("Hover","ultimate-post"),options:[{type:"range",key:"imgHoverGrayScale",label:__("Hover Gray Scale","ultimate-post"),min:0,max:100,step:1,unit:["%"],responsive:!0},{type:"dimension",key:"imgHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"boxshadow",key:"imgHoverShadow",label:__("Hover BoxShadow","ultimate-post")}]}]},{type:"dimension",key:"imgMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"toggle",key:"imgOverlay",label:__("Overlay","ultimate-post")},{type:"select",key:"imgOverlayType",label:__("Overlay Type","ultimate-post"),options:[{value:"default",label:__("Default","ultimate-post")},{value:"simgleGradient",label:__("Simple Gradient","ultimate-post")},{value:"multiColour",label:__("Multi Color","ultimate-post")},{value:"flat",label:__("Flat","ultimate-post")},{value:"custom",label:__("Custom","ultimate-post")}]},{type:"color2",key:"overlayColor",label:__("Custom Color","ultimate-post")},{type:"range",key:"imgOpacity",min:0,max:1,step:.05,label:__("Overlay Opacity","ultimate-post")},{type:"toggle",key:"imgSrcset",label:__("Enable Srcset","ultimate-post"),pro:!0},{type:"toggle",key:"imgLazy",label:__("Enable Lazy Loading","ultimate-post"),pro:!0}],le=["imgCrop","imgCropSmall","imgAnimation","imgOverlay","imgOverlayType","overlayColor","imgOpacity","imgSrcset","imgLazy"],oe=["imgWidth","imgHeight","imageScale","imgTab","imgMargin"],ae=[{type:"toggle",key:"popupAutoPlay",label:__("Enable Popup Auto Play","ultimate-post")},{type:"select",key:"vidIconPosition",options:[{label:"Center",value:"center"},{label:"Bottom Right",value:"bottomRight"},{label:"Bottom Left",value:"bottomLeft"},{label:"Top Right",value:"topRight"},{label:"Top Left",value:"topLeft"},{label:"Right Middle",value:"rightMiddle"},{label:"Left Middle",value:"leftMiddle"}],label:__("Video Icon Position","ultimate-post")},{type:"color",key:"popupIconColor",label:__("Icon Color","ultimate-post")},{type:"color",key:"popupHovColor",label:__("Icon Hover Color","ultimate-post")},{type:"range",key:"iconSize",label:__("Icon Size","ultimate-post"),min:0,max:500,step:1,unit:!0,responsive:!0},{type:"toggle",key:"enablePopup",pro:!0,label:__("Enable Video Popup","ultimate-post")},{type:"range",key:"popupWidth",label:__("Popup Video Width","ultimate-post"),min:0,max:100,step:1,unit:!1,responsive:!0},{type:"toggle",key:"enablePopupTitle",label:__("Popup Title Enable","ultimate-post")},{type:"color",key:"popupTitleColor",label:__("Title Color","ultimate-post")},{type:"color",key:"closeIconColor",label:__("Close Icon Color","ultimate-post")},{type:"color",key:"closeHovColor",label:__("Close Hover Color","ultimate-post")},{type:"range",key:"closeSize",label:__("Close Icon Size","ultimate-post"),min:0,max:200,step:1,unit:!0,responsive:!0}],ie=["popupIconColor","popupHovColor","popupTitleColor","closeIconColor","closeHovColor"],ne=[{type:"tag",key:"titleTag",label:__("Title Tag","ultimate-post"),options:[{value:"h1",label:__("H1","ultimate-post")},{value:"h2",label:__("H2","ultimate-post")},{value:"h3",label:__("H3","ultimate-post")},{value:"h4",label:__("H4","ultimate-post")},{value:"h5",label:__("H5","ultimate-post")},{value:"h6",label:__("H6","ultimate-post")},{value:"span",label:__("span","ultimate-post")},{value:"div",label:__("div","ultimate-post")}]},{type:"toggle",key:"titlePosition",label:__("Meta Under Title","ultimate-post")},{type:"range",key:"titleLength",min:0,max:30,step:1,label:__("Max Length","ultimate-post")},{type:"select",key:"titleStyle",label:__("Title Hover Effects","ultimate-post"),options:[{value:"none",label:__("None","ultimate-post")},{value:"style1",label:__("On Hover Underline","ultimate-post"),pro:!0},{value:"style2",label:__("On Hover Wave","ultimate-post"),pro:!0},{value:"style3",label:__("Wave","ultimate-post"),pro:!0},{value:"style4",label:__("underline","ultimate-post"),pro:!0},{value:"style5",label:__("underline and wave","ultimate-post"),pro:!0},{value:"style6",label:__("Underline Background","ultimate-post"),pro:!0},{value:"style7",label:__("Underline Right To Left","ultimate-post"),pro:!0},{value:"style8",label:__("Underline center","ultimate-post"),pro:!0},{value:"style9",label:__("Underline Background 2","ultimate-post"),pro:!0},{value:"style10",label:__("Underline Hover Spacing","ultimate-post"),pro:!0},{value:"style11",label:__("Hover word spacing","ultimate-post"),pro:!0}]},{type:"typography",key:"titleTypo",label:__("Typography","ultimate-post")},{type:"color",key:"titleBackground",label:__("Title BG Color","ultimate-post")},{type:"color",key:"titleColor",label:__("Color","ultimate-post")},{type:"color",key:"titleHoverColor",label:__("Hover Color","ultimate-post")},{type:"color",key:"titleAnimColor",label:__("Animation Color","ultimate-post")},{type:"dimension",key:"titlePadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],re=(__("Title Tag","ultimate-post"),__("H1","ultimate-post"),__("H2","ultimate-post"),__("H3","ultimate-post"),__("H4","ultimate-post"),__("H5","ultimate-post"),__("H6","ultimate-post"),__("span","ultimate-post"),__("div","ultimate-post"),__("Color","ultimate-post"),__("Hover Color","ultimate-post"),__("Typography","ultimate-post"),__("Padding","ultimate-post"),[{type:"text",key:"prefixText",label:__("Prefix Text","ultimate-post")},{type:"color",key:"prefixColor",label:__("Color","ultimate-post")},{type:"typography",key:"prefixTypo",label:__("Typography","ultimate-post")},{type:"dimension",key:"prefixPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}]),se=[{type:"tag",key:"metaPosition",label:__("Meta Position","ultimate-post"),options:[{value:"top",label:__("Top","ultimate-post")},{value:"bottom",label:__("Bottom","ultimate-post")}]},{type:"select",key:"metaStyle",label:__("Author Style","ultimate-post"),options:[{value:"noIcon",label:__("No Icon","ultimate-post")},{value:"icon",label:__("With Icon","ultimate-post")},{value:"style2",label:__("Style2","ultimate-post")},{value:"style3",label:__("Style3","ultimate-post")},{value:"style4",label:__("Style4","ultimate-post")},{value:"style5",label:__("Style5","ultimate-post")},{value:"style6",label:__("Style6","ultimate-post")}]},{type:"toggle",key:"authorLink",label:__("Enable Author Link","ultimate-post")},{type:"select",key:"metaSeparator",label:__("Separator","ultimate-post"),options:[{value:"dot",label:__("Dot","ultimate-post")},{value:"slash",label:__("Slash","ultimate-post")},{value:"doubleslash",label:__("Double Slash","ultimate-post")},{value:"close",label:__("Close","ultimate-post")},{value:"dash",label:__("Dash","ultimate-post")},{value:"verticalbar",label:__("Vertical Bar","ultimate-post")},{value:"emptyspace",label:__("Empty","ultimate-post")}]},E,{type:"text",key:"metaMinText",label:__("Minute Text","ultimate-post")},{type:"text",key:"metaAuthorPrefix",label:__("Author Prefix Text","ultimate-post")},{...E,key:"metaListSmall",label:__("Small Item Meta","ultimate-post")},{type:"select",key:"metaDateFormat",label:__("Date/Time Format","ultimate-post"),options:[{value:"M j, Y",label:"Feb 7, 2022"},{value:"default_date",label:"WordPress Default Date Format",pro:!0},{value:"default_date_time",label:"WordPress Default Date & Time Format",pro:!0},{value:"g:i A",label:"1:12 PM",pro:!0},{value:"F j, Y",label:"February 7, 2022",pro:!0},{value:"F j, Y g:i A",label:"February 7, 2022 1:12 PM",pro:!0},{value:"M j, Y g:i A",label:"Feb 7, 2022 1:12 PM",pro:!0},{value:"j M Y",label:"7 Feb 2022",pro:!0},{value:"j M Y g:i A",label:"7 Feb 2022 1:12 PM",pro:!0},{value:"j F Y",label:"7 February 2022",pro:!0},{value:"j F Y g:i A",label:"7 February 2022 1:12 PM",pro:!0},{value:"j. M Y",label:"7. Feb 2022",pro:!0},{value:"j. M Y | H:i",label:"7. Feb 2022 | 1:12",pro:!0},{value:"j. F Y",label:"7. February 2022",pro:!0},{value:"j.m.Y",label:"7.02.2022",pro:!0},{value:"j.m.Y g:i A",label:"7.02.2022 1:12 PM",pro:!0}]},{type:"range",key:"metaSpacing",label:__("Meta Spacing Between","ultimate-post"),min:0,max:50,step:1,unit:!0,responsive:!0},{type:"typography",key:"metaTypo",label:__("Typography","ultimate-post")},{type:"color",key:"metaColor",label:__("Color","ultimate-post")},{type:"color",key:"metaHoverColor",label:__("Hover Color","ultimate-post")},{type:"color",key:"metaBg",label:__("Background","ultimate-post")},{type:"color",key:"metaSeparatorColor",label:__("Separator Color","ultimate-post")},{type:"border",key:"metaBorder",label:__("Border","ultimate-post")},{type:"dimension",key:"metaMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"metaPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],pe=["metaStyle","metaPosition","metaSeparator","metaList","authorLink","metaListSmall","metaDateFormat","cMetaRepetableField"],ce=["metaSpacing","metaTypo","metaColor","metaHoverColor","metaBg","metaSeparatorColor","metaBorder","metaMargin","metaPadding"],ue=["metaAuthorPrefix","metaMinText"],de=[{type:"toggle",key:"showSeoMeta",label:__("SEO Meta","ultimate-post"),pro:!0,help:__("Show Meta from Yoast, RankMath, AIO, SEOPress and Squirrly. Make sure that PostX > Addons > [SEO Plugin] is Enabled.","ultimate-post")},{type:"toggle",key:"showFullExcerpt",label:__("Show Full Excerpt","ultimate-post"),help:__("Show Excerpt from Post Meta Box.","ultimate-post")},{type:"range",key:"excerptLimit",min:0,max:500,step:1,label:__("Excerpt Limit","ultimate-post"),help:__("Excerpt Limit from Post Content.","ultimate-post")},{type:"typography",key:"excerptTypo",label:__("Typography","ultimate-post")},{type:"color",key:"excerptColor",label:__("Color","ultimate-post")},{type:"dimension",key:"excerptPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],me=[{type:"toggle",key:"filterBelowTitle",label:__("Below Title","ultimate-post")},{type:"select",key:"filterType",label:__("Filter Type","ultimate-post"),options:[]},{type:"search",key:"filterValue",label:__("Filter Value","ultimate-post"),multiple:!0,search:"taxvalue"},{type:"text",key:"filterText",label:__("All Content Text","ultimate-post")},{type:"toggle",key:"filterMobile",label:__("Enable Dropdown","ultimate-post"),pro:!0},{type:"text",key:"filterMobileText",label:__("Menu Text","ultimate-post"),help:__("Mobile Device Filter Menu Text","ultimate-post")},{type:"typography",key:"fliterTypo",label:__("Typography","ultimate-post")},{type:"alignment",key:"filterAlign",responsive:!0,label:__("Alignment","ultimate-post"),disableJustify:!0},{type:"tab",key:"fTab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"filterColor",label:__("Color","ultimate-post")},{type:"color",key:"filterBgColor",label:__("Background Color","ultimate-post")},{type:"border",key:"filterBorder",label:__("Border","ultimate-post")}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"filterHoverColor",label:__("Hover Color","ultimate-post")},{type:"color",key:"filterHoverBgColor",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"filterHoverBorder",label:__("Hover Border","ultimate-post")}]}]},{type:"dimension",key:"filterRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"color",key:"filterDropdownColor",label:__("Dropdown Text Color","ultimate-post")},{type:"color",key:"filterDropdownHoverColor",label:__("Dropdown Hover Color","ultimate-post")},{type:"color",key:"filterDropdownBg",label:__("Dropdown Background","ultimate-post")},{type:"range",key:"filterDropdownRadius",min:0,max:300,step:1,responsive:!0,unit:["px","em","rem","%"],label:__("Dropdown Radius","ultimate-post")},{type:"dimension",key:"filterDropdownPadding",label:__("Dropdown Padding","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"fliterSpacing",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"fliterPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],ge=["filterBelowTitle","filterType","filterValue","filterText","filterMobile","filterMobileText"],ye=["fliterTypo","fTab","filterRadius","filterDropdownColor","filterDropdownHoverColor","filterDropdownBg","filterDropdownRadius","fliterSpacing","fliterPadding"],be=[{type:"color",key:"septColor",label:__("Border Color","ultimate-post")},{type:"range",key:"septSize",min:0,max:20,step:1,label:__("Border Size","ultimate-post")},{type:"select",key:"septStyle",label:__("Border Style","ultimate-post"),options:[{value:"none",label:__("None","ultimate-post")},{value:"solid",label:__("Solid","ultimate-post")},{value:"dashed",label:__("Dashed","ultimate-post")},{value:"dotted",label:__("Dotted","ultimate-post")},{value:"double",label:__("Double","ultimate-post")}]},{type:"range",key:"septSpace",min:0,max:80,step:1,responsive:!0,label:__("Spacing","ultimate-post")}],ve=[{type:"tag",key:"paginationType",label:__("Pagination Type","ultimate-post"),options:[{value:"loadMore",label:__("Loadmore","ultimate-post")},{value:"navigation",label:__("Navigation","ultimate-post")},{value:"pagination",label:__("Pagination","ultimate-post")}]},{type:"text",key:"loadMoreText",label:__("Loadmore Text","ultimate-post")},{type:"text",key:"paginationText",label:__("Pagination Text","ultimate-post")},{type:"alignment",key:"pagiAlign",responsive:!0,label:__("Alignment","ultimate-post"),disableJustify:!0},{type:"select",key:"paginationNav",label:__("Pagination","ultimate-post"),options:[{value:"textArrow",label:__("Text & Arrow","ultimate-post")},{value:"onlyarrow",label:__("Only Arrow","ultimate-post")}]},{type:"toggle",key:"paginationAjax",label:__("Ajax Pagination","ultimate-post")},{type:"select",key:"navPosition",label:__("Navigation Position","ultimate-post"),options:[{value:"topRight",label:__("Top Right","ultimate-post")},{value:"bottomLeft",label:__("Bottom","ultimate-post")}]},{type:"typography",key:"pagiTypo",label:__("Typography","ultimate-post")},{type:"range",key:"pagiArrowSize",min:0,max:100,step:1,responsive:!0,label:__("Arrow Size","ultimate-post")},{type:"tab",key:"pagiTab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"pagiColor",label:__("Color","ultimate-post"),clip:!0},{type:"color2",key:"pagiBgColor",label:__("Background Color","ultimate-post")},{type:"border",key:"pagiBorder",label:__("Border","ultimate-post")},{type:"boxshadow",key:"pagiShadow",label:__("BoxShadow","ultimate-post")},{type:"dimension",key:"pagiRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"pagiHoverColor",label:__("Hover Color","ultimate-post"),clip:!0},{type:"color2",key:"pagiHoverbg",label:__("Hover Bg Color","ultimate-post")},{type:"border",key:"pagiHoverBorder",label:__("Hover Border","ultimate-post")},{type:"boxshadow",key:"pagiHoverShadow",label:__("BoxShadow","ultimate-post")},{type:"dimension",key:"pagiHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]},{type:"dimension",key:"pagiMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"navMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"pagiPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],he=["paginationType","loadMoreText","paginationText","pagiAlign","paginationNav","paginationAjax","navPosition"],fe=["pagiTypo","pagiArrowSize","pagiTab","pagiMargin","navMargin","pagiPadding"],ke=[{type:"text",key:"advanceId",label:__("ID","ultimate-post")},{type:"range",key:"advanceZindex",min:-100,max:1e4,step:1,label:__("z-index","ultimate-post")},{type:"dimension",key:"wrapMargin",label:__("Margin","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"dimension",key:"wrapOuterPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0},{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color2",key:"wrapBg",label:__("Background","ultimate-post")},{type:"border",key:"wrapBorder",label:__("Border","ultimate-post")},{type:"boxshadow",key:"wrapShadow",label:__("BoxShadow","ultimate-post")},{type:"dimension",key:"wrapRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color2",key:"wrapHoverBackground",label:__("Background","ultimate-post")},{type:"border",key:"wrapHoverBorder",label:__("Hover Border","ultimate-post")},{type:"boxshadow",key:"wrapHoverShadow",label:__("Hover BoxShadow","ultimate-post")},{type:"dimension",key:"wrapHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]}],we=[{type:"textarea",key:"advanceCss",placeholder:__("Add {{ULTP}} before the selector to wrap element.","ultimate-post")}],xe=[{type:"toggle",key:"hideExtraLarge",label:__("Hide On Extra Large Display","ultimate-post"),pro:!0},{type:"toggle",key:"hideTablet",label:__("Hide On Tablet","ultimate-post"),pro:!0},{type:"toggle",key:"hideMobile",label:__("Hide On Mobile","ultimate-post"),pro:!0}];let Te=[{value:"regular",label:__("Regular (All Taxonomy)","ultimate-post")},{value:"child",label:__("Child Of","ultimate-post")},{value:"parent",label:__("Parent (Only Parent Taxonomy)","ultimate-post")},{value:"custom",label:__("Custom","ultimate-post")}];const Se=[{value:"immediate_child",label:__("Immediate Child (Archive)","ultimate-post")},{value:"current_level",label:__("Current Level (Archive)","ultimate-post")},{value:"allchild",label:__("All Child (Archive)","ultimate-post")}];Te="archive"==ultp_data?.archive?Te.concat(Se):Te;const Pe=[{type:"select",key:"taxType",label:__("Query Type","ultimate-post"),options:Te},{type:"select",key:"taxSlug",label:__("Taxonomy Type","ultimate-post"),multiple:!1},{type:"select",key:"taxValue",label:__("Taxonomy Value","ultimate-post"),multiple:!0},{type:"range",key:"queryNumber",min:0,max:200,help:__("Set 0 for get all taxonomy.","ultimate-post"),label:__("Number of Post","ultimate-post")}],Ce=[{type:"select",key:"TaxAnimation",label:__("Hover Animation","ultimate-post"),options:[{value:"none",label:__("No Animation","ultimate-post")},{value:"zoomIn",label:__("Zoom In","ultimate-post")},{value:"zoomOut",label:__("Zoom Out","ultimate-post")},{value:"opacity",label:__("Opacity","ultimate-post")},{value:"slideLeft",label:__("Slide Left","ultimate-post")},{value:"slideRight",label:__("Slide Right","ultimate-post")}]},{type:"toggle",key:"customTaxColor",label:__("Taxonomy Specific Color","ultimate-post"),pro:!0},{type:"linkbutton",key:"seperatorTaxLink",placeholder:__("Choose Color","ultimate-post"),label:__("Taxonomy Specific (Pro)","ultimate-post"),text:"Choose Color"},{type:"tab",content:[{name:"normal",title:__("Normal","ultimate-post"),options:[{type:"color",key:"TaxWrapBg",label:__("Background Color","ultimate-post")},{type:"range",key:"customOpacityTax",min:0,max:1,step:.05,label:__("Overlay Opacity","ultimate-post")},{type:"border",key:"TaxWrapBorder",label:__("Border","ultimate-post")},{type:"boxshadow",key:"TaxWrapShadow",label:__("BoxShadow","ultimate-post")},{type:"dimension",key:"TaxWrapRadius",label:__("Border Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]},{name:"hover",title:__("Hover","ultimate-post"),options:[{type:"color",key:"TaxWrapHoverBg",label:__("Hover Bg Color","ultimate-post")},{type:"range",key:"customTaxOpacityHover",min:0,max:1,step:.05,label:__("Hover Opacity","ultimate-post")},{type:"border",key:"TaxWrapHoverBorder",label:__("Hover Border","ultimate-post")},{type:"boxshadow",key:"TaxWrapHoverShadow",label:__("Hover BoxShadow","ultimate-post")},{type:"dimension",key:"TaxWrapHoverRadius",label:__("Hover Radius","ultimate-post"),step:1,unit:!0,responsive:!0}]}]},{type:"dimension",key:"TaxWrapPadding",label:__("Padding","ultimate-post"),step:1,unit:!0,responsive:!0}],Ee=[{data:{type:"tag",key:"relation",label:__("Multiple Filter Relation","ultimate-post"),options:[{value:"AND",label:__("AND","ultimate-post")},{value:"OR",label:__("OR","ultimate-post")}]}},{data:{type:"alignment",key:"align",label:__("Alignment","ultimate-post"),responsive:!0,options:["flex-start","center","flex-end"],icons:["left","center","right"]}},{data:{type:"range",key:"gapChild",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Gap","ultimate-post")}},{data:{type:"range",key:"spacingTop",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Spacing Top","ultimate-post")}},{data:{type:"range",key:"spacingBottom",min:0,max:120,step:1,responsive:!0,unit:["px","em","rem"],label:__("Spacing Bottom","ultimate-post")}}],_e=[{type:(0,n.o6)()?"toggle":"",label:__("Enable Dynamic Content","ultimate-post"),key:"dcEnabled",help:__("Insert dynamic data & custom fields that update automatically.","ultimate-post")},{type:"advFilterEnable",key:"advFilterEnable",label:__("Advanced Filter","ultimate-post")},{type:"advPagiEnable",key:"advPaginationEnable",label:__("Advanced Pagination","ultimate-post")},{type:"toggle",key:"showImage",label:__("Image","ultimate-post")},{type:"toggle",key:"titleShow",label:__("Title","ultimate-post")},{type:"toggle",key:"metaShow",label:__("Meta","ultimate-post")},{type:"toggle",key:"catShow",label:__("Taxonomy/Category","ultimate-post")},{type:"toggle",key:"excerptShow",label:__("Excerpt","ultimate-post")},{type:"toggle",key:"readMore",label:__("Read More","ultimate-post")},{type:"toggle",key:"headingShow",label:__("Heading","ultimate-post")},{type:"toggle",key:"filterShow",label:__("Filter","ultimate-post")},{type:"toggle",key:"paginationShow",label:__("Pagination","ultimate-post")}],Le=[{type:"toggle",key:"titleShow",label:__("Title","ultimate-post")},{type:"toggle",key:"metaShow",label:__("Meta","ultimate-post")},{type:"toggle",key:"catShow",label:__("Taxonomy/Category","ultimate-post")},{type:"toggle",key:"excerptShow",label:__("Excerpt","ultimate-post")},{type:"toggle",key:"readMore",label:__("Read More","ultimate-post")},{type:"toggle",key:"arrows",label:__("Arrows","ultimate-post")},{type:"toggle",key:"dots",label:__("Dots","ultimate-post")},{type:"toggle",key:"headingShow",label:__("Heading","ultimate-post")}],Ie=["advFilterEnable","advPaginationEnable"],Ue=["headingShow","filterShow","paginationShow"];function Be(e){return[{isToolbar:!0,data:{type:"tab_toolbar",content:e}}]}const Me=e=>(0,o.createElement)(r.Z,{initialOpen:e.initialOpen||!1,title:"inline"==e.title?"":__("Layout","ultimate-post"),block:e.block,store:e.store,col:e.col,data:[e.data]}),Ae=e=>{const t=P(e.include,e.exclude,X);let l=null;return e.isTab&&(l={settings:Q,style:ee}),(0,o.createElement)(r.Z,{isTab:e.isTab,tabData:l,doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Heading","ultimate-post"),store:e.store,data:t,hrIdx:e.hrIdx})},He=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("General","ultimate-post"),store:e.store,data:P(e.include,e.exclude,G)}),Ne=e=>(0,o.createElement)(r.Z,{doc:e.doc,dynamicHelpText:e.dynamicHelpText,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("General","ultimate-post"),store:e.store,data:P(e.include,e.exclude,V)});function je(e){return Be([{name:"spacing",title:__("Grid Spacing","ultimate-post"),options:P(e.include,e.exclude,q)}])}const Oe=e=>(0,o.createElement)(r.Z,{doc:e.doc,dynamicHelpText:e.dynamicHelpText,youtube:"https://wpxpo.com/docs/postx/postx-features/advanced-query-builder/?utm_source=db-postx-editor&utm_medium=video-docs&utm_campaign=postx-dashboard",initialOpen:e.initialOpen||!1,title:"inline"==e.title?"":__("Query Builder","ultimate-post"),store:e.store,data:P(e.include,e.exclude,W)}),Ze=e=>{const t=P(e.include,"archive"==ultp_data.archive?["paginationAjax"].concat(e.exclude||[]):e.exclude,ve);let l=null;return e.isTab&&(l={settings:he,style:fe}),(0,o.createElement)(r.Z,{isTab:e.isTab,tabData:l,doc:e.doc,depend:e.depend,youtube:"https://wpxpo.com/docs/postx/postx-features/pagination/?utm_source=db-postx-editor&utm_medium=video-docs&utm_campaign=postx-dashboard",initialOpen:e.initialOpen||!1,title:__("Pagination","ultimate-post"),store:e.store,pro:e.pro,data:t,hrIdx:e.hrIdx})};function Re(e){return Be([{name:"pagi",title:e.title,options:P(e.include,e.exclude,ve)}])}const De=e=>{const t=P(e.include,e.exclude,me);let l=null;return e.isTab&&(l={settings:ge,style:ye}),(0,o.createElement)(r.Z,{isTab:e.isTab,tabData:l,doc:e.doc,depend:e.depend,youtube:"https://wpxpo.com/docs/postx/postx-features/postx-ajax-filtering/?db-postx-editor&utm_medium=video-docs&utm_campaign=postx-dashboard",initialOpen:e.initialOpen||!1,title:__("Filter","ultimate-post"),store:e.store,pro:e.pro,data:t,hrIdx:e.hrIdx})};function Fe(e){return Be([{name:"filter",title:e.title,options:P(e.include,e.exclude,me)}])}const ze=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Arrow","ultimate-post"),store:e.store,data:P(e.include,e.exclude,N)});function We(e){return Be([{name:"arrow",title:e.title||__("Arrow Style","ultimate-post"),options:P(e.include,e.exclude,N)}])}const Ge=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Title","ultimate-post"),store:e.store,data:P(e.include,e.exclude,ne),hrIdx:e.hrIdx});function Ve(e){return Be([{name:"title",title:e.title||__("Title Style","ultimate-post"),options:P(e.include,e.exclude,ne)}])}const qe=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Prefix","ultimate-post"),store:e.store,data:P(e.include,e.exclude,re),hrIdx:e.hrIdx}),$e=e=>{const t=P(e.include,e.exclude,se);let l=null;return e.isTab&&(l={settings:pe,style:ce,text:ue}),(0,o.createElement)(r.Z,{isTab:e.isTab,tabData:l,tabs:[{name:"settings",title:"Settings",icon:s.Z.settings3},{name:"style",title:"Style",icon:s.Z.style},{name:"text",title:"Text",icon:s.Z.textTab}],doc:e.doc,depend:e.depend,youtube:"https://wpxpo.com/docs/postx/postx-features/post-meta/?db-postx-editor&utm_medium=video-docs&utm_campaign=postx-dashboard",initialOpen:e.initialOpen||!1,title:__("Meta","ultimate-post"),store:e.store,pro:e.pro,data:t,hrIdx:e.hrIdx})};function Ke(e){return Be([{name:"meta",title:e.title,options:P(e.include,e.exclude,se)}])}const Je=e=>{const t=P(e.include,e.exclude,te);let l=null;if(e.isTab){const e=["imgCrop","imgCropSmall","imgAnimation","imgOverlay","imgOverlayType","overlayColor","imgOpacity","imgSrcset","imgLazy","fallbackEnable","fallbackImg"];l={settings:e,style:C({opType:"discard",data:e},t).map((e=>e.key))}}return(0,o.createElement)(r.Z,{isTab:e.isTab,tabData:l,doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Image","ultimate-post"),store:e.store,data:t,hrIdx:e.hrIdx})};function Ye({store:e,settingsKeys:t,styleKeys:l,oArgs:a,settingsTitle:n,styleTitle:r,incSettings:s=[],exSettings:p=[],incStyle:u=[],exStyle:d=[]}){const m=C({opType:"keep",data:t},a),g=C({opType:"keep",data:l},a),y=P(s,p,m),b=P(u,d,g);return(0,o.createElement)(c,null,(0,o.createElement)(i.Z,{buttonContent:x,include:Be([{name:"tab_style",title:r,options:b}]),store:e,label:r}),(0,o.createElement)(i.Z,{buttonContent:w,include:Be([{name:"tab_settings",title:n,options:y}]),store:e,label:n}))}const Xe=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Video","ultimate-post"),store:e.store,data:P(e.include,e.exclude,ae),hrIdx:e.hrIdx});function Qe(e){return Be([{name:"video",title:e.title||__("Video Settings","ultimate-post"),options:P(e.include,e.exclude,ae)}])}const et=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:e.title||__("Excerpt","ultimate-post"),store:e.store,data:P(e.include,e.exclude,de),hrIdx:e.hrIdx});function tt(e){return Be([{name:"excerpt",title:e.title,options:P(e?.include,e?.exclude,de)}])}const lt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Separator","ultimate-post"),store:e.store,data:P(e.include,e.exclude,be)}),ot=e=>{const t=P(e.include,e.exclude,_);let l=null;return e.isTab&&(l={settings:L,style:I}),(0,o.createElement)(r.Z,{isTab:e.isTab,tabData:l,doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Taxonomy / Category","ultimate-post"),store:e.store,pro:e.pro,data:t,hrIdx:e.hrIdx})};function at(e){return Be([{name:"cat",title:e.title,options:P(e?.include,e?.exclude,_)}])}const it=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Button Style","ultimate-post"),store:e.store,data:P(e.include,e.exclude,U)}),nt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Content Wrap","ultimate-post"),store:e.store,data:P(e.include,e.exclude,J)}),rt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Entry Header","ultimate-post"),store:e.store,data:P(e.include,e.exclude,Y)}),st=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Content","ultimate-post"),store:e.store,data:P(e.include,e.exclude,K)}),pt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Dot","ultimate-post"),store:e.store,data:P(e.include,e.exclude,O)});function ct(e){return Be([{name:"dot",title:e.title,options:P(e?.include,e?.exclude,O)}])}const ut=e=>{const t=P(e.include,e.exclude,B);let l=null;return e.isTab&&(l={settings:M,style:A}),(0,o.createElement)(r.Z,{isTab:e.isTab,tabData:l,doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Read More","ultimate-post"),store:e.store,data:t,hrIdx:e.hrIdx})};function dt(e){return Be([{name:"read-more",title:e.title,options:P(e?.include,e?.exclude,B)}])}const mt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Count Style","ultimate-post"),store:e.store,data:P(e.include,e.exclude,H)}),gt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("General","ultimate-post"),store:e.store,data:P(e.include,e.exclude,ke)}),yt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Custom CSS","ultimate-post"),store:e.store,data:P(e.include,e.exclude,we)}),bt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Responsive","ultimate-post"),store:e.store,pro:e.pro,data:P(e.include,e.exclude,xe)}),vt=e=>(0,o.createElement)(r.Z,{initialOpen:e.initialOpen||!1,store:e.store,title:"inline"==e.title?"":__("Taxonomy Query","ultimate-post"),data:P(e.include,e.exclude,Pe)}),ht=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:__("Wrap Style","ultimate-post"),store:e.store,data:P(e.include,e.exclude,Ce)}),ft=e=>{const t=(e.data||_e).map((t=>{let l=!1;if(e.dep&&e.dep.includes(t.key))return{...t,label:(0,o.createElement)(c,null,t.label,(0,o.createElement)("span",{className:"ultp-label-tag-dep",title:"This feature is deprecated may be removed in the future updates. Please use the better alternatives."},"Deprecated"))};let a=(0,o.createElement)(c,null);return!ultp_data.active&&e.pro&&e.pro.includes(t.key)&&(!0,a=(0,o.createElement)("span",{className:"ultp-label-tag-pro",title:"Pro Feature"},(0,o.createElement)("a",{href:(0,p.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},"Pro"))),e.new&&e.new.includes(t.key)&&(a=(0,o.createElement)(c,null,a,(0,o.createElement)("span",{className:"ultp-label-tag-new",title:"Newly Added Feature"},"New"))),{...t,label:(0,o.createElement)(c,null,t.label,a)}}));return(0,o.createElement)(g,{className:"ultp-toolbar-tab",tabs:[{name:"features",title:e.label}]},(l=>(0,o.createElement)(r.Z,{isToolbar:!0,initialOpen:!1,title:"inline",store:e.store,data:P(e.include,e.exclude,t)})))},kt=e=>(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,initialOpen:e.initialOpen||!1,title:e.title||__("Common","ultimate-post"),store:e.store,data:P(e.include,e.exclude,[])}),wt=e=>(0,o.createElement)(r.Z,{title:"inline",isToolbar:!0,store:e.store,data:P(e.include,e.exclude,[])}),xt=e=>(0,o.createElement)(r.Z,{isToolbar:!0,doc:e.doc,depend:e.depend,youtube:e.youtube,title:"inline",store:e.store,data:P(e.include,e.exclude,[])});function Tt(e){return(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,store:e.store,data:[{type:"typography_toolbar",key:e.attrKey,label:e.label}]})}function St(e){return(0,o.createElement)(r.Z,{doc:e.doc,depend:e.depend,youtube:e.youtube,store:e.store,data:[{type:"toolbar_dropdown",label:e.label,options:e.options,key:e.attrKey}]})}const Pt=(e={})=>Object.assign({},{arrows:!0,dots:!0,infinite:!0,speed:500,slidesToShow:!0,slidesToScroll:1,autoplay:!0,autoplaySpeed:3e3,cssEase:"linear",lazyLoad:!0},e),Ct=e=>"default_date"==e?ultp_data.date_format:"default_date_time"==e?ultp_data.date_format+" "+ultp_data.time_format:e,Et=()=>(0,o.createElement)("div",{className:"ultp-next-prev-wrap ultp-disable-editor-click"},(0,o.createElement)("ul",null,(0,o.createElement)("li",null,(0,o.createElement)("a",{className:"ultp-prev-action ultp-disable",href:"#"},a.ZP.leftAngle2,(0,o.createElement)("span",{className:"screen-reader-text"},__("Previous","ultimate-post")))),(0,o.createElement)("li",null,(0,o.createElement)("a",{className:"ultp-prev-action",href:"#"},a.ZP.rightAngle2,(0,o.createElement)("span",{className:"screen-reader-text"},__("Next","ultimate-post")))))),_t=(e,t,l="",i=4)=>{const n=l.split("|"),r=n[0]||__("Previous","ultimate-post"),s=n[1]||__("Next","ultimate-post");return(0,o.createElement)("div",{className:"ultp-pagination-wrap ultp-disable-editor-click"+(t?" ultp-pagination-ajax-action":"")},(0,o.createElement)("ul",{className:"ultp-pagination"},(0,o.createElement)("li",null,(0,o.createElement)("a",{href:"#",className:"ultp-prev-page-numbers"},a.ZP.leftAngle2,"textArrow"==e?" "+r:"")),i>4&&(0,o.createElement)("li",{className:"ultp-first-dot"},(0,o.createElement)("a",{href:"#"},"...")),new Array(i>2?3:i).fill(0).map(((e,t)=>(0,o.createElement)("li",{key:t},(0,o.createElement)("a",{href:"#"},t+1)))),i>4&&(0,o.createElement)("li",{className:"ultp-last-dot"},(0,o.createElement)("a",{href:"#"},"...")),i>5&&(0,o.createElement)("li",{className:"ultp-last-pages"},(0,o.createElement)("a",{href:"#"},i)),(0,o.createElement)("li",null,(0,o.createElement)("a",{href:"#",className:"ultp-next-page-numbers"},"textArrow"==e?s+" ":"",a.ZP.rightAngle2))))},Lt=e=>(0,o.createElement)("div",{className:"ultp-loadmore"},(0,o.createElement)("a",{className:"ultp-loadmore-action ultp-disable-editor-click"},e)),It=(e,t)=>{let l=!1;const o=["filterShow","filterType","filterValue","queryUnique","queryNumPosts","queryNumber","metaKey","queryType","queryTax","queryTaxValue","queryRelation","queryOrderBy","queryOrder","queryExclude","queryOffset","queryQuick","taxType","taxSlug","taxValue","queryAuthor","queryCustomPosts","queryPosts","queryExcludeTerm","queryExcludeAuthor","querySticky","taxonomy","fallbackImg","maxTaxonomy"];for(let a=0;a<o.length;a++)if(e[o[a]]!=t[o[a]]){l=!0;break}return l},Ut=e=>{const{filterShow:t,filterType:l,filterValue:o,queryNumPosts:a,queryNumber:i,queryType:n,queryTax:r,queryTaxValue:s,queryOrderBy:p,queryOrder:c,queryInclude:u,queryExclude:d,queryOffset:m,metaKey:g,queryQuick:y,queryAuthor:b,queryRelation:v,querySticky:h,queryPosts:f,queryCustomPosts:k,queryExcludeTerm:w,queryExcludeAuthor:x,queryUnique:T,taxonomy:S,fallbackImg:P,maxTaxonomy:C}=e;let E=i;if(void 0!==a&&void 0!==i){const e=wp.data.select("core/editor")?.getDeviceType?.()||wp.data.select(wp.data.select("core/edit-site")?"core/edit-site":"core/edit-post")?.__experimentalGetPreviewDeviceType(),t=null!=e?e:"Desktop";JSON.stringify({lg:parseInt(a.lg||""),sm:parseInt(a.sm||""),xs:parseInt(a.xs||"")})!=JSON.stringify({lg:parseInt(i),sm:parseInt(i),xs:parseInt(i)})&&("Desktop"==t?E=a.lg:"Tablet"==t?E=a.sm||a.lg:"Mobile"==t&&(E=a.xs||a.lg))}return{filterShow:t,filterType:l,filterValue:o,queryNumber:E,queryType:n,queryTax:r,queryTaxValue:s,queryOrderBy:p,queryOrder:c,queryInclude:u,queryExclude:d,queryOffset:m,metaKey:g,queryQuick:y,queryAuthor:b,queryRelation:v,querySticky:h,queryPosts:f,queryCustomPosts:k,queryExcludeTerm:w,queryExcludeAuthor:x,queryUnique:T,taxonomy:S,fallbackImg:P,maxTaxonomy:C,wpnonce:ultp_data.security}},Bt=[{position:1,data:{type:"select",key:"titleAnimation",label:__("Content Animation","ultimate-post"),options:[{value:"",label:"- None -"},{value:"slideup",label:__("Slide Up","ultimate-post"),pro:!0},{value:"slidedown",label:__("Slide Down","ultimate-post"),pro:!0}]}}],Mt=(e,t)=>{const l="style2"==t?"ol":"ul";if(e)return(e="string"==typeof e?JSON.parse(e):e).length>0&&(0,o.createElement)(l,{className:"ultp-toc-lists"},e.map(((e,l)=>(0,o.createElement)("li",{key:l},(0,o.createElement)("a",{href:`#${e.link}`},e.content),e.child&&Mt(e.child,t)))))},At={...E,pro:!0},Ht={type:"select",key:"metaStyle",label:__("Meta Style","ultimate-post"),options:[{value:"noIcon",label:__("No Icon","ultimate-post")},{value:"icon",label:__("With Icon","ultimate-post")},{value:"style2",label:__("Style2","ultimate-post")},{value:"style3",label:__("Style3","ultimate-post")},{value:"style4",label:__("Style4","ultimate-post")},{value:"style5",label:__("Style5","ultimate-post")},{value:"style6",label:__("Style6","ultimate-post")}],pro:!0},Nt={type:"select",key:"metaSeparator",label:__("Separator","ultimate-post"),options:[{value:"dot",label:__("Dot","ultimate-post")},{value:"slash",label:__("Slash","ultimate-post")},{value:"doubleslash",label:__("Double Slash","ultimate-post")},{value:"close",label:__("Close","ultimate-post")},{value:"dash",label:__("Dash","ultimate-post")},{value:"verticalbar",label:__("Vertical Bar","ultimate-post")},{value:"emptyspace",label:__("Empty","ultimate-post")}],pro:!0},jt={...E,key:"metaListSmall",label:__("Small Item Meta","ultimate-post"),pro:!0},Ot={type:"select",key:"catPosition",label:__("Category Position","ultimate-post"),options:[{value:"aboveTitle",label:__("Above Title","ultimate-post")},{value:"topLeft",label:__("Over Image(Top Left)","ultimate-post")},{value:"topRight",label:__("Over Image(Top Right)","ultimate-post")},{value:"bottomLeft",label:__("Over Image(Bottom Left)","ultimate-post")},{value:"bottomRight",label:__("Over Image(Bottom Right)","ultimate-post")},{value:"centerCenter",label:__("Over Image(Center)","ultimate-post")}],pro:!0},Zt={type:"select",key:"filterType",label:__("Filter Type","ultimate-post"),options:[],pro:!0},Rt={type:"select",key:"filterValue",label:__("Filter Value","ultimate-post"),options:[],multiple:!0,pro:!0},Dt={type:"select",key:"navPosition",label:__("Navigation Position","ultimate-post"),options:[{value:"topRight",label:__("Top Right","ultimate-post")},{value:"bottomLeft",label:__("Bottom","ultimate-post")}],pro:!0},Ft=(e="",t=!0,l=0,a=0,i="")=>{if(e){let n="";if(e.includes("youtu")){const o=/youtu(?:.*\/v\/|.*v\=|\.be\/)([A-Za-z0-9_\-]{11})/gm.exec(e);o&&o[1]&&(n="//www.youtube.com/embed/"+o[1]+"?playlist="+o[1]+"&iv_load_policy=3&controls=0&autoplay=1&disablekb=1&rel=0&enablejsapi=1&showinfo=0&wmode=transparent&widgetid=1&playsinline=1&mute=1",n+="&loop="+(t?1:0),n+=l?"&start="+l:"",n+=a?"&end="+a:"")}else{if(!e.includes("vimeo"))return(0,o.createElement)("div",{className:"ultp-rowbg-video"},(0,o.createElement)("video",{className:"ultp-bgvideo",poster:i&&i,muted:!0,loop:!0,autoPlay:!0},(0,o.createElement)("source",{src:e})));{const l=e.match(/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?/i);l[1]&&(n="//player.vimeo.com/video/"+l[1]+"?autoplay=1&title=0&byline=0&portrait=0&transparent=0&background=1",n+="&loop="+(t?1:0))}}return n?(0,o.createElement)("div",{className:"ultp-rowbg-video"},(0,o.createElement)("iframe",{src:n,frameBorder:"0",allowFullScreen:!0})):i?(0,o.createElement)("img",{src:i,alt:"Video Fallback Image"}):""}return i?(0,o.createElement)("img",{src:i,alt:"Video Fallback Image"}):""},zt=e=>{const t=wp.data.select("core/block-editor").getBlocks(e);t.length>0&&t.forEach(((e,t)=>{m("core/block-editor").updateBlockAttributes(e.clientId,{updateChild:!e.attributes.updateChild})}))},Wt=()=>{const e=window.document.getElementsByName("editor-canvas");return e[0]?.contentDocument?e[0]?.contentDocument:window.document},Gt=(e="",t=!1)=>{if("true"!=ultp_data.settings?.ultp_custom_font)return[];const l=ultp_data.custom_fonts,o=[];let a="";return l?.forEach((t=>{const l=[];t.font.forEach((o=>{const i=[];l.push(o.weight),e.includes(t.title)&&(o.woff&&i.push(`url(${o.woff}) format('woff')`),o.woff2&&i.push(`url(${o.woff2}) format('woff2')`),o.ttf&&i.push(`url(${o.ttf}) format('TrueType')`),o.svg&&i.push(`url(${o.svg}) format('svg')`),o.eot&&i.push(`url(${o.eot}) format('eot')`),a+=` @font-face {\n                    font-family: "${t.title}";\n                    font-weight: ${o.weight};\n                    font-display: auto;\n                    src: ${i.join(", ")};\n                } `)})),o.push({n:t.title,v:l,f:""})})),t?a+e:o||[]},Vt=()=>{const e=window.location.href;return void 0!==e&&-1!==e.indexOf("path=%2Fpatterns")&&e.indexOf("site-editor.php")>-1},qt=(e,t,l,o)=>{const a=(t,o)=>{t&&t!=l&&("wp_block"===o||e({currentPostId:t?.toString()}))},i=wp.data.select("core/editor")?.getCurrentPostId(),n=wp.data.select("core/edit-site"),r=n?.getEditedPostType()||"";if(t?.hasOwnProperty("ref"))a(t.ref,"wp_block");else if(document.querySelector(".widgets-php"))a("ultp-widget","widget");else if("wp_template_part"==r||"wp_template"==r){const e=(new Date).getTime();setTimeout((()=>{const e=wp.data.select("core")?.getEntityRecords("postType","wp_template",{per_page:-1})||[],t=wp.data.select("core")?.getEntityRecords("postType","wp_template_part",{per_page:-1})||[],l=(()=>{let e={};const t=Wt()?.querySelectorAll("*[data-type='core/template-part']");return t?.forEach((t=>{const l=t.querySelectorAll(".wp-block"),o=t.dataset.block,a=[];l?.forEach((e=>{e?.dataset?.type?.includes("ultimate-post/")&&e?.dataset?.block&&a.push(e.dataset.block)})),a.length&&(e={...e,hasItems:"yes",[o]:a})})),e})();let s="";if(l.hasItems&&(s=Object.keys(l).find((e=>l[e]?.includes(o)))),s){const e=wp.data.select("core/block-editor").getBlockAttributes(s),l=t.find((t=>t.id.includes("//"+e?.slug)));a(l?.wp_id,"fse-part")}else if("string"==typeof i&&i.includes("//")){const l=n?.getEditedPostId(),o=("wp_template"==r?e:t).find((e=>e.id==l));a(o?.wp_id,"wp_template"==r?"fse-template":"fse-part")}else a(i,"__editorPostId_fse")}),S&&(e-S)/1e3>=4?0:1500)}else i&&a(i,"__editorPostId")},$t=()=>ultp_data.active?(0,o.createElement)("div",{className:"ultp-editor-support"},(0,o.createElement)("div",{className:"ultp-editor-support-content"},(0,o.createElement)("img",{alt:"site logo",className:"logo",src:ultp_data.url+"assets/img/logo-option.svg"}),(0,o.createElement)("div",{className:"descp"},__("Need quick Human Support?","ultimate-post")),(0,o.createElement)("a",{href:"https://www.wpxpo.com/contact?utm_source=db-postx-editor&utm_medium=blocks-support&utm_campaign=postx-dashboard",target:"_blank"},__("Get Support","ultimate-post")))):(0,o.createElement)("div",{className:"ultp-editor-support"},(0,o.createElement)("div",{className:"ultp-editor-support-content"},(0,o.createElement)("div",{className:"title"},__("Upgrade to PostX Pro","ultimate-post")),(0,o.createElement)("div",{className:"descp"},__("Unlock all features, blocks, templates, and customization options at a single price.","ultimate-post")),(0,o.createElement)("a",{href:"https://www.wpxpo.com/postx/pricing/?utm_source=db-postx-editor&utm_medium=blocks-upgrade&utm_campaign=postx-dashboard",target:"_blank"},__("Upgrade Now","ultimate-post")))),Kt=({tag:e,children:t,...l})=>{const a=e;return(0,o.createElement)(a,l,t)},Jt=["angle_bottom_left_line","angle_bottom_right_line","angle_top_left_line","angle_top_right_line","leftAngle","rightAngle","leftAngle2","rightAngle2","collapse_bottom_line","arrowUp2","longArrowUp2","arrow_left_circle_line","arrow_bottom_circle_line","arrow_right_circle_line","arrow_top_circle_line","arrow_down_line","leftArrowLg","rightArrowLg","arrow_up_line","down_solid","right_solid","left_solid","up_solid","bottom_right_line","bottom_left_line","top_left_angle_line","top_right_line"]},8156:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294);const{Panel:a,PanelBody:i}=wp.components;function n({children:e,open:t}){return(0,o.createElement)(a,{className:"ultp-depr-panel"},(0,o.createElement)(i,{title:"Depreciated Settings",initialOpen:t},e))}},3448:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3049);const{Dropdown:i,ToolbarButton:n}=wp.components;function r({store:e,include:t,buttonContent:l,label:r}){return(0,o.createElement)(i,{contentClassName:"ultp-custom-toolbar-wrapper",renderToggle:({onToggle:e})=>(0,o.createElement)("span",null,(0,o.createElement)(n,{onClick:()=>e(),label:r},(0,o.createElement)("span",{className:"ultp-click-toolbar-settings"},l))),renderContent:()=>(0,o.createElement)(a.B3,{store:e,include:t})})}},118:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294);const{ToolbarDropdownMenu:a}=wp.components,i={className:"ultp-toolbar-dropdown"};function n({options:e,value:t,onChange:l,label:n}){return(0,o.createElement)(a,{popoverProps:i,icon:e.find((e=>e.value===t))?.icon||(0,o.createElement)(o.Fragment,null,"value"),label:n,controls:e.map((e=>({icon:e.icon,title:e.title,isActive:e.value===t,onClick(){l(e.value)},role:"menuitemradio"})))})}},2258:(e,t,l)=>{"use strict";l.d(t,{Z:()=>p});var o=l(7294),a=l(3049),i=l(3100);const{__}=wp.i18n,{BlockControls:n}=wp.blockEditor,{Toolbar:r}=wp.components,{useSelect:s}=wp.data;function p({children:e,text:t,pro:l=!1,textScroll:p=!1}){const c=s((e=>e("core/preferences").get("core","fixedToolbar"))),u=l&&!ultp_data.active;return(0,o.createElement)(n,null,(0,o.createElement)("div",{className:"ultp-toolbar-group ultp-toolbar-group-bg"},t&&!c&&(0,o.createElement)("div",{className:`ultp-toolbar-group-text${c?"-bottom":""} ${p?"ultp-toolbar-text-ticker-wrapper":""}`},(0,o.createElement)("div",{className:"ultp-toolbar-group-text-inner"},__(t,"ultimate-post")+(u?" (Pro)":""))),u?(0,o.createElement)("div",{className:"ultp-toolbar-group-block"},(0,o.createElement)("div",{className:"ultp-toolbar-group-block-overlay"},(0,o.createElement)("a",{href:(0,i.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},__("Unlock It","ultimate-post"))),(0,o.createElement)("div",{className:"ultp-toolbar-group-block-placeholder"},a.tj,a.gA,a.YG,a.Cz,a.HU)):(0,o.createElement)(r,null,e)))}},3890:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);function a({post:e,catShow:t,catStyle:l,catPosition:a,customCatColor:i,onlyCatColor:n,onClick:r}){return e.category&&t?(0,o.createElement)("div",{className:`ultp-category-grid ultp-category-${l} ultp-category-${a}`},(0,o.createElement)("div",{className:`ultp-category-in ultp-cat-color-${i}`},e.category.map(((e,t)=>i?n?(0,o.createElement)("a",{key:t,className:`ultp-cat-${e.slug} ultp-component-simple`,style:{color:e.color||"#CE2746"},onClick:e=>{e.stopPropagation(),r()}},e.name):(0,o.createElement)("a",{key:t,className:`ultp-cat-${e.slug} ultp-cat-only-color-${i} ultp-component-simple`,style:{backgroundColor:e.color||"#CE2746"},onClick:e=>{e.stopPropagation(),r()}},e.name):(0,o.createElement)("a",{key:t,className:`ultp-cat-${e.slug} ultp-component-simple`,onClick:e=>{e.stopPropagation(),r()}},e.name))))):null}},9491:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);function a({excerpt:e,excerpt_full:t,seo_meta:l,excerptLimit:a,showFullExcerpt:i,showSeoMeta:n,onClick:r}){return(0,o.createElement)("div",{onClick:e=>{e.stopPropagation(),r()},className:"ultp-block-excerpt ultp-component-simple",dangerouslySetInnerHTML:{__html:n?l.split(" ").splice(0,a).join(" "):i?t:e.split(" ").splice(0,a).join(" ")+"..."}})}},4904:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);function a({filterText:e,filterType:t,filterValue:l,onClick:a}){return l=l.length>2?l:"[]",(0,o.createElement)("div",{onClick:e=>{e.stopPropagation(),a()},className:"ultp-filter-wrap ultp-disable-editor-click ultp-component","data-taxtype":t},(0,o.createElement)("ul",{className:"ultp-flex-menu"},e&&(0,o.createElement)("li",{className:"filter-item ultp-component-hover"},(0,o.createElement)("a",{className:"filter-active",href:"#"},e)),JSON.parse(l).map(((e,t)=>(e=e.value?e.value:e,(0,o.createElement)("li",{key:t,className:"filter-item ultp-component-hover"},(0,o.createElement)("a",{href:"#"},e.replace(/-/g," "))))))))}},3105:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r,m:()=>s});var o=l(7294),a=l(5335),i=l(4904),n=l(1411);function r({attributes:e,setAttributes:t,onClick:l,setSection:r,setToolbarSettings:s}){const{headingShow:p,headingStyle:c,headingAlign:u,headingURL:d,headingText:m,headingBtnText:g,subHeadingShow:y,subHeadingText:b,headingTag:v,filterShow:h,paginationShow:f,queryType:k,filterText:w,filterType:x,filterValue:T,paginationType:S,navPosition:P}=e;return(0,o.createElement)("div",{className:"ultp-heading-filter",onClick:e=>{e.stopPropagation(),l()}},(0,o.createElement)("div",{className:"ultp-heading-filter-in"},(0,o.createElement)(a.Z,{props:{headingShow:p,headingStyle:c,headingAlign:u,headingURL:d,headingText:m,setAttributes:t,headingBtnText:g,subHeadingShow:y,subHeadingText:b,headingTag:v}}),(h||f)&&(0,o.createElement)("div",{className:"ultp-filter-navigation"},h&&"posts"!=k&&"customPosts"!=k&&(0,o.createElement)(i.Z,{filterText:w,filterType:x,filterValue:T,onClick:()=>{r("filter"),s("filter")}}),f&&"navigation"==S&&"topRight"==P&&(0,o.createElement)(n.Z,{onClick:()=>{r("pagination"),s("pagination")}}))))}function s({attributes:e,setAttributes:t,onClick:l,setSection:r,setToolbarSettings:s}){const{headingShow:p,headingStyle:c,headingAlign:u,headingURL:d,headingText:m,headingBtnText:g,subHeadingShow:y,subHeadingText:b,headingTag:v,filterShow:h,paginationShow:f,queryType:k,filterText:w,filterType:x,filterValue:T,paginationType:S,navPosition:P}=e;return(0,o.createElement)("div",{className:"ultp-heading-filter",onClick:e=>{e.stopPropagation(),l()}},(0,o.createElement)("div",{className:"ultp-heading-filter-in"},(0,o.createElement)(a.Z,{props:{headingShow:p,headingStyle:c,headingAlign:u,headingURL:d,headingText:m,setAttributes:t,headingBtnText:g,subHeadingShow:y,subHeadingText:b,headingTag:v}}),(h||f)&&"posts"!=k&&"customPosts"!=k&&(0,o.createElement)("div",{className:"ultp-filter-navigation"},h&&"posts"!=k&&"customPosts"!=k&&(0,o.createElement)(i.Z,{filterText:w,filterType:x,filterValue:T,onClick:()=>{r("filter"),s("filter")}}),f&&"navigation"==S&&"topRight"==P&&(0,o.createElement)(n.Z,{onClick:()=>{r("pagination"),s("pagination")}}))))}},9236:(e,t,l)=>{"use strict";l.d(t,{A8:()=>u,E_:()=>p,En:()=>g,MV:()=>m,UU:()=>k,ZP:()=>r,_g:()=>y,kS:()=>h,nk:()=>s,qI:()=>b,w4:()=>d,xj:()=>f,y6:()=>v,zk:()=>c});var o=l(7294),a=(l(3049),l(3245)),i=l(8640);const n=({onClick:e})=>{const{showStyleButton:t,StyleButton:l}=(0,i.Z)(e);return(0,o.createElement)("div",{className:"ultp-block-image ultp-block-empty-image",onClick:t},l)};function r({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,imgSize:n,fallbackEnable:r,vidIconEnable:p,idx:c,catPosition:u,Category:d,onClick:m,vidOnClick:g}){const{showStyleButton:y,StyleButton:b}=(0,i.Z)((e=>{e.stopPropagation(),m()}));return(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${l} ${!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ultp-block-image-"+t+c:""} ultp-component-simple`,onClick:y},b,(0,o.createElement)("a",{className:"ultp-component-hover"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[n]:p&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":r&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),p&&a.has_video&&(0,o.createElement)(s,{onClick:g}),d)}function s({onClick:e}){return(0,o.createElement)("div",{onClick:t=>{t.stopPropagation(),e()},className:"ultp-video-icon"},a.ZP.play_line)}function p({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,fallbackEnable:r,vidIconEnable:s,catPosition:p,Category:c,showImage:u,imgCrop:d,onClick:m}){const g=e=>{e.stopPropagation(),m()},{showStyleButton:y,StyleButton:b}=(0,i.Z)(g);return(a.image&&!a.is_fallback||r)&&u?(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${l} ${!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ":""}`,onClick:y},b,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[d]:s&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":r&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),c):(0,o.createElement)(n,{onClick:g})}function c({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,fallbackEnable:r,vidIconEnable:s,catPosition:p,imgCropSmall:c,showImage:u,imgCrop:d,idx:m,showSmallCat:g,Category:y,onClick:b}){const v=e=>{e.stopPropagation(),b()},{showStyleButton:h,StyleButton:f}=(0,i.Z)(v);return(a.image&&!a.is_fallback||r)&&u?(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${l} ${!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ":""}`,onClick:h},f,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[0==m?d:c]:s&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":r&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),y):(0,o.createElement)(n,{onClick:v})}function u({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,fallbackEnable:r,vidIconEnable:s,imgCropSmall:p,showImage:c,imgCrop:u,idx:d,Category:m,Video:g=null,onClick:y}){const b=e=>{e.stopPropagation(),y()},{showStyleButton:v,StyleButton:h}=(0,i.Z)(b);return(a.image&&!a.is_fallback||r)&&c?(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${l} ${!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ultp-block-image-"+t+d:""}`,onClick:v},h,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[0==d?u:p]:s&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":r&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),g,m):(0,o.createElement)(n,{onClick:b})}function d({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,fallbackEnable:r,vidIconEnable:s,catPosition:p,showImage:c,idx:u,showSmallCat:d,imgSize:m,Category:g,onClick:y}){const b=e=>{e.stopPropagation(),y()},{showStyleButton:v,StyleButton:h}=(0,i.Z)(b);return(a.image&&!a.is_fallback||r)&&c?(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${l} ${!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ultp-block-image-"+t+u:""}`,onClick:v},h,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[m]:s&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":r&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),g):(0,o.createElement)(n,{onClick:b})}function m({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,fallbackEnable:r,vidIconEnable:s,catPosition:p,showImage:c,idx:u,showSmallCat:d,imgSize:m,Category:g,onClick:y}){const b=e=>{e.stopPropagation(),y()},{showStyleButton:v,StyleButton:h}=(0,i.Z)(b);return(a.image&&!a.is_fallback||r)&&c?(0,o.createElement)("div",{className:`ultp-block-image ultp-ux-style-btn-parent ultp-block-image-${l} ${!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ultp-block-image-"+t+u:""}`,onClick:v},h,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[m]:s&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":r&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),g):(0,o.createElement)(n,{onClick:b})}function g({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,fallbackEnable:r,vidIconEnable:s,catPosition:p,showImage:c,idx:u,showSmallCat:d,imgSize:m,layout:g,Category:y,onClick:b}){const v=e=>{e.stopPropagation(),b()},{showStyleButton:h,StyleButton:f}=(0,i.Z)(v);return(a.image&&!a.is_fallback||r)&&c?(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${l} ${!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ultp-block-image-"+t+u:""}`,onClick:h},f,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[m]:s&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":r&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),y):(0,o.createElement)(n,{onClick:v})}function y({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,fallbackEnable:r,vidIconEnable:s,showImage:p,idx:c,imgCrop:u,Category:d=null,Video:m=null,onClick:g}){const y=e=>{e.stopPropagation(),g()},{showStyleButton:b,StyleButton:v}=(0,i.Z)(y);return(a.image&&!a.is_fallback||r)&&p?(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${l} ${!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ultp-block-image-"+t+c:""}`,onClick:b},v,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[u]:s&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":r&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),m,d):(0,o.createElement)(n,{onClick:y})}function b({imgOverlay:e,imgOverlayType:t,imgAnimation:l,post:a,fallbackEnable:n,vidIconEnable:r,showImage:s,idx:p,imgCrop:c,imgCropSmall:u,layout:d,Category:m=null,Video:g=null,onClick:y}){const{showStyleButton:b,StyleButton:v}=(0,i.Z)((e=>{e.stopPropagation(),y()}));return(a.image&&!a.is_fallback||n)&&s&&(0==p||0!=p&&"layout1"===d||"layout4"===d)?(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${l} ${!0===e&&0==p?"ultp-block-image-overlay ultp-block-image-"+t+" ultp-block-image-"+t+p:""}`,onClick:b},v,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:a.title||"",src:a.image?a.image[0==p?c:u]:r&&a.has_video?"https://img.youtube.com/vi/"+a.has_video+"/0.jpg":n&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),g,m):null}function v({attributes:e,post:t,idx:l,VideoContent:a,CatCotent:n,onClick:r}){const{fallbackEnable:s,showImage:p,imgAnimation:c,imgOverlay:u,imgOverlayType:d,layout:m,imgCrop:g,vidIconEnable:y,imgCropSmall:b}=e,{showStyleButton:v,StyleButton:h}=(0,i.Z)((e=>{e.stopPropagation(),r()}));return(t.image&&!t.is_fallback||s)&&p&&(0==l||"layout3"==m||"layout2"==m||"layout5"==m)&&(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${c} ${!0===u?"ultp-block-image-overlay ultp-block-image-"+d+" ultp-block-image-"+d+l:""}`,onClick:v},h,0==l?(0,o.createElement)(o.Fragment,null,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:t.title||"",src:t.image?t.image[g]:y&&t.has_video?"https://img.youtube.com/vi/"+t.has_video+"/0.jpg":s&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),a):("layout3"===m||"layout2"===m||"layout5"===m)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:t.title||"",src:t.image?t.image[b]:y&&t.has_video?"https://img.youtube.com/vi/"+t.has_video+"/0.jpg":s&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),a),n)}function h({attributes:e,post:t,idx:l,VideoContent:a,CatCotent:n,onClick:r}){const{fallbackEnable:s,showImage:p,imgAnimation:c,imgOverlay:u,imgOverlayType:d,layout:m,imgCrop:g,vidIconEnable:y,imgCropSmall:b}=e,{showStyleButton:v,StyleButton:h}=(0,i.Z)((e=>{e.stopPropagation(),r()}));return(t.image&&!t.is_fallback||s)&&p&&(0==l||"layout3"==m||"layout2"==m||"layout5"==m)&&(0,o.createElement)("div",{className:`ultp-block-image ultp-block-image-${c} ${!0===u?"ultp-block-image-overlay ultp-block-image-"+d+" ultp-block-image-"+d+l:""}`,onClick:v},h,0==l?(0,o.createElement)(o.Fragment,null,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:t.title||"",src:t.image?t.image[g]:y&&t.has_video?"https://img.youtube.com/vi/"+t.has_video+"/0.jpg":s&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),a):("layout3"===m||"layout2"===m||"layout5"===m)&&(t.image&&!t.is_fallback||s)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("a",{href:"#"},(0,o.createElement)("img",{alt:t.title||"",src:t.image?t.image[b]:y&&t.has_video?"https://img.youtube.com/vi/"+t.has_video+"/0.jpg":s&&ultp_data.url+"assets/img/ultp-fallback-img.png"})),a),n)}function f({imgOverlay:e,imgOverlayType:t,post:l,fallbackEnable:a,idx:i,imgCrop:n,onClick:r}){return(0,o.createElement)("div",{className:"ultp-block-image "+(!0===e?"ultp-block-image-overlay ultp-block-image-"+t+" ultp-block-image-"+t+i:"")},(0,o.createElement)("a",{href:"#",className:"ultp-component-hover",onClick:e=>e.preventDefault()},(0,o.createElement)("img",{alt:l.title||"",src:l.image?l.image[n]:a&&ultp_data.url+"assets/img/ultp-fallback-img.png"})))}function k({children:e,onClick:t,contentHorizontalPosition:l,contentVerticalPosition:a}){const{showStyleButton:n,StyleButton:r}=(0,i.Z)(t);return(0,o.createElement)("div",{className:`ultp-block-content ultp-block-content-${a} ultp-block-content-${l} ultp-component-hover`,onClick:n},r,e)}},3508:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);function a({loadMoreText:e,onClick:t}){return(0,o.createElement)("div",{className:"ultp-loadmore ultp-component",onClick:e=>{e.stopPropagation(),t()}},(0,o.createElement)("a",{className:"ultp-loadmore-action ultp-disable-editor-click ultp-component-hover"},e))}},6896:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3049),i=l(3245);const{__}=wp.i18n,{dateI18n:n}=wp.date;function r({meta:e,post:t,metaSeparator:l,metaStyle:r,metaMinText:s,metaAuthorPrefix:p,metaDateFormat:c,authorLink:u,onClick:d}){const m=e=>{e.preventDefault()},g=e.includes("metaAuthor")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-block-author ultp-component-simple ultp-block-meta-element"},(0,o.createElement)("img",{className:"ultp-meta-author-img",src:t.avatar_url})):"",y=e.includes("metaAuthor")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-block-author ultp-component-simple ultp-block-meta-element"},(0,o.createElement)("img",{className:"ultp-meta-author-img",src:t.avatar_url})," ",p," ",(0,o.createElement)("a",{href:u?t.author_link:"#",onClick:m},t.display_name)):"",b=e.includes("metaAuthor")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-block-author ultp-component-simple ultp-block-meta-element"},i.ZP.user,(0,o.createElement)("a",{href:u?t.author_link:"#",onClick:m},t.display_name)):"",v=e.includes("metaAuthor")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-block-author ultp-component-simple ultp-block-meta-element"},p,(0,o.createElement)("a",{href:u?t.author_link:"#",onClick:m},t.display_name)):"",h=e.includes("metaDate")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-block-date ultp-component-simple ultp-block-meta-element"},n((0,a.De)(c),t.time)):"",f=e.includes("metaDate")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-block-date ultp-component-simple ultp-block-meta-element"},i.ZP.calendar,n((0,a.De)(c),t.time)):"",k=e.includes("metaDateModified")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-block-date ultp-component-simple ultp-block-meta-element"},n((0,a.De)(c),t.timeModified)):"",w=e.includes("metaDateModified")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-block-date ultp-component-simple ultp-block-meta-element"},i.ZP.calendar,n((0,a.De)(c),t.timeModified)):"",x=e.includes("metaComments")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-post-comment ultp-component-simple ultp-block-meta-element "},0===t.comments?t.comments+__(" comment","ultimate-post"):t.comments+__(" comments","ultimate-post")):"",T=e.includes("metaComments")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-post-comment ultp-component-simple ultp-block-meta-element"},i.ZP.comment,t.comments):"",S=e.includes("metaView")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-post-view ultp-component-simple ultp-block-meta-element"},0==t.view?"0 view":t.view+" views"):"",P=e.includes("metaView")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-post-view ultp-component-simple ultp-block-meta-element"},i.ZP.eye,t.view):"",C=e.includes("metaTime")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-post-time ultp-component-simple ultp-block-meta-element"},t.post_time," ",__("ago","ultimate-post")):"",E=e.includes("metaTime")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-post-time ultp-component-simple ultp-block-meta-element"},i.ZP.clock,t.post_time," ",__("ago","ultimate-post")):"",_=e.includes("metaRead")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-post-read ultp-component-simple ultp-block-meta-element"},t.reading_time," ",s):"",L=e.includes("metaRead")?(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),d()},className:"ultp-post-read ultp-component-simple ultp-block-meta-element"},i.ZP.book,t.reading_time," ",s):"";return(0,o.createElement)("div",{className:`ultp-block-meta ultp-block-meta-${l} ultp-block-meta-${r}`},"noIcon"==r&&(0,o.createElement)(o.Fragment,null,v," ",h," ",k," ",x," ",S," ",_," ",C),"icon"==r&&(0,o.createElement)(o.Fragment,null,b," ",f," ",w," ",T," ",P," ",E," ",L),"style2"==r&&(0,o.createElement)(o.Fragment,null,v," ",f," ",w," ",T," ",P," ",E," ",L),"style3"==r&&(0,o.createElement)(o.Fragment,null,y," ",f," ",w," ",T," ",P," ",E," ",L),"style4"==r&&(0,o.createElement)(o.Fragment,null,b," ",f," ",w," ",T," ",P," ",E," ",L),"style5"==r&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-meta-media"},g),(0,o.createElement)("div",{className:"ultp-meta-body"},v," ",f," ",w," ",T," ",P," ",E," ",L)),"style6"==r&&(0,o.createElement)(o.Fragment,null,g," ",v," ",f," ",w," ",T," ",P," ",E," ",L))}},1411:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(3245);const{__}=wp.i18n;function i({onClick:e}){return(0,o.createElement)("div",{onClick:t=>{t.stopPropagation(),e()},className:"ultp-next-prev-wrap ultp-disable-editor-click ultp-component"},(0,o.createElement)("ul",{className:"ultp-component-hover"},(0,o.createElement)("li",null,(0,o.createElement)("a",{className:"ultp-prev-action ultp-disable",href:"#"},a.ZP.leftAngle2,(0,o.createElement)("span",{className:"screen-reader-text"},__("Previous","ultimate-post")))),(0,o.createElement)("li",null,(0,o.createElement)("a",{className:"ultp-prev-action",href:"#"},a.ZP.rightAngle2,(0,o.createElement)("span",{className:"screen-reader-text"},__("Next","ultimate-post"))))))}},3985:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(3245);const{__}=wp.i18n;function i({paginationNav:e,paginationAjax:t,paginationText:l="",pages:i=4,onClick:n}){const r=l.split("|"),s=r[0]||__("Previous","ultimate-post"),p=r[1]||__("Next","ultimate-post");return(0,o.createElement)("div",{onClick:e=>{e.stopPropagation(),n()},className:"ultp-pagination-wrap ultp-disable-editor-click"+(t?" ultp-pagination-ajax-action":"")+" ultp-component"},(0,o.createElement)("ul",{className:"ultp-pagination ultp-component-hover"},(0,o.createElement)("li",null,(0,o.createElement)("a",{href:"#",className:"ultp-prev-page-numbers"},a.ZP.leftAngle2,"textArrow"==e?" "+s:"")),i>4&&(0,o.createElement)("li",{className:"ultp-first-dot"},(0,o.createElement)("a",{href:"#"},"...")),new Array(i>2?3:i).fill(0).map(((e,t)=>(0,o.createElement)("li",{key:t},(0,o.createElement)("a",{href:"#"},t+1)))),i>4&&(0,o.createElement)("li",{className:"ultp-last-dot"},(0,o.createElement)("a",{href:"#"},"...")),i>5&&(0,o.createElement)("li",{className:"ultp-last-pages"},(0,o.createElement)("a",{href:"#"},i)),(0,o.createElement)("li",null,(0,o.createElement)("a",{href:"#",className:"ultp-next-page-numbers"},"textArrow"==e?p+" ":"",a.ZP.rightAngle2))))}},8152:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(3245);const{__}=wp.i18n;function i({readMoreText:e,readMoreIcon:t,titleLabel:l="",onClick:i}){return(0,o.createElement)("div",{className:"ultp-block-readmore"},(0,o.createElement)("a",{onClick:e=>{e.stopPropagation(),i()},className:"ultp-component-simple","aria-label":l},e||__("Read More","ultimate-post"),a.ZP[t]))}},6005:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);function a({title:e,headingTag:t,titleLength:l,titleStyle:a,onClick:i}){const n=`${t}`;if(e&&0!=l){let t=e.split(" ");e=t.length>l?t.splice(0,l).join(" ")+"...":e}return(0,o.createElement)(n,{className:`ultp-block-title ${"none"===a?"":`ultp-title-${a}`} `},(0,o.createElement)("a",{className:"ultp-component-simple",dangerouslySetInnerHTML:{__html:e},onClick:e=>{e.preventDefault(),e.stopPropagation(),i(e)}}))}},9838:(e,t,l)=>{"use strict";l.d(t,{Kh:()=>g});var o=l(3049),a=l(6464),i=l(9735);const n=(e,t,l)=>e.replace(new RegExp(t,"g"),l),r=e=>"object"==typeof e&&0!=Object.keys(e).length,s=(e,t)=>(e=e.replace(new RegExp("{{WOPB}}","g"),".wopb-block-"+t)).replace(new RegExp("{{ULTP}}","g"),".ultp-block-"+t),p=(e,t)=>{let l="";return t.forEach((e=>{l+=e+";"})),e+"{"+l+"}"},c=(e,t)=>{let l="";return t.forEach((t=>{l+=e+t})),l},u=(e,t,l,o,a=!1,i="")=>{if(o="object"!=typeof o?o:d(o).data,"string"==typeof e){if(e){if(o){let r=s(e,t);return"boolean"==typeof o?[r]:-1==r.indexOf("{{")&&r.indexOf("{")<0?[r+o]:(a&&(i||0==i)&&(r=n(r,"{{"+a+"}}","object"==typeof i?"":i)),[n(r,"{{"+l+"}}",o)])}return[]}return[s(o,t)]}{let a=[];return e.forEach((e=>{a.push(n(s(e,t),"{{"+l+"}}",o))})),a}},d=e=>e.openTypography?{data:(0,a.zG)(e),action:"append"}:e.openBorder?{data:(0,a.Rc)(e),action:"append"}:e.openShadow&&e.color?{data:(0,a.jE)(e),action:"append"}:void 0!==e.top||void 0!==e.left||void 0!==e.right||void 0!==e.bottom?{data:(0,a.A9)(e),action:"replace"}:e.openColor?e.replace?{data:(0,a.ro)(e),action:"replace"}:{data:(0,a.ro)(e),action:"append"}:e.openFilter?{data:(0,a.Su)(e),action:"replace"}:e.onlyUnit?{data:e._value?e._value+(e.unit||""):"",action:"replace"}:{data:"",action:"append"};function m(e,t,l,o,a,i,n,m,g,y={}){if(!((e,t,l={})=>{let o=!0;return t?.hasOwnProperty("depends")&&t.depends.forEach((t=>{let a;a=l?.id?e[l.key][l.id]?.[t.key]:e[t.key];let i=o;if("=="==t.condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=a==t.value;else{let e=!1;t.value.forEach((t=>{a==t&&(e=!0)})),o=e}else if("!="==t.condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=a!=t.value;else{let e=!1;Array.isArray(t.value)&&t.value.forEach((t=>{a!=t&&(e=!0)})),e&&(o=!0)}o=0!=i&&o})),o})(e,l,y))return{_lg:[],_sm:[],_xs:[],_notResponsiveCss:[]};let b,v=[],h=[],f=[],k=[];if(b=y?.id?e[y.key][y.id]?e[y.key][y.id][t]:e[y.key].default[t]:e[t],"object"==typeof b){let e=!1,l="";if(b.lg&&(e=!0,l="object"==typeof b.lg?d(b.lg).data:b.lg+(b.ulg||b.unit||""),v=v.concat(u(o,a,t,l,m,"object"==typeof g?g?.lg:g))),b.sm&&(e=!0,l="object"==typeof b.sm?d(b.sm).data:b.sm+(b.usm||b.unit||""),h=h.concat(u(o,a,t,l,m,"object"==typeof g?g?.sm:g))),b.xs&&(e=!0,l="object"==typeof b.xs?d(b.xs).data:b.xs+(b.uxs||b.unit||""),f=f.concat(u(o,a,t,l,m,"object"==typeof g?g?.xs:g))),!e){const e=d(b),l=s(o,a);"object"==typeof e.data?0!=Object.keys(e.data).length&&(e.data.background&&k.push(l+e.data.background),r(e.data.lg)&&v.push(p(l,e.data.lg)),r(e.data.sm)&&h.push(p(l,e.data.sm)),r(e.data.xs)&&f.push(p(l,e.data.xs)),e.data.simple&&k.push(l+e.data.simple),e.data.font&&v.unshift(e.data.font),e.data.shape&&(e.data.shape.forEach((function(e){k.push(l+e)})),r(e.data.data.lg)&&v.push(c(l,e.data.data.lg)),r(e.data.data.sm)&&h.push(c(l,e.data.data.sm)),r(e.data.data.xs)&&f.push(c(l,e.data.data.xs)))):e.data&&-1==e.data.indexOf("{{")&&("append"==e.action?k.push(l+e.data):k.push(u(o,a,t,e.data,m,g)))}}else"hideExtraLarge"==t?i&&(k=k.concat("@media (min-width: "+(n.breakpointSm||992)+"px) {"+u(o,a,t,b,m,g)+"}")):"hideTablet"==t?i&&(k=k.concat("@media only screen and (max-width: "+(n.breakpointSm||991)+"px) and (min-width: 768px) {"+u(o,a,t,b,m,g)+"}")):"hideMobile"==t?i&&(k=k.concat("@media (max-width: "+(n.breakpointXs||767)+"px) {"+u(o,a,t,b,m,g)+"}")):b&&(k=k.concat(u(o,a,t,b,m,g)));return{_lg:v,_sm:h,_xs:f,_notResponsiveCss:k}}const g=(e,t,l,a=!1)=>{if(!l)return;let r="",p=[],c=[],u=[],d=[];const g=function(){const e=localStorage.getItem("ultpGlobal"+ultp_data.blog);if(e)try{const t=JSON.parse(e);return"object"==typeof t?t:{}}catch{return{}}return{}}();if(Object.keys(e).forEach((o=>{const r="string"==typeof t?wp.blocks.getBlockType(t).attributes:t,y=r[o]?.anotherKey,b=e[y];r[o]&&r[o].hasOwnProperty("style")?r[o].style.forEach(((t,i)=>{if(t?.hasOwnProperty("selector")){const i=t.selector,{_lg:n,_sm:r,_xs:s,_notResponsiveCss:v}=m(e,o,t,i,l,a,g,y,b);p=p.concat(n),c=c.concat(r),u=u.concat(s),d=d.concat(v)}})):((0,i.o6)()&&e.dcEnabled&&"dcFields"===o&&e[o].forEach((t=>{var o;t&&(Object.keys(null!==(o=e.dcGroupStyles[t.id])&&void 0!==o?o:e.dcGroupStyles.default).forEach((o=>{r.dcGroupStyles.fields[o].style?.forEach((i=>{const n=i.selector.replace("{{dcID}}",t.id),{_lg:r,_sm:s,_xs:v,_notResponsiveCss:h}=m(e,o,i,n,l,a,g,y,b,{id:t.id,key:"dcGroupStyles"});p=p.concat(r),c=c.concat(s),u=u.concat(v),d=d.concat(h)}))})),t.fields.forEach((t=>{var o;Object.keys(null!==(o=e.dcFieldStyles[t.id])&&void 0!==o?o:e.dcFieldStyles.default).forEach((o=>{r.dcFieldStyles.fields[o].style?.forEach((i=>{const n=i.selector.replace("{{dcID}}",t.id),{_lg:r,_sm:s,_xs:v,_notResponsiveCss:h}=m(e,o,i,n,l,a,g,y,b,{id:t.id,key:"dcFieldStyles"});p=p.concat(r),c=c.concat(s),u=u.concat(v),d=d.concat(h)}))}))})))})),r[o]&&"array"==r[o].type&&r[o].hasOwnProperty("fields")&&Object.keys(r[o].fields).forEach((t=>{r[o].fields[t].hasOwnProperty("style")&&r[o].fields[t].style.forEach(((a,i)=>{a?.hasOwnProperty("selector")&&Array.isArray(e[o])&&e[o].forEach(((e,o)=>{let i=s(a.selector,l);var r;r=o,i=i.replace(new RegExp("{{REPEAT_CLASS}}","g"),".ultp-repeat-"+r),i=n(i,"{{"+t+"}}",e[t]),d.push(i)}))}))})))})),p.length>0&&(r+=p.join("")),c.length>0&&(r+="@media (max-width: "+(g.breakpointSm||991)+"px) {"+c.join("")+"}"),u.length>0&&(r+="@media (max-width: "+(g.breakpointXs||767)+"px) {"+u.join("")+"}"),d.length>0&&(r+=d.join("")),a)return"true"==ultp_data.settings?.ultp_custom_font&&ultp_data.active?(0,o.RQ)(r,!0):r;"true"==ultp_data.settings?.ultp_custom_font&&(r=(0,o.RQ)(r,!0)),y(r,l)},y=(e,t)=>{if(wp.data.select("core/edit-post")||document.body.classList.contains("site-editor-php")){const l=window.document.getElementsByName("editor-canvas");l[0]?.contentDocument?setTimeout((function(){b(l[0]?.contentDocument,e,t)}),0):b(window.document,e,t)}else b(window.document,e,t)},b=(e,t,l)=>{if(null===(e=e||window.document).getElementById("ultp-block-"+l)){let o=document.createElement("style");o.type="text/css",o.id="ultp-block-"+l,o.styleSheet?o.styleSheet.cssText=t:o.innerHTML=t,e.getElementsByTagName("head")[0].appendChild(o)}else e.getElementById("ultp-block-"+l).innerHTML=t}},6464:(e,t,l)=>{"use strict";l.d(t,{A9:()=>d,Rc:()=>s,Su:()=>g,jE:()=>r,ro:()=>m,zG:()=>u});var o=l(448),a=l(3049);const i=!((!ultp_data.settings?.hasOwnProperty("disable_google_font")||"yes"==ultp_data.settings.disable_google_font)&&ultp_data.settings?.hasOwnProperty("disable_google_font")),n=["Arial","Tahoma","Verdana","Helvetica","Times New Roman","Trebuchet MS","Georgia"],r=e=>"{ box-shadow:"+(e.inset||"")+" "+e.width.top+"px "+e.width.right+"px "+e.width.bottom+"px "+e.width.left+"px "+e.color+"; }",s=e=>((e=Object.assign({},{type:"solid",width:{},color:"#e5e5e5"},e)).width.unit&&e.width.unit,`{ border-color:  ${e.color?e.color:"#555d66"}; border-style: ${e.type?e.type:"solid"}; border-width: ${d(e.width)}; }`),p=(e,t)=>{let l={};return e&&e.lg&&(l.lg=t.replace(new RegExp("{{key}}","g"),e.lg+((0,o.MR)(e.lg)?e.ulg||e.unit||"px":""))),e&&e.sm&&(l.sm=t.replace(new RegExp("{{key}}","g"),e.sm+((0,o.MR)(e.sm)?e.usm||e.unit||"px":""))),e&&e.xs&&(l.xs=t.replace(new RegExp("{{key}}","g"),e.xs+((0,o.MR)(e.xs)?e.uxs||e.unit||"px":""))),l},c=(e,t)=>(e.lg&&t.lg.push(e.lg),e.sm&&t.sm.push(e.sm),e.xs&&t.xs.push(e.xs),t),u=e=>{let t="";e.family&&"none"!=e.family&&(n.includes(e.family)||(0,a.RQ)().some((t=>t.n==e.family))||i&&(0,o.MR)(e.family)&&(t="@import url('https://fonts.googleapis.com/css?family="+e.family.replace(" ","+")+":"+(e.weight||400)+"');"));const l=!(!e.family||(0,o.MR)(e.family)&&!n.includes(e.family)&&!(0,a.RQ)().some((t=>t.n==e.family)))||i;let r={lg:[],sm:[],xs:[]};e.size&&(r=c(p(e.size,"font-size:{{key}}"),r)),e.height&&(r=c(p(e.height,"line-height:{{key}} !important"),r)),e.spacing&&(r=c(p(e.spacing,"letter-spacing:{{key}}"),r));let s="{"+(e.family&&l&&"none"!=e.family?"font-family:"+e.family+","+(e.type||"sans-serif")+";":"")+(e.weight?"font-weight:"+e.weight+";":"")+(e.color?"color:"+e.color+";":"")+(e.style?"font-style:"+e.style+";":"")+(e.transform?"text-transform:"+e.transform+";":"")+(e.decoration?"text-decoration:"+e.decoration+";":"")+"}";return{lg:r.lg,sm:r.sm,xs:r.xs,simple:s,font:t}},d=e=>{const t=e.unit?e.unit:"px";return""!=e.top&&null!=e.top||""!=e.right&&null!=e.right||""!=e.bottom&&null!=e.bottom||""!=e.left&&null!=e.left?(e.top||0)+t+" "+(e.right||0)+t+" "+(e.bottom||0)+t+" "+(e.left||0)+t:""},m=e=>{let t=e.clip?"-webkit-background-clip: text; -webkit-text-fill-color: transparent;":"";if("color"==e.type)t+=e.color?"background-color: "+e.color+";":"";else if("gradient"==e.type&&e.gradient)"object"==typeof e.gradient?"linear"==e.gradient.type?t+="background-image : linear-gradient("+e.gradient.direction+"deg, "+e.gradient.color1+" "+e.gradient.start+"%,"+e.gradient.color2+" "+e.gradient.stop+"%);":t+="background-image : radial-gradient( circle at "+e.gradient.radial+" , "+e.gradient.color1+" "+e.gradient.start+"%,"+e.gradient.color2+" "+e.gradient.stop+"%);":t+="background-image:"+e.gradient+";";else if("image"==e.type){var l;(e.fallbackColor||e.color)&&(t+="background-color:"+(null!==(l=e.fallbackColor)&&void 0!==l?l:e.color)+";"),e.image&&(t+='background-image: url("'+e.image+'");'+(e.position?"background-position-x:"+100*e.position.x+"%;background-position-y:"+100*e.position.y+"%;":"")+(e.attachment?"background-attachment:"+e.attachment+";":"")+(e.repeat?"background-repeat:"+e.repeat+";":"")+(e.size?"background-size:"+e.size+";":""))}else"video"==e.type&&e.fallback&&(t+='background-image: url("'+e.fallback+'"); background-size: cover; background-position: 50% 50%');return e.replace?t:"{"+t+"}"},g=e=>{let t="";return e.hue&&(t=" hue-rotate("+e.hue+"deg)"),e.saturation&&(t+=" saturate("+e.saturation+"%)"),e.brightness&&(t+=" brightness("+e.brightness+"%)"),e.contrast&&(t+=" contrast("+e.contrast+"%)"),e.invert&&(t+=" invert("+e.invert+"%)"),e.blur&&(t+=" blur("+e.blur+"px)"),"filter:"+t+";"}},8958:(e,t,l)=>{"use strict";l.d(t,{Z:()=>c});var o=l(7294),a=l(8949),i=l(3245),n=l(7763),r=l(3100);const{__}=wp.i18n,{useState:s,useEffect:p}=wp.element,c=e=>{const{clientId:t,attributes:l,label:c,name:u}=e.store,[d,m]=s({designList:[],error:!1,reload:!1,reloadId:"",templatekitCol:"ultp-templatekit-col3",fetch:!1,loading:!1}),{designList:g,error:y,reload:b,reloadId:v,templatekitCol:h,fetch:f,loading:k}=d,[w,x]=s(!1),[T,S]=s([]),[P,C]=s(!1),E=async()=>{m({...d,loading:!0});const e=u.split("/");wp.apiFetch({path:"/ultp/v2/fetch_premade_data",method:"POST",data:{type:"design"}}).then((t=>{if(t.success){const l=JSON.parse(t.data);e[1]&&void 0===l[e[1]]?(x(!0),_()):(m({...d,loading:!1,designList:l[e[1]]}),x(!1))}}))};p((()=>{I("","","fetchData"),E()}),[]);const _=()=>{m({...d,fetch:!0}),wp.apiFetch({path:"/ultp/v2/fetch_premade_data",method:"POST",data:{type:"fetch_all_data"}}).then((e=>{e.success&&(E(),m({...d,fetch:!1}))}))},L=e=>{const{replaceBlock:o}=wp.data.dispatch("core/block-editor"),a=["queryNumber","queryNumPosts","queryType","queryTax","queryRelation","queryOrderBy","queryOrder","queryInclude","queryExclude","queryAuthor","queryOffset","metaKey","queryExcludeTerm","queryExcludeAuthor","querySticky","queryUnique","queryPosts","queryCustomPosts"];window.fetch("https://ultp.wpxpo.com/wp-json/restapi/v2/single-design",{method:"POST",body:new URLSearchParams("license="+ultp_data.license+"&design_id="+e)}).then((e=>e.text())).then((e=>{if((e=JSON.parse(e)).success&&e.rawData){let i=wp.blocks.parse(e.rawData),n=i[0].attributes;for(let e=0;e<a.length;e++)n[a[e]]&&delete n[a[e]];n=Object.assign({},l,n),i[0].attributes=n,m({...d,error:!1,reload:!1,reloadId:""}),o(t,i)}else m({...d,error:!0,reload:!1,reloadId:""})})).catch((e=>{console.error(e)}))},I=(e,t="",l="")=>{wp.apiFetch({path:"/ultp/v2/premade_wishlist_save",method:"POST",data:{id:e,action:t,type:l}}).then((e=>{e.success&&S(Array.isArray(e.wishListArr)?e.wishListArr:Object.values(e.wishListArr||{}))}))},U=(0,o.createElement)("span",{className:"ultp-templatekit-design-template-modal-title"},(0,o.createElement)("img",{src:ultp_data.url+`assets/img/blocks/${e.store.name.split("/")[1]}.svg`}),(0,o.createElement)("span",null,e.store.name.split("/")[1].replace("-"," ").replace("-"," #")));let B=(0,r.Z)("","blockPatternPro",ultp_data.affiliate_id);return(0,o.createElement)("div",{className:"ultp-templatekit-design-template-container ultp-templatekit-list-container ultp-predefined-patterns"},c&&(0,o.createElement)("label",null,c),(0,o.createElement)("div",{className:"ultp-popup-header "},(0,o.createElement)("div",{className:"ultp-popup-filter-title"},(0,o.createElement)("div",{className:"ultp-popup-filter-image-head"},U),(0,o.createElement)("div",{className:"ultp-popup-filter-sync-close"},(0,o.createElement)("span",{className:"ultp-templatekit-iconcol2 "+("ultp-templatekit-col2"==h?"ultp-lay-active":""),onClick:()=>m({...d,templatekitCol:"ultp-templatekit-col2"})},n.Z.grid_col1),(0,o.createElement)("span",{className:"ultp-templatekit-iconcol3 "+("ultp-templatekit-col3"==h?"ultp-lay-active":""),onClick:()=>m({...d,templatekitCol:"ultp-templatekit-col3"})},n.Z.grid_col2),(0,o.createElement)("div",{className:"ultp-premade-wishlist-con"},(0,o.createElement)("span",{className:"ultp-premade-wishlist cursor "+(P?"ultp-wishlist-active":""),onClick:()=>{C(!P)}},i.ZP[P?"love_solid":"love_line"])),(0,o.createElement)("div",{onClick:()=>_(),className:"ultp-filter-sync"},(0,o.createElement)("span",{className:"dashicons dashicons-update-alt"+(f?" rotate":"")}),__("Synchronize","ultimate-post")),(0,o.createElement)("button",{className:"ultp-btn-close",onClick:()=>e.closeModal(),id:"ultp-btn-close"},(0,o.createElement)("span",{className:"dashicons dashicons-no-alt"}))))),g?.length?(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:`ultp-premade-grid ultp-templatekit-content-designs ${h}`},g.map(((e,t)=>(!P||P&&T?.includes(e.ID))&&(0,o.createElement)("div",{key:t,className:"ultp-card ultp-item-list"},(0,o.createElement)("div",{className:"ultp-item-list-overlay"},(0,o.createElement)("a",{className:"ultp-templatekit-img",href:e.liveurl,target:"_blank"},(0,o.createElement)("img",{src:e.image,loading:"lazy",alt:e.title})),(0,o.createElement)("div",{className:"ultp-list-dark-overlay"},e.pro?!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-templatekit-premium-btn"},__("Pro","ultimate-post")):(0,o.createElement)("span",{className:"ultp-templatekit-premium-btn ultp-templatekit-premium-free-btn"},__("Free","ultimate-post")),(0,o.createElement)("a",{className:"ultp-overlay-view",href:"https://www.wpxpo.com/postx/patterns/#demoid"+e.ID,target:"_blank"},(0,o.createElement)("span",{className:"dashicons dashicons-visibility"})," ",__("Live Preview","ultimate-post")))),(0,o.createElement)("div",{className:"ultp-item-list-info ultp-p10"},(0,o.createElement)("span",{className:"ultp-templatekit-title"},e.name),(0,o.createElement)("span",{className:"ultp-action-btn"},(0,o.createElement)("span",{className:"ultp-premade-wishlist",onClick:()=>{I(e.ID,T?.includes(e.ID)?"remove":"")}},i.ZP[T?.includes(e.ID)?"love_solid":"love_line"]),e.pro&&!ultp_data.active?(0,o.createElement)("a",{className:"ultp-btns ultpProBtn",target:"_blank",href:B},__("Upgrade to Pro","ultimate-post"),"  ➤"):e.pro&&y?(0,o.createElement)("a",{className:"ultp-btn ultp-btn-sm ultp-btn-success",target:"_blank",href:B},__("Get License","ultimate-post")):(0,o.createElement)("span",{onClick:()=>{return t=e.ID,l=e.pro,m({...d,reload:!0,reloadId:t}),void(l?ultp_data.active&&L(t):L(t));var t,l},className:"ultp-btns ultp-btn-import"},i.ZP.arrow_down_line,__("Import","ultimate-post"),b&&v==e.ID?(0,o.createElement)("span",{className:"dashicons dashicons-update rotate"}):"")))))))):w||k?(0,o.createElement)("div",{className:"ultp-premade-grid ultp-templatekit-col3 skeletonOverflow"},Array(6).fill(1).map(((e,t)=>(0,o.createElement)("div",{key:t,className:"ultp-item-list"},(0,o.createElement)("div",{className:"ultp-item-list-overlay"},(0,o.createElement)(a.Z,{type:"custom_size",c_s:{size1:100,unit1:"%",size2:300,unit2:"px"}})),(0,o.createElement)("div",{className:"ultp-item-list-info"},(0,o.createElement)(a.Z,{type:"custom_size",c_s:{size1:50,unit1:"%",size2:25,unit2:"px",br:2}}),(0,o.createElement)("span",{className:"ultp-action-btn"},(0,o.createElement)("span",{className:"ultp-premade-wishlist"},(0,o.createElement)(a.Z,{type:"custom_size",c_s:{size1:30,unit1:"px",size2:25,unit2:"px",br:2}})),(0,o.createElement)(a.Z,{type:"custom_size",c_s:{size1:70,unit1:"px",size2:25,unit2:"px",br:2}}))))))):(0,o.createElement)("span",{className:"ultp-image-rotate"},__("No Data Found...","ultimate-post")))}},5234:(e,t,l)=>{"use strict";l.d(t,{Z:()=>K});var o=l(7294),a=l(118),i=l(9735),n=l(1579),r=l(8054),s=l(6766),p=l(5641),c=l(3613),u=l(6687),d=l(7484),m=l(5009),g=l(1187),y=l(7567),b=l(8477),v=l(1557),h=l(3248),f=l(9811),k=l(7024),w=l(3780),x=l(7928),T=l(6849),S=l(1525),P=l(1931),C=l(8073),E=l(2217),_=l(4390),L=l(2616),I=l(3956),U=l(4774),B=l(405),M=l(7106),A=l(7025),H=l(9902),N=l(7763),j=l(3100);const{__}=wp.i18n,{Fragment:O,useState:Z,useRef:R,useEffect:D}=wp.element,{TextControl:F,TextareaControl:z,TabPanel:W,Tooltip:G,ToggleControl:V,Notice:q}=wp.components,$=[{name:"settings",title:"Settings",icon:N.Z.settings3},{name:"style",title:"Style",icon:N.Z.style}],K=e=>{const{title:t,initialOpen:l,pro:N,data:R,col:D,store:F,youtube:z,doc:K,depend:J,hrIdx:Y=[],isToolbar:X,isTab:Q,tabData:ee,tabs:te=$,dynamicHelpText:le}=e,[oe,ae]=(0,H.Z)(),[ie,ne]=Z("no-section"),[re,se]=Z(""),[pe,ce]=Z("settings"),ue=(e,t,l,o,a)=>{let i=[...e.attributes[t]];return i[l][o]=a,i},de=e=>Q?(0,o.createElement)(W,{onSelect:e=>{(0,A.a2)(t,e),ce(e)},initialTabName:(0,A.zC)(t),className:"ultp-accordion-tab",tabs:te},(t=>e(null,!0,!1,!1))):e();function me(e){if("number"==typeof e)return F.attributes.dcFields[e]?.id;if("object"==typeof e){const{groupIdx:t,fieldIdx:l}=e;return F.attributes.dcFields[t].fields[l].id}}function ge(e,t,l){const o=me(e),a="number"==typeof e?"dcGroupStyles":"dcFieldStyles",i=wp.data.select("core/block-editor").getBlockAttributes(F.clientId),n={...F.attributes[a],[o]:{...i?.[a]?.default,...F.attributes[a][o],...null===t&&"object"==typeof l?l:{[t]:l}}};F.setAttributes({[a]:n})}const ye=(e,t=!0,l=!1,H=!0,N=!1)=>{const j=wp.blocks.getBlockType(F.name),Z=(e||R).filter((e=>!(!H&&!["separator","notice"].includes(e.type))||(Q?ee&&ee[pe]&&ee[pe].includes(e.key)||e.tab===pe:void 0)));return N||Y.forEach((e=>{Q?e.tab===pe&&e.hr.forEach((e=>{e instanceof Object?e.idx&&e.idx<=Z.length&&Z.splice(e.idx,0,{type:"separator",label:e.label}):e&&e<=Z.length&&Z.splice(e,0,{type:"separator"})})):e<=Z.length&&Z.splice(e,0,{type:"separator"})})),Z.map(((e,H)=>{if(e&&e.disableIf&&e.disableIf(F.attributes))return;let N,Z=null;if(null!=e.dcIdx){const t=me(e.dcIdx);F.attributes[e.dcParentKey][t]?.hasOwnProperty(e.key)?(N=F.attributes[e.dcParentKey][t][e.key],e.key2&&(Z=F.attributes[e.dcParentKey][t][e.key2])):(N=F.attributes[e.dcParentKey].default[e.key],e.key2&&(Z=F.attributes[e.dcParentKey].default[e.key2]))}else N=l?F.attributes[l.parent_id][l.block_id][e.key]:F.attributes[e.key],e.key2&&(Z=l?F.attributes[l.parent_id][l.block_id][e.key2]:F.attributes[e.key2]);if(!t||void 0===(!1===N||N)||!j.attributes[e.key].style||!1!==((e,t,l)=>{let o=!0,a="";return t.forEach(((t,l)=>{if(t?.hasOwnProperty("depends")){let l="";t.depends.forEach((t=>{"=="==t.condition?o="object"==typeof t.value?t.value.includes(e[t.key]):e[t.key]==t.value:"!="==t.condition?o="object"==typeof t.value?Array.isArray(t.value)?!t.value.includes(e[t.key]):!!e[t.key].lg:e[t.key]!=t.value:"MATCH_VALUE_ONLY"===t.condition&&(o=t.value===e[t.key]),""==l&&0==o&&(l="no")})),o="no"!=l}1==o&&""==a&&(a="yes")})),o="yes"==a,o})(F.attributes,j.attributes[e.key].style,e.key)){if("alignment"==e.type)return(0,o.createElement)(r.Z,{key:H,value:N,label:e.label,alignIcons:e.icons,responsive:e.responsive,disableJustify:e.disableJustify,device:oe,options:e.options,toolbar:e.toolbar,setDevice:e=>ae(e),onChange:t=>{null!=e.dcIdx?ge(e.dcIdx,e.key,t):F.setAttributes({[e.key]:t})}});if("border"==e.type)return(0,o.createElement)(s.Z,{key:H,value:N,label:e.label,onChange:t=>F.setAttributes({[e.key]:t})});if("boxshadow"==e.type)return(0,o.createElement)(p.Z,{key:H,value:N,label:e.label,onChange:t=>F.setAttributes({[e.key]:t})});if("color"==e.type)return(0,o.createElement)(u.Z,{key:H,value:N,value2:Z,label:e.label,pro:e.pro,inline:e.inline,onChange:t=>{if(e.key2){const l=Array.isArray(t)?{...void 0!==t[0]?{[e.key]:t[0]}:{},...void 0!==t[1]?{[e.key2]:t[1]}:{}}:{[e.key]:t,[e.key2]:t};null!=e.dcIdx?ge(e.dcIdx,null,l):F.setAttributes(l)}else null!=e.dcIdx?ge(e.dcIdx,e.key,t):F.setAttributes(l?{[l.parent_id]:ue(F,l.parent_id,l.block_id,e.key,t)}:{[e.key]:t})}});if("color2"==e.type)return(0,o.createElement)(d.Z,{key:H,value:N,clip:e.clip,label:e.label,pro:e.pro,image:e.image,video:e.video,extraClass:e.extraClass||"",customGradient:e.customGradient||[],onChange:t=>F.setAttributes(l?{[l.parent_id]:ue(F,l.parent_id,l.block_id,e.key,t)}:{[e.key]:t})});if("divider"==e.type)return(0,o.createElement)(g.Z,{key:H,label:e.label});if("dimension"==e.type)return(0,o.createElement)(m.Z,{key:H,value:N,min:e.min,max:e.max,unit:e.unit,step:e.step,label:e.label,responsive:e.responsive,device:oe,setDevice:e=>ae(e),onChange:t=>F.setAttributes({[e.key]:t})});if("media"==e.type)return(0,o.createElement)(w.Z,{key:H,value:N,label:e.label,multiple:e.multiple,onChange:t=>F.setAttributes({[e.key]:t})});if("radioimage"==e.type)return(0,o.createElement)(T.Z,{key:H,value:N,label:e.label,isText:e.isText,options:e.options,onChange:t=>F.setAttributes({[e.key]:t})});if("range"==e.type){let t=N;if("queryNumPosts"==e.key&&JSON.stringify(F.attributes[e.key])==JSON.stringify(j.attributes[e.key].default)){const e=F.attributes.queryNumber,l=j.attributes.queryNumber.default;JSON.stringify(e)!=JSON.stringify(l)&&(t={lg:e,sm:e,xs:e},F.setAttributes({queryNumPosts:t}))}return(0,o.createElement)(S.Z,{key:H,_inline:e._inline,metaKey:e.key,value:t,min:e.min,max:e.max,step:e.step,unit:e.unit,label:e.label,pro:e.pro,help:e.help,responsive:e.responsive,device:oe,clientId:e.clientId||"",updateChild:e.updateChild||!1,compact:e.compact,setDevice:e=>ae(e),onChange:t=>{null!=e.dcIdx?ge(e.dcIdx,e.key,t):F.setAttributes({[e.key]:t})}})}if("select"==e.type){let t=N;if("queryType"==e.key){const e=F.attributes.queryInclude;e&&"[]"==F.attributes.queryCustomPosts&&"customPosts"!=N&&F.setAttributes({queryType:"customPosts",queryCustomPosts:JSON.stringify(e.split(",").map((e=>({value:e,title:e}))))})}let a=e.options;if("queryTax"==e.key||"queryTaxValue"==e.key||"filterType"==e.key||"filterValue"==e.key||"taxSlug"==e.key||"taxValue"==e.key||"taxonomy"==e.key){let t=[],l=localStorage.getItem("ultpTaxonomy");if(l=JSON.parse(l),"queryTax"==e.key||"filterType"==e.key||"taxonomy"==e.key)l?.hasOwnProperty(F.attributes.queryType)&&(l=l[F.attributes.queryType],t=[{value:"",label:"- Select -"}],Object.keys(l).length>0&&(Object.keys(l).forEach((function(e){t.push({value:e,label:e})})),"queryTax"==e.key&&t.push({value:"multiTaxonomy",label:__("Multiple Taxonomy","ultimate-post"),pro:!0,link:"https://www.wpxpo.com/postx/pricing/?utm_source=db-postx-editor&utm_medium=quick-query&utm_campaign=postx-dashboard"})));else if("taxSlug"==e.key||"taxValue"==e.key)if("taxSlug"==e.key){let e=[];Object.keys(l).forEach((function(o){Object.keys(o).length>0&&Object.keys(l[o]).forEach((function(l){!1===e.includes(l)&&(t.push({value:l,label:l}),e.push(l))}))}))}else{let e=F.attributes.taxSlug;e&&Object.keys(l).forEach((function(o){l[o].hasOwnProperty(e)&&Object.keys(l[o][e]).forEach((function(e){t.push({value:e,label:e})}))}))}else if(l?.hasOwnProperty(F.attributes.queryType)&&(l=l[F.attributes.queryType],Object.keys(l).length>0)){const o="queryTaxValue"==e.key?"queryTax":"filterType",a=l[F.attributes[o]];void 0!==a&&(Array.isArray(a)||Object.keys(a).forEach((function(e){t.push({value:e,label:a[e]})})))}t.length>0&&(a=t)}const i=l?"":j.attributes[e.key];return(0,o.createElement)(E.Z,{key:H,keys:e.key,value:e.multiple?t?JSON.parse(t.replaceAll("u0022",'"')):[]:t,label:e.label,clear:e.clear,options:a,dynamicHelpText:le,multiple:e.multiple,responsive:e.responsive,pro:e.pro,help:e.help,image:e.image,svg:e.svg||!1,svgClass:e.svgClass||"",condition:i?.condition||"",clientId:e.clientId||"",updateChild:e.updateChild||!1,device:oe,setDevice:e=>ae(e),beside:e.beside,defaultMedia:e.defaultMedia,onChange:t=>{void 0===i.condition?(e.multiple?F.setAttributes({[e.key]:JSON.stringify(t)}):F.setAttributes(l?{[l.parent_id]:ue(F,l.parent_id,l.block_id,e.key,t)}:{[e.key]:t}),"queryTax"==e.key&&N!=t&&F.setAttributes({queryTaxValue:"[]"}),"filterType"==e.key&&N!=t&&F.setAttributes({filterValue:"[]"}),"taxSlug"==e.key&&N!=t&&F.setAttributes({taxValue:"[]"})):F.setAttributes(t)}})}if("tag"==e.type)return(0,o.createElement)(L.Z,{key:H,value:N,layoutCls:e.layoutCls,label:e.label,options:e.options,disabled:e.disabled,inline:e.inline,onChange:t=>F.setAttributes({[e.key]:t})});if("group"==e.type)return(0,o.createElement)(b.Z,{key:H,value:N,label:e.label,options:e.options,disabled:e.disabled,justify:e.justify,inline:e.inline,onChange:t=>F.setAttributes({[e.key]:t})});var R;if("text"==e.type)return(0,o.createElement)(U.Z,{key:H,value:N.replaceAll("&amp;","&"),isTextField:!0,attr:e,DC:null!==(R=e.DC)&&void 0!==R?R:null,onChange:t=>F.setAttributes(l?{[l.parent_id]:ue(F,l.parent_id,l.block_id,e.key,t)}:{[e.key]:t})});if("number"==e.type)return(0,o.createElement)(x.Z,{key:H,value:N,min:e.min,max:e.max,unit:e.unit,step:e.step,label:e.label,responsive:e.responsive,device:oe,setDevice:e=>ae(e),onChange:t=>F.setAttributes({[e.key]:t})});if("textarea"==e.type)return(0,o.createElement)(U.Z,{key:H,value:N,isTextField:!1,attr:e,onChange:t=>F.setAttributes({[e.key]:t})});if("toggle"==e.type){let t=e.disabled,a=e.help,i=e.showDisabledValue;return F.attributes.advFilterEnable&&"paginationAjax"===e.key&&(t=!0,i=N,a=A.p2),(0,o.createElement)(B.Z,{key:H,value:N,label:e.label,pro:e.pro,disabled:t,showDisabledValue:i,clientId:e.clientId||"",updateChild:e.updateChild||!1,help:a,onChange:t=>{null!=e.dcIdx?ge(e.dcIdx,e.key,t):F.setAttributes(l?{[l.parent_id]:ue(F,l.parent_id,l.block_id,e.key,t)}:{[e.key]:t})}})}if("typography"==e.type)return(0,o.createElement)(M.Z,{key:H,value:N,label:e.label,device:oe,setDevice:e=>ae(e),onChange:t=>{null!=e.dcIdx?ge(e.dcIdx,e.key,t):F.setAttributes({[e.key]:t})}});if("typography_toolbar"==e.type)return(0,o.createElement)(M.Z,{isToolbar:!0,key:H,value:N,label:e.label,device:oe,setDevice:e=>ae(e),onChange:t=>F.setAttributes({[e.key]:t})});if("tab"==e.type)return(0,o.createElement)(W,{key:H,tabs:e.content,activeClass:"active-tab",className:"ultp-field-wrap ultp-inspect-tabs ultp-hover-tabs"},(e=>(0,o.createElement)(O,null,ye(e.options,!0,!1,!0,!0))));if("tab_toolbar"==e.type)return(0,o.createElement)(W,{key:H,tabs:e.content,className:"ultp-toolbar-tab"},(e=>(0,o.createElement)(O,null,ye(e.options,!0,!1,!0,!0))));if("toolbar_dropdown"==e.type)return(0,o.createElement)(a.Z,{key:H,options:e.options,value:N,onChange:t=>F.setAttributes({[e.key]:t}),label:e.label});if("checkbox"==e.type)return(0,o.createElement)(c.Z,{key:H,value:JSON.parse(N),label:e.label,options:e.options,onChange:t=>F.setAttributes({[e.key]:JSON.stringify(t)})});if("separator"==e.type)return(0,o.createElement)(_.Z,{key:H,label:e.label,fancy:e.fancy});if("linkbutton"==e.type){const{dcEnabled:t,dc:l}=F.attributes;return(0,o.createElement)(k.Z,{key:H,onlyLink:e.onlyLink,value:N,text:e.text,label:e.label,store:F,placeholder:e.placeholder,extraBtnAttr:e.extraBtnAttr,disableLink:(0,i.o6)()&&t&&l.linkEnabled,onChange:t=>F.setAttributes({[e.key]:t})})}if("template"==e.type)return(0,o.createElement)(I.Z,{key:H,label:e.label,store:F});if("layout"==e.type)return(0,o.createElement)(h.Z,{key:H,value:N,label:e.label,col:D,pro:e.pro,tab:e.tab,block:e.block,options:e.options,onChange:t=>{if(e.variation&&t.layout){let l={};Object.keys(j.attributes).forEach(((t,o)=>{Object.keys((0,n.b)({})).includes(t)||(!e?.exclude?.includes(t)&&j.attributes[t].default?l[t]=j.attributes[t].default:l[t]=F?.attributes[t])})),F.setAttributes(e.variation?.hasOwnProperty(t.layout)?Object.assign({},l,{[e.key]:t.layout},e.variation[t.layout]):{[e.key]:t.layout})}else F.setAttributes(t)}});if("layout2"==e.type)return(0,o.createElement)(f.Z,{key:H,value:N,label:e.label,isInline:e.isInline,pro:e.pro,tab:e.tab,block:e.block,options:e.options,onChange:t=>{if(e.variation&&t.layout){let l={};Object.keys(j.attributes).forEach(((e,t)=>{Object.keys((0,n.b)({})).includes(e)||j.attributes[e].default&&(l[e]=j.attributes[e].default)})),F.setAttributes(e.variation?.hasOwnProperty(t.layout)?Object.assign({},l,{[e.key]:t.layout},e.variation[t.layout]):{[e.key]:t.layout})}else F.setAttributes(t)}});if("rowlayout"==e.type)return(0,o.createElement)(P.Z,{key:H,value:N,label:e.label,block:e.block,device:oe,setDevice:e=>ae(e),responsive:e.responsive,clientId:e.clientId,layout:e.layout,onChange:t=>{F.setAttributes({[e.key]:t})}});if("dynamicContent"===e.type)return ye(e.fields,!1);if("repetable"==e.type){let t=[...N],l={};const a=e=>{l.start=e},i=e=>{l.stop=e},n=()=>{const o=t[l.start];t.splice(l.start,1),t.splice(l.stop,0,o),F.setAttributes({[e.key]:t})};return(0,o.createElement)("div",{key:H,className:"ultp-field-wrap ultp-field-sort"},e.label&&(0,o.createElement)("label",null,e.label),N.map(((l,r)=>{const s=r+1;return(0,o.createElement)("div",{key:r,className:`ultp-sort-items ${re==s&&"active"}`,draggable:re!=s,onDragStart:()=>a(r),onDragEnter:()=>i(r),onDragEnd:()=>n()},(0,o.createElement)("div",{className:"short-field-wrapper"},(0,o.createElement)("div",{className:"short-field-wrapper__control"},(0,o.createElement)("span",{className:"dashicons dashicons-move"})),(0,o.createElement)("div",{className:"short-field-label",onClick:()=>{se(re==s?"":s)}},(0,o.createElement)("div",{className:"short-field-wrapper__inside"},(0,o.createElement)("div",null,l.type)),(0,o.createElement)("span",{className:`ultp-short-collapse ${re==s&&"active"}`,onClick:()=>{se(re==s?"":s)},type:"button"})),(0,o.createElement)("span",{onClick:()=>{t.splice(r,1),F.setAttributes({[e.key]:t})},className:"dashicons dashicons-no-alt ultp-sort-close"})),(0,o.createElement)("div",{className:`ultp-short-content ${re==s&&"active"}`},ye(e.fields,!1,{parent_id:e.key,block_id:r})))})),(0,o.createElement)("button",{className:"ultp-sort-btn",onClick:()=>{let l={};Object.keys(j.attributes[e.key].fields).forEach((t=>{l[t]=j.attributes[e.key].fields[t].default})),t.push(l),F.setAttributes({[e.key]:t})}},(0,o.createElement)("span",{className:"dashicons dashicons-plus-alt2"})," ","Add New Fields"))}if("sort"==e.type){let t=[...N],l={};const a=e=>{l.start=e},i=e=>{l.stop=e},n=()=>{const o=t[l.start];t.splice(l.start,1),t.splice(l.stop,0,o),F.setAttributes({[e.key]:t})};return(0,o.createElement)("div",{key:H,className:"ultp-field-wrap ultp-field-sort"},e.label&&(0,o.createElement)("label",null,e.label),N.map(((t,l)=>{const r=l+1;return(0,o.createElement)("div",{key:l,onDragStart:()=>a(l),onDragEnter:()=>i(l),onDragEnd:()=>n(),draggable:re!=r,className:`ultp-sort-items ${re==r&&"active"}`},(0,o.createElement)("div",{className:"short-field-wrapper"},(0,o.createElement)("div",{className:"short-field-wrapper__control"},(0,o.createElement)("span",{className:"dashicons dashicons-move"})),(0,o.createElement)("div",{className:"short-field-label",onClick:()=>{se(re==r?"":r)}},(0,o.createElement)("div",{className:"short-field-wrapper__inside"},(0,o.createElement)("div",null,e.options[t].label)),(0,o.createElement)("span",{className:`ultp-short-collapse ${re==r&&"active"}`,onClick:()=>{se(re==r?"":r)},type:"button"})),e.options[t].action&&(0,o.createElement)("span",{onClick:()=>{F.setAttributes({[e.options[t].action]:!F.attributes[e.options[t].action]})},className:"dashicons ultp-sort-close dashicons-"+(F.attributes[e.options[t].action]?"visibility":"hidden")})),(0,o.createElement)("div",{className:`ultp-short-content ${re==r&&"active"}`},ye(e.options[t].inner)))})))}if("search"==e.type){let t=[];N&&(0==N.indexOf("[{")?t=JSON.parse(N.replaceAll("u0022",'"')):0==N.indexOf("[")?JSON.parse(N).forEach((e=>{t.push({value:e,title:e})})):N.split(",").forEach((e=>{t.push({value:e,title:e})})));let l=e.pro;"queryPosts"==e.key&&"posts"==F.attributes.queryType&&(l=!F.attributes.queryInclude&&e.pro);let a="";switch(e.key){case"filterValue":a="###"+F.attributes.filterType;break;case"queryTaxValue":a=F.attributes.queryType+"###"+F.attributes.queryTax;break;case"queryExclude":case"queryExcludeTerm":a=F.attributes.queryType}return(0,o.createElement)(C.Z,{key:H,value:t,pro:l,label:e.label,search:e.search,condition:a,onChange:t=>F.setAttributes({[e.key]:JSON.stringify(t)})})}return"filter"==e.type?(0,o.createElement)(y.Z,{key:H,value:N,label:e.label,onChange:t=>F.setAttributes({[e.key]:t})}):"icon"==e.type?(0,o.createElement)(v.Z,{key:H,value:N,label:e.label,isSocial:e.isSocial,selection:e.selection,hideFilter:e.hideFilter,dynamicClass:e.dynamicClass,help:e.help,onChange:t=>F.setAttributes(l?{[l.parent_id]:ue(F,l.parent_id,l.block_id,e.key,t)}:{[e.key]:t})}):"advFilterEnable"===e.type?(0,o.createElement)(B.Z,{key:H,value:N,onChange:t=>{t?(F.setAttributes({[e.key]:!0,filterShow:!1,paginationAjax:!0}),(0,A.Pm)(F.clientId,F.context["post-grid-parent/postBlockClientId"])):(F.setAttributes({[e.key]:!1}),(0,A.nn)(F.clientId))},label:"Enable Advanced Filter"}):"advPagiEnable"===e.type?(0,o.createElement)(B.Z,{key:H,value:N,onChange:t=>{t?(F.setAttributes({[e.key]:!0,paginationShow:!1}),(0,A.rl)(F.clientId,F.context["post-grid-parent/postBlockClientId"])):(F.setAttributes({[e.key]:!1}),(0,A.Vn)(F.clientId))},label:"Enable Advanced Pagination"}):"notice"===e.type?(0,o.createElement)(q,{status:e.status,isDismissible:e.isDismissible||!1},e.text):void 0}}))},be=ie==t||"inline"===t||"no-section"==ie&&l,ve=t?.replace(/ /g,"-").toLowerCase();return(0,o.createElement)(O,null,t?(0,o.createElement)("div",{className:"ultp-section-accordion",id:"ultp-sidebar-"+ve},"inline"!=t?(0,o.createElement)(O,null,(0,o.createElement)("div",{className:"ultp-section-accordion-item ultp-section-control",onClick:()=>ne(ie==t||"no-section"==ie&&l?"":t)},(0,o.createElement)("span",{className:"ultp-section-control__help"},t,z&&(0,o.createElement)(G,{position:"top",text:"Video Tutorials"},(0,o.createElement)("a",{onClick:e=>e.stopPropagation(),href:z,target:"_blank"},(0,o.createElement)("span",{className:"dashicons dashicons-youtube"}))),K&&(0,o.createElement)(G,{position:"top",text:"Documentation"},(0,o.createElement)("a",{onClick:e=>e.stopPropagation(),href:K,target:"_blank"},(0,o.createElement)("span",{className:"ultp-section-control__docs dashicons dashicons-format-aside"})))),J&&(0,o.createElement)("span",{onClick:e=>e.stopPropagation()},(0,o.createElement)(V,{__nextHasNoMarginBottom:!0,className:"ultp-section-control__toggle",checked:F.attributes[J],onChange:()=>F.setAttributes({[J]:!F.attributes[J]})})),ie==t||"no-section"==ie&&l?(0,o.createElement)("span",{className:"ultp-section-arrow dashicons dashicons-arrow-up-alt2"}):(0,o.createElement)("span",{className:"ultp-section-arrow dashicons dashicons-arrow-down-alt2"})),(0,o.createElement)("div",{className:(X?"ultp-toolbar-section-show":"")+" ultp-section-show"+(ie==t||"no-section"==ie&&l?"":" is-hide")},N&&!ultp_data.active?(0,o.createElement)("div",{className:"ultp-pro-total"},(0,o.createElement)("div",{className:"ultp-section-pro-message"},(0,o.createElement)("span",null,__("Unlock It! Explore More","ultimate-post")," ",(0,o.createElement)("a",{href:(0,j.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},__("Pro Features","ultimate-post")))),be&&de(ye)):be&&de(ye))):(0,o.createElement)("div",{className:"ultp-section-show "+(X?"ultp-toolbar-section-show":"")},be&&de(ye))):(0,o.createElement)(O,null,R?ye(R):ye()))}},5556:(e,t,l)=>{"use strict";var o=l(7294),a=l(7763);const{__}=wp.i18n,{BlockControls:i}=wp.blockEditor,{ToolbarButton:n,TextControl:r,Button:s,Dropdown:p}=wp.components,{useState:c}=wp.element,{registerFormatType:u,toggleFormat:d,applyFormat:m,removeFormat:g}=wp.richText;"true"==ultp_data.settings.ultp_frontend_submission&&(u("ultimate-post/fs-comment",{title:"Frontend Submission Comment",tagName:"span",className:"ultp-fs-has-comment",attributes:{data_fs_comment:"data-fs-comment"},edit:({isActive:e,value:t,onChange:l,activeAttributes:u})=>{const[g,y]=c("");return(0,o.createElement)(o.Fragment,null,"undefined"==typeof ultpFsSettings||u.data_fs_comment?(0,o.createElement)(i,null,(0,o.createElement)(p,{contentClassName:"ultp-cs-toolbar-comment",renderToggle:({onToggle:t})=>(0,o.createElement)(n,{onClick:()=>{t()},label:"Comment",className:"ultp-cs-toolbar-comment components-toolbar-group",icon:e?a.Z.fs_comment_selected:a.Z.fs_comment}),renderContent:({onToggle:e})=>(0,o.createElement)(o.Fragment,null,u&&u.data_fs_comment&&(0,o.createElement)("div",{className:"ultp-fs-comment-view__wrapper"},(0,o.createElement)("div",{className:"ultp-fs-comment-view"},(0,o.createElement)("div",{className:"ultp-fs-comment"},u.data_fs_comment),(0,o.createElement)(s,{className:"ultp-fs-comment-resolve",onClick:()=>{const o=d(t,{type:"ultimate-post/fs-comment",attributes:{comment:""}});l(o),e()},label:"Resolve Comment"}," ",__("Resolve Comment","ultimate-post"),"  "))),!(u&&u.data_fs_comment)&&(0,o.createElement)("div",{className:"ultp-fs-comment-input__wrapper"},(0,o.createElement)(r,{__nextHasNoMarginBottom:!0,label:"Enter Comment",value:g,className:"ultp-fs-comment-input",onChange:e=>y(e)}),(0,o.createElement)(s,{isPrimary:!0,className:"ultp-fs-comment-btn",onClick:()=>{(()=>{const e=m(t,{type:"ultimate-post/fs-comment",attributes:{data_fs_comment:g}});l(e)})(),e()}}," ",__("Add Comment","ultimate-post"))))})):"")}}),u("ultimate-post/fs-suggestion",{title:"Frontend Submission Suggestion",tagName:"span",className:"ultp-fs-has-suggestion",attributes:{data_fs_suggestion:"data-fs-suggestion"},edit:({isActive:e,value:t,onChange:l,activeAttributes:u,...d})=>{const[y,b]=c("");return(0,o.createElement)(o.Fragment,null,"undefined"==typeof ultpFsSettings||u.data_fs_suggestion?(0,o.createElement)(i,null,(0,o.createElement)(p,{contentClassName:"ultp-cs-toolbar-comment",renderToggle:({onToggle:t})=>(0,o.createElement)(n,{onClick:()=>{t()},label:"Suggestion",className:"ultp-cs-toolbar-comment components-toolbar-group",icon:e?a.Z.fs_suggestion_selected:a.Z.fs_suggestion}),renderContent:({onToggle:e})=>(0,o.createElement)(o.Fragment,null,u&&u.data_fs_suggestion&&(0,o.createElement)("div",{className:"ultp-fs-comment-view__wrapper"},(0,o.createElement)("div",{className:"ultp-fs-comment-view"},(0,o.createElement)("div",{className:"ultp-fs-comment"},u.data_fs_suggestion),(0,o.createElement)(s,{className:"ultp-fs-comment-resolve",onClick:()=>{g(t,{type:"ultimate-post/fs-suggestion",attributes:{data_fs_suggestion:""}}),u.fs_suggestion;const o=t.text.substring(0,t.start)+u.data_fs_suggestion+t.text.substring(t.end);l(wp.richText.create({text:o})),e()}}," ",__("Accept","ultimate-post")," "))),!(u&&u.data_fs_suggestion)&&(0,o.createElement)("div",{className:"ultp-fs-comment-input__wrapper"},(0,o.createElement)(r,{__nextHasNoMarginBottom:!0,label:"Enter Suggestion",value:y,className:"ultp-fs-comment-input",onChange:e=>b(e)}),(0,o.createElement)(s,{isPrimary:!0,className:"ultp-fs-comment-btn",onClick:()=>{(()=>{const e=m(t,{type:"ultimate-post/fs-suggestion",attributes:{data_fs_suggestion:y}});l(e)})(),e()}}," ",__("Add Suggestion","ultimate-post")," ")))})):"")}}))},5701:(e,t,l)=>{"use strict";l.d(t,{Z:()=>c});var o=l(7294),a=l(6008);const{__}=wp.i18n,{parse:i}=wp.blocks,{Fragment:n,useState:r,useEffect:s,useRef:p}=wp.element,c=e=>{const[t,l]=r([]),[c,u]=r({isPopup:e.isShow||!1,starterLists:[],designs:[],starterChildLists:[],starterParentLists:[],reloadId:"",reload:!1,isStarterLists:!0,error:!1,fetching:!1,starterListsFilter:"all",designFilter:"all",current:[],sidebarOpen:!0,templatekitCol:"ultp-templatekit-col3",loading:!1}),[d,m]=r(""),g=["singular","archive","header","footer","404"].includes(ultp_data.archive),y="front_page"==ultp_data.archive,{isPopup:b,isStarterLists:v,starterListsFilter:h,designFilter:f,fetching:k,starterLists:w,designs:x}=c,T=async()=>{u({...c,loading:!0}),wp.apiFetch({path:"/ultp/v2/fetch_premade_data",method:"POST",data:{type:"get_starter_lists_nd_design"}}).then((e=>{if(e.success&&e.data){const t=e.data;if(g||y)u({...c,current:S(JSON.parse(t.starter_lists)),loading:!1,isStarterLists:!1});else{let e=P(JSON.parse(t.design));const l=JSON.parse(t.starter_lists),{parentObj:o,childArr:a}=I(l);u({...c,starterLists:l,designs:e,current:v?l:e,loading:!1,starterChildLists:a,starterParentLists:o})}}}))},S=e=>{const t=[];return e.forEach((e=>{e.templates.forEach((l=>{let o={...l,parentID:e.ID};y?"page"==o.type&&"home_page"==o.home_page&&(o={...o},t.push(o)):"ultp_builder"==o.type&&ultp_data.archive==o.builder_type&&t.push(o)}))})),t},P=e=>{const t=[];for(const l in e)e[l].forEach((e=>{e.category=l,t.push(e)}));return t},C=e=>{27===e.keyCode&&(document.querySelector(".ultp-builder-modal").remove(),u({...c,isPopup:!1}))};s((()=>(L("","","fetchData"),document.addEventListener("keydown",C),T(),()=>document.removeEventListener("keydown",C))),[]);const E=()=>{const e=document.querySelector(".ultp-builder-modal");e.length>0&&e.remove(),u({...c,isPopup:!1})},_=async e=>{u({...c,reload:!0,reloadId:e}),window.fetch("https://ultp.wpxpo.com/wp-json/restapi/v2/single-template",{method:"POST",body:new URLSearchParams("license="+ultp_data.license+"&template_id="+e)}).then((e=>e.text())).then((e=>{(e=JSON.parse(e)).success&&e.rawData?(wp.data.dispatch("core/block-editor").insertBlocks(i(e.rawData)),E(),u({...c,isPopup:!1,reload:!1,reloadId:"",error:!1})):u({...c,error:!0})})).catch((e=>{console.error(e)}))},L=(e,t="",o="")=>{wp.apiFetch({path:"/ultp/v2/premade_wishlist_save",method:"POST",data:{id:e,action:t,type:o}}).then((e=>{e.success&&l(Array.isArray(e.wishListArr)?e.wishListArr:Object.values(e.wishListArr||{}))}))},I=(e,t="")=>{const l=[],o={};return e.forEach(((e,t)=>{l.push(...e.templates),o[e.title]={pro:e.pro||"",live:e.live,ID:e.ID}})),{childArr:l,parentObj:o}},U=v?h:f;return(0,o.createElement)(n,null,b&&(0,o.createElement)("div",{className:"ultp-builder-modal-shadow"},(0,o.createElement)("div",{className:"ultp-popup-wrap"},(0,o.createElement)("div",{className:"ultp-popup-header"},(0,o.createElement)("div",{className:"ultp-popup-filter-title"},(0,o.createElement)("div",{className:"ultp-popup-filter-image-head"},(0,o.createElement)("img",{src:ultp_data.url+"assets/img/logo-sm.svg"}),(0,o.createElement)("span",null,__(g?"Builder Library":"Template Kits","ultimate-post"))),!g&&(0,o.createElement)("div",{className:"ultp-popup-filter-nav"},(0,o.createElement)("div",{className:"ultp-popup-tab-title"+(v?" ultp-active":""),onClick:()=>{m(""),u({...c,isStarterLists:!0,starterListsFilter:"all",current:w})}},__("Starter Packs","ultimate-post")),(0,o.createElement)("div",{className:"ultp-popup-tab-title"+(v?"":" ultp-active"),onClick:()=>{m(""),u({...c,isStarterLists:!1,designFilter:"all",current:x})}},__("Premade Patterns","ultimate-post"))),(0,o.createElement)("div",{className:"ultp-popup-filter-sync-close"},(0,o.createElement)("span",{className:"ultp-popup-sync",onClick:()=>(u({...c,fetching:!0}),void wp.apiFetch({path:"/ultp/v2/fetch_premade_data",method:"POST",data:{type:"fetch_all_data"}}).then((e=>{e.success&&(T(),u({...c,fetching:!1}))})))},(0,o.createElement)("i",{className:"dashicons dashicons-update-alt"+(k?" rotate":"")}),__("Synchronize","ultimate-post")),(0,o.createElement)("button",{className:"ultp-btn-close",onClick:()=>E(),id:"ultp-btn-close"},(0,o.createElement)("span",{className:"dashicons dashicons-no-alt"}))))),(0,o.createElement)(a.Z,{filterValue:U,state:c,setState:u,useState:r,useEffect:s,useRef:p,_changeVal:(e,t)=>{t?ultp_data.active&&_(e):_(e)},splitArchiveData:(e=[],t="")=>e.filter((e=>{const l=t?Array.isArray(e.category)?e?.category?.filter((e=>"all"==t||e.slug==t)):e.category==t:e?.category.filter((e=>["singular","header","footer","404"].includes(ultp_data.archive)?e.slug==ultp_data.archive:!["singular","header","footer","404"].includes(e.slug)));return Array.isArray(l)?l?.length>0&&l:l})),setWListAction:(e,t)=>L(e,t),wishListArr:t,setWishlistArr:l,starterListModule:d,setStarterListModule:m}))))}},4285:(e,t,l)=>{"use strict";l.d(t,{R:()=>n,V:()=>r});var o=l(9838);const a=e=>{const{post_id:t,block_css:l,hasBlocks:o,preview:a,bindCss:i,src:n,fseTempId:r}=e;return"handleBindCss"==i&&(window.bindCssPostX=!0),wp.apiFetch({path:"/ultp/v1/save_block_css",method:"POST",data:{block_css:l,post_id:t,has_block:o||!1,preview:a||!1,src:n,fseTempId:r||""}}).then((e=>{"handleBindCss"==i&&setTimeout((()=>{window.bindCssPostX=!1}),100)}))};function i(e,t={}){const{blocks:l,pId:n,preview:r}=e;return l?.forEach((e=>{const{attributes:l,name:s}=e;"ultimate-post"===s.split("/")[0]&&l.blockId&&(t[n]=(t[n]||"")+(0,o.Kh)(l,s,l.blockId,!0)),e.innerBlocks&&e.innerBlocks.length>0&&i({blocks:e.innerBlocks,pId:n,preview:r},t),-1!=e.name?.indexOf("core/block")?setTimeout((()=>{!function({pId:e,preview:t}){wp.apiFetch({path:"/ultp/v1/get_other_post_content",method:"POST",data:{postId:e}}).then((t=>{if(t.success){const l=t.data?.includes("ultimate-post")?i({blocks:wp.blocks.parse(t.data),pId:e}):{[e]:""};a({post_id:e,block_css:l[e],hasBlocks:!!l[e],preview:!1,src:"wpBlock"}).then((e=>{}))}}))}({pId:l?.ref,preview:r})}),700):"core/template-part"==e.name&&setTimeout((()=>{!function(e){const{slug:t,theme:l,preview:o}=e,n=(wp.data.select("core")?.getEntityRecords("postType","wp_template_part",{per_page:-1})||[]).find((e=>e.id==l+"//"+t)),r=n?.wp_id;wp.apiFetch({path:"/ultp/v1/get_other_post_content",method:"POST",data:{postId:r}}).then((e=>{if(e.success){const t=e.data?.includes("ultimate-post")?i({blocks:wp.blocks.parse(e.data),pId:r}):{[r]:""};a({post_id:r,block_css:t[r],hasBlocks:!!t[r],preview:!1,src:"partCss"}).then((e=>{}))}}))}({slug:l?.slug,theme:l?.theme,preview:r})}),700)})),t}const n=(e={})=>{const{preview:t=!1,handleBindCss:l=!0}=e,o=wp.data.select("core/block-editor").getBlocks(),{getCurrentPostId:n}=wp.data.select("core/editor");let r=n();const s=wp.data.select("core/edit-site"),p=s?.getEditedPostType()||"";if(p){const e=wp.data.select("core");e?.getEntityRecords("postType","wp_template_part",{per_page:-1}),e?.getEntityRecords("postType","wp_template",{per_page:-1});let n="";if("string"==typeof r&&r.includes("//")){n="wp_template"==p?r:"";const t=(e?.getEntityRecords("postType",p,{per_page:-1})||[]).find((e=>e.id==r));r=t?.wp_id}const c=i({blocks:o,pId:r,preview:t});a({post_id:r,block_css:c[r],hasBlocks:!!c[r],preview:t,bindCss:l?"handleBindCss":"",src:"fse_type",fseTempId:n}).then((e=>{}));const u=s?.getPage();if(u?.hasOwnProperty("context")&&u?.context?.postId){const e=u.context.postId,o=i({blocks:wp.data.select("core").getEditedEntityRecord("postType",u.context?.postType,u.context?.postId)?.blocks||[],pId:e,preview:t});a({post_id:e,block_css:o[e],hasBlocks:!!o[e],preview:t,bindCss:l?"handleBindCss":"",src:"fse_pageId"}).then((e=>{}))}}else{const e=i({blocks:o,pId:r,preview:t});a({post_id:r,block_css:e[r],hasBlocks:!!e[r],preview:t,bindCss:l?"handleBindCss":"",src:"all_editor"}).then((e=>{}))}},r=e=>{let t="";const{getBlockAttributes:l}=wp.data.select("core/block-editor");e.forEach((e=>{const a=l(e.id);t+=(0,o.Kh)(a,e.name,a.blockId,!0)})),a({post_id:"ultp-widget",block_css:t,hasBlocks:!!t,preview:!1,src:"widget"}).then((e=>{}))}},2637:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Section:()=>p,Sections:()=>r,SectionsNoTab:()=>s});var o=l(7294);const{__}=wp.i18n,{Fragment:a,useState:i}=wp.element,n=e=>{switch(e){case"setting":return"dashicons dashicons-admin-tools";case"advanced":return"dashicons dashicons-admin-generic";default:return"dashicons dashicons-admin-appearance"}},r=e=>{const{children:t,callback:l,classes:r}=e,[s,p]=i(t[0].props.slug);return(0,o.createElement)("div",{className:`ultp-section-tab${r||""}`},(0,o.createElement)("div",{className:"ultp-section-wrap"},(0,o.createElement)("div",{className:"ultp-section-wrap-inner"},t.map(((e,t)=>e?(0,o.createElement)("div",{key:t,className:"ultp-section-title"+(e.props.slug===s?" active":""),onClick:()=>{p(e.props.slug),l&&l({slug:e.props.slug})}},e.props.hasOwnProperty("icon")&&e.props.icon?(0,o.createElement)("div",{className:"ultp-section-tab-custom-icon"},e.props.icon):(0,o.createElement)("span",{className:n(e.props.slug)}),(0,o.createElement)("span",null,e.props.title)):(0,o.createElement)(a,{key:t}))))),t.map(((e,t)=>(0,o.createElement)("div",{key:t,className:"ultp-section-content"+(e?.props?.slug===s?" active":"")},e))))},s=({children:e})=>(0,o.createElement)("div",{className:"ultp-section-tab"},e),p=e=>{const{children:t}=e;return(0,o.createElement)(a,null," ",Array.isArray(t)?t.map((e=>e)):t," ")}},3581:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r});var o=l(7294),a=l(8958);const{__}=wp.i18n,{Modal:i}=wp.components,{useState:n}=wp.element,r=({store:e,prev:t,designLibrary:l=!0})=>{const[r,s]=n(!1),p=()=>s(!1);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-ready-design"},(0,o.createElement)("div",null,l&&(0,o.createElement)("button",{className:"ultp-ready-design-btns patterns",onClick:()=>s(!0)}," ",__("Design Library","ultimate-post")," "),(0,o.createElement)("a",{className:"ultp-ready-design-btns preview",target:"_blank",href:t},__("Blocks Preview","ultimate-post")))),r&&(0,o.createElement)(i,{isFullScreen:!0,onRequestClose:p},(0,o.createElement)(a.Z,{store:e,closeModal:p})))}},2402:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);const a=({searchQuery:e,setSearchQuery:t,setTemplateModule:l,changeStates:a})=>(0,o.createElement)("div",{className:"ultp-design-search-wrapper"},(0,o.createElement)("input",{type:"search",id:"ultp-design-search-form",className:"ultp-design-search-input",placeholder:"Search for...",value:e,onChange:e=>{t&&t(e.target.value),l&&l(""),a&&a("search",e.target.value)}}))},1760:(e,t,l)=>{"use strict";l.d(t,{Z:()=>v});var o=l(7294),a=l(3245),i=l(7024),n=l(3049),r=l(8958),s=l(3448),p=l(7763);const{__}=wp.i18n,{useState:c}=wp.element,{BlockControls:u}=wp.blockEditor,{Modal:d,Toolbar:m,Dropdown:g,ToolbarButton:y}=wp.components,b=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 108"},(0,o.createElement)("path",{d:"M179 54a33 33 0 0 1-65 8l-8-24a54 54 0 1 0-32 66l-8-19a33 33 0 1 1 20-39l8 22a54 54 0 1 0 32-64l8 19a33 33 0 0 1 45 31Z"})),v=e=>{const{include:t,store:l}=e,[v,h]=c(!1),f=()=>h(!0),k=()=>h(!1);return(0,o.createElement)(u,null,t.map(((t,c)=>{if("template"==t.type)return(0,o.createElement)(m,{key:c},(0,o.createElement)(y,{className:"ultp-toolbar-template__btn",onClick:f,label:"Patterns"},(0,o.createElement)("span",{className:"dashicons dashicons-images-alt2"})),v&&(0,o.createElement)(d,{isFullScreen:!0,onRequestClose:k},(0,o.createElement)(r.Z,{store:l,closeModal:k})));if("layout"==t.type)return(0,o.createElement)(m,{key:c},(0,o.createElement)(g,{key:c,contentClassName:"ultp-layout-toolbar",renderToggle:({onToggle:e})=>(0,o.createElement)(y,{label:"Layout",onClick:()=>e()},(0,o.createElement)("span",{className:"dashicons dashicons-schedule"})),renderContent:()=>(0,o.createElement)("div",{className:"ultp-field-wrap"},(0,o.createElement)(n.Ar,{title:"inline",store:l,block:t.block,options:t.options,col:t.col,data:t}))}));if("layout+adv_style"==t.type){const{layoutData:e,advStyleData:a}=t;return(0,o.createElement)(m,{key:c},(0,o.createElement)(g,{key:c,contentClassName:"ultp-layout-toolbar",renderToggle:({onToggle:e})=>(0,o.createElement)(y,{label:"Layout & Advance Style",onClick:()=>e()},(0,o.createElement)("span",{className:"dashicons dashicons-schedule"})),renderContent:()=>(0,o.createElement)("div",{className:"ultp-field-wrap"},(0,o.createElement)(n.Ar,{title:"inline",store:l,block:e.block,col:e.col,data:e}),(0,o.createElement)(n.Ar,{title:"inline",store:l,block:a.block,col:a.col,data:a}))}))}return"query"==t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(g,{key:c,contentClassName:"ultp-query-toolbar",renderToggle:({onToggle:e})=>(0,o.createElement)("span",{className:"ultp-query-toolbar__btn"},(0,o.createElement)(y,{label:"Query",icon:b,onClick:()=>e()})),renderContent:()=>(0,o.createElement)("div",{className:"ultp-field-wrap"},t.taxQuery?(0,o.createElement)(n.$o,{title:"inline",store:l}):(0,o.createElement)(n.lA,{dynamicHelpText:{select:{key:"queryQuick",popular_post_1_day_view:"- Most viewed posts published in the last 24 hours",popular_post_7_days_view:"- Most viewed posts published in the last 7 days",popular_post_30_days_view:"- Most viewed posts published in the last 30 days",popular_post_all_times_view:"- Most viewed posts of all time"}},exclude:t.exclude,title:"inline",store:l}))})):"grid_align"===t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(n.lj,{store:l,attrKey:t.key,options:n.M9,label:__("Grid Content Alignment","ultimate-post")})):"dropdown"===t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(n.lj,{store:l,attrKey:t.key,options:t.options,label:t.label})):"feat_toggle"===t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(g,{contentClassName:"ultp-custom-toolbar-wrapper",renderToggle:({onToggle:e})=>(0,o.createElement)("span",null,(0,o.createElement)(y,{label:t.label||"Features",icon:t.icon||p.Z.setting,onClick:()=>e()})),renderContent:()=>(0,o.createElement)(n.wI,{exclude:t.exclude,include:t.include,label:t.label,store:l,data:t.data,new:t.new,dep:t.dep,pro:t.pro})})):"grid_spacing"===t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(s.Z,{buttonContent:n.HT,include:(0,n.i_)({include:t.include,exclude:t.exclude}),store:l,label:__("Grid Spacing","ultimate-post")})):"linkbutton"==t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(g,{key:c,contentClassName:"ultp-link-toolbar",renderToggle:({onToggle:e})=>(0,o.createElement)(y,{name:"link",label:"Link",icon:a.ZP.link,onClick:()=>e()}),renderContent:()=>(0,o.createElement)(i.Z,{onlyLink:t.onlyLink,value:t.value,text:t?.text,label:t.label,store:l,placeholder:t.placeholder,onChange:e=>l.setAttributes({[t.key]:e})})})):"adv_filter"===t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(g,{key:c,contentClassName:"ultp-query-toolbar",renderToggle:({onToggle:e})=>(0,o.createElement)("span",{className:"ultp-query-toolbar__btn"},(0,o.createElement)(y,{label:__("Settings","ultimate-post"),icon:p.Z.setting,onClick:()=>e()})),renderContent:()=>(0,o.createElement)("div",{className:"ultp-field-wrap"},(0,o.createElement)(n.T,{include:n.wK,store:l,initialOpen:!0}))})):"inserter"===t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(y,{icon:p.Z.add,label:t.label||__("Insert Blocks","ultimate-post"),onClick:()=>{if(null!=wp.data.dispatch("core/editor").setIsInserterOpened)wp.data.dispatch("core/editor").setIsInserterOpened({rootClientId:t.clientId,insertionIndex:99});else{if(null==wp.data.dispatch("core/edit-post").setIsInserterOpened)return!1;wp.data.dispatch("core/edit-post").setIsInserterOpened({rootClientId:t.clientId,insertionIndex:99})}}})):"custom"===t.type?(0,o.createElement)(m,{key:c},(0,o.createElement)(g,{key:c,contentClassName:"ultp-custom-toolbar-wrapper",renderToggle:({onToggle:e})=>(0,o.createElement)("span",null,(0,o.createElement)(y,{label:t.label||"Settings",icon:t.icon||a.ZP.cog_line,onClick:()=>e()})),renderContent:()=>e.children})):void 0})))}},3100:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o=(e,t,l)=>(e=e?e+"?":"https://www.wpxpo.com/postx/pricing/?",{explore_pro_feature:[{key:"source",value:"db-postx-wizard"},{key:"medium",value:"explore-features"},{key:"campaign",value:"postx-dashboard"}],ticket_support:[{key:"source",value:"db-postx-wizard"},{key:"medium",value:"ticket-support"},{key:"campaign",value:"postx-dashboard"}],postx_doc:[{key:"source",value:"db-postx-wizard"},{key:"medium",value:"postx-doc"},{key:"campaign",value:"postx-dashboard"}],addons_popup:[{key:"source",value:"db-postx-addons"},{key:"medium",value:"popup"},{key:"campaign",value:"postx-dashboard"}],builder_popup:[{key:"source",value:"db-postx-builder"},{key:"medium",value:"popup-upgrade-pro"},{key:"campaign",value:"postx-dashboard"}],block_docs:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"block-docs"},{key:"campaign",value:"postx-dashboard"}],blockProFeat:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"pro-features"},{key:"campaign",value:"postx-dashboard"}],blockUpgrade:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"block-pro"},{key:"campaign",value:"postx-dashboard"}],blockPatternPro:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"blocks-premade"},{key:"campaign",value:"postx-dashboard"}],blockProLay:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"pro-layout"},{key:"campaign",value:"postx-dashboard"}],wizardPatternPro:[{key:"source",value:"db-postx-wizard"},{key:"medium",value:"core_features-patterns"},{key:"campaign",value:"postx-dashboard"}],wizardStaterPackPro:[{key:"source",value:"db-postx-wizard"},{key:"medium",value:"core_features-SP"},{key:"campaign",value:"postx-dashboard"}],slider_2:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"slider2-pro"},{key:"campaign",value:"postx-dashboard"}],advanced_search:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"adv_search-pro"},{key:"campaign",value:"postx-dashboard"}],customFont:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"custom-font"},{key:"campaign",value:"postx-dashboard"}],dc:[{key:"source",value:"db-postx-editor"},{key:"medium",value:"acf-pro"},{key:"campaign",value:"postx-dashboard"}],postx_dashboard_settings:[{key:"source",value:"db-postx-setting"},{key:"medium",value:"upgrade-pro-sidebar"},{key:"campaign",value:"postx-dashboard"}],postx_dashboard_tutorials:[{key:"source",value:"db-postx-tutorial"},{key:"medium",value:"tutorials-upgrade_to_pro"},{key:"campaign",value:"postx-dashboard"}],postx_dashboard_tutorialsdocs:[{key:"source",value:"db-postx-tutorial"},{key:"medium",value:"tutorials-doc"},{key:"campaign",value:"postx-dashboard"}],menu_save_temp_pro:[{key:"source",value:"db-postx-save-template"},{key:"medium",value:"popup-upgrade"},{key:"campaign",value:"postx-dashboard"}],settingsFR:[{key:"source",value:"db-postx-setting"},{key:"medium",value:"settings-upgrade-pro"},{key:"campaign",value:"postx-dashboard"}],tutorialsFR:[{key:"source",value:"db-postx-tutorial"},{key:"medium",value:"tutorials-FR"},{key:"campaign",value:"postx-dashboard"}]}[t]?.map(((t,l)=>e=e+`utm_${t.key}=`+t.value+"&")),l&&(e=e+"ref="+l+"&"),e.slice(0,-1))},5335:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3245),i=l(9735);const{__}=wp.i18n,{RichText:n}=wp.blockEditor,r=e=>{const{headingShow:t,headingStyle:l,headingAlign:r,headingURL:s,headingText:p,setAttributes:c,headingBtnText:u,subHeadingShow:d,subHeadingText:m,headingTag:g,dcEnabled:y=!1}=e.props,b=g?`${g}`:"h3",v=e=>{c({headingText:e})};return(0,o.createElement)(o.Fragment,null,t&&(0,o.createElement)("div",{className:`ultp-heading-wrap ultp-heading-${l} ultp-heading-${r}`},s?(0,o.createElement)(b,{className:"ultp-heading-inner"},(0,o.createElement)("a",null,(0,o.createElement)(n,{key:"editable",tagName:"span",placeholder:__("Add Text...","ultimate-post"),onChange:v,value:p,allowedformats:y?["ultimate-post/dynamic-content"]:void 0}))):(0,o.createElement)(b,{className:"ultp-heading-inner"},(0,o.createElement)(n,{key:"editable",tagName:"span",placeholder:__("Add Text...","ultimate-post"),onChange:v,value:p,allowedFormats:(0,i.o6)()&&y?["ultimate-post/dynamic-content"]:void 0})),"style11"==l&&s&&(0,o.createElement)("a",{className:"ultp-heading-btn"},u,a.ZP.rightAngle2),d&&(0,o.createElement)("div",{className:"ultp-sub-heading"},(0,o.createElement)(n,{key:"editable",tagName:"div",className:"ultp-sub-heading-inner",placeholder:__("Add Text...","ultimate-post"),allowedFormats:[],onChange:e=>c({subHeadingText:e}),value:m}))))}},107:(e,t,l)=>{"use strict";function o(e){var t,l,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(l=o(e[t]))&&(a&&(a+=" "),a+=l)}else for(l in e)e[l]&&(a&&(a+=" "),a+=l);return a}function a(){for(var e,t,l=0,a="",i=arguments.length;l<i;l++)(e=arguments[l])&&(t=o(e))&&(a&&(a+=" "),a+=t);return a}l.d(t,{Z:()=>a})},6557:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={loadingColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{selector:"{{ULTP}} .ultp-loading .ultp-loading-blocks div { --loading-block-color: {{loadingColor}}; }"}]},advanceId:{type:"string",default:""},advanceZindex:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-block-wrapper{z-index:{{advanceZindex}};}"}]},wrapBg:{type:"object",default:{openColor:0,type:"color",color:"#f5f5f5"},style:[{selector:"{{ULTP}} .ultp-block-wrapper"}]},wrapBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-wrapper"}]},wrapShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-wrapper"}]},wrapRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-wrapper { border-radius:{{wrapRadius}}; }"}]},wrapHoverBackground:{type:"object",default:{openColor:0,type:"color",color:"#037fff"},style:[{selector:"{{ULTP}} .ultp-block-wrapper:hover"}]},wrapHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{selector:"{{ULTP}} .ultp-block-wrapper:hover"}]},wrapHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{selector:"{{ULTP}} .ultp-block-wrapper:hover { border-radius:{{wrapHoverRadius}}; }"}]},wrapHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{selector:"{{ULTP}} .ultp-block-wrapper:hover"}]},wrapMargin:{type:"object",default:{lg:{top:"",bottom:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-wrapper { margin:{{wrapMargin}}; }"}]},wrapOuterPadding:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{selector:"{{ULTP}} .ultp-block-wrapper { padding:{{wrapOuterPadding}}; }"}]},hideExtraLarge:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideTablet:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},hideMobile:{type:"boolean",default:!1,style:[{selector:"{{ULTP}} {display:none;}"}]},advanceCss:{type:"string",default:"",style:[{selector:""}]}}},5752:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={catShow:{type:"boolean",default:!0},maxTaxonomy:{type:"string",default:"30"},taxonomy:{type:"string",default:"category"},catStyle:{type:"string",default:"classic"},catPosition:{type:"string",default:"aboveTitle"},customCatColor:{type:"boolean",default:!1},seperatorLink:{type:"string",default:ultp_data.category_url,style:[{depends:[{key:"customCatColor",condition:"==",value:!0}]}]},onlyCatColor:{type:"boolean",default:!1,style:[{depends:[{key:"customCatColor",condition:"==",value:!0}]}]},catLineWidth:{type:"object",default:{lg:"20"},style:[{depends:[{key:"catStyle",condition:"!=",value:"classic"}],selector:"{{ULTP}} .ultp-category-borderRight .ultp-category-in:before, \n            {{ULTP}} .ultp-category-borderBoth .ultp-category-in:before, \n            {{ULTP}} .ultp-category-borderBoth .ultp-category-in:after, \n            {{ULTP}} .ultp-category-borderLeft .ultp-category-in:before { width:{{catLineWidth}}px; }"}]},catLineSpacing:{type:"object",default:{lg:"30"},style:[{depends:[{key:"catStyle",condition:"!=",value:"classic"}],selector:"{{ULTP}} .ultp-category-borderBoth .ultp-category-in { padding-left: {{catLineSpacing}}px; padding-right: {{catLineSpacing}}px; } \n            {{ULTP}} .ultp-category-borderLeft .ultp-category-in { padding-left: {{catLineSpacing}}px; } \n            {{ULTP}} .ultp-category-borderRight .ultp-category-in { padding-right:{{catLineSpacing}}px; }"}]},catLineColor:{type:"string",default:"#000000",style:[{depends:[{key:"catStyle",condition:"!=",value:"classic"}],selector:"{{ULTP}} .ultp-category-borderRight .ultp-category-in:before, \n            {{ULTP}} .ultp-category-borderLeft .ultp-category-in:before, \n            {{ULTP}} .ultp-category-borderBoth .ultp-category-in:after, \n            {{ULTP}} .ultp-category-borderBoth .ultp-category-in:before { background:{{catLineColor}}; }"}]},catLineHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"catStyle",condition:"!=",value:"classic"}],selector:"{{ULTP}} .ultp-category-borderBoth:hover .ultp-category-in:before, \n            {{ULTP}} .ultp-category-borderBoth:hover .ultp-category-in:after, \n            {{ULTP}} .ultp-category-borderLeft:hover .ultp-category-in:before, \n            {{ULTP}} .ultp-category-borderRight:hover .ultp-category-in:before { background:{{catLineHoverColor}}; }"}]},catTypo:{type:"object",default:{openTypography:1,size:{lg:11,unit:"px"},height:{lg:15,unit:"px"},spacing:{lg:1,unit:"px"},transform:"",weight:"400",decoration:"none",family:""},style:[{depends:[{key:"catShow",condition:"==",value:!0}],selector:"body {{ULTP}} div.ultp-block-wrapper .ultp-block-items-wrap .ultp-block-item .ultp-category-grid a"}]},catColor:{type:"string",default:"#fff",style:[{depends:[{key:"catShow",condition:"==",value:!0},{key:"onlyCatColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-category-grid a { color:{{catColor}}; }"},{depends:[{key:"catShow",condition:"==",value:!0},{key:"customCatColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-category-grid a { color:{{catColor}}; }"}]},catBgColor:{type:"object",default:{openColor:1,type:"color",color:"#000000"},style:[{depends:[{key:"catShow",condition:"==",value:!0},{key:"customCatColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-category-grid a"}]},catBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"catShow",condition:"==",value:!0},{key:"onlyCatColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-category-grid a"},{depends:[{key:"catShow",condition:"==",value:!0},{key:"customCatColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-category-grid a"}]},catRadius:{type:"object",default:{lg:"2",unit:"px"},style:[{depends:[{key:"catShow",condition:"==",value:!0},{key:"onlyCatColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-category-grid a { border-radius:{{catRadius}}; }"},{depends:[{key:"catShow",condition:"==",value:!0},{key:"customCatColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-category-grid a { border-radius:{{catRadius}}; }"}]},catHoverColor:{type:"string",default:"#fff",style:[{depends:[{key:"catShow",condition:"==",value:!0},{key:"onlyCatColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-category-grid a:hover { color:{{catHoverColor}}; }"},{depends:[{key:"catShow",condition:"==",value:!0},{key:"customCatColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-category-grid a:hover { color:{{catHoverColor}}; }"}]},catBgHoverColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Primary_color)"},style:[{depends:[{key:"catShow",condition:"==",value:!0},{key:"customCatColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-category-grid a:hover"}]},catHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"catShow",condition:"==",value:!0},{key:"onlyCatColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-category-grid a:hover"},{depends:[{key:"catShow",condition:"==",value:!0},{key:"customCatColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-category-grid a:hover"}]},catSacing:{type:"object",default:{lg:{top:5,bottom:5,left:0,right:0,unit:"px"}},style:[{depends:[{key:"catShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-category-grid { margin:{{catSacing}}; }"}]},catPadding:{type:"object",default:{lg:{top:3,bottom:3,left:7,right:7,unit:"px"}},style:[{depends:[{key:"catShow",condition:"==",value:!0},{key:"onlyCatColor",condition:"!=",value:!0}],selector:"{{ULTP}} .ultp-category-grid a { padding:{{catPadding}}; }"},{depends:[{key:"catShow",condition:"==",value:!0},{key:"customCatColor",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-category-grid a { padding:{{catPadding}}; }"}]}}},2165:(e,t,l)=>{"use strict";l.d(t,{t:()=>u});var o=l(6557),a=l(5752),i=l(8785),n=l(450),r=l(733),s=l(3946),p=l(60),c=l(2886);function u(e,t,l){let u={};const d={meta:n.Z,query:s.Z,video:c.Z,heading:i.Z,category:a.Z,readMore:p.Z,pagination:r.Z,advanceAttr:o.Z,advFilter:{querySearch:{type:"string",default:""},advFilterEnable:{type:"boolean",default:!1},advPaginationEnable:{type:"boolean",default:!1},defQueryTax:{type:"object",default:{}},advRelation:{type:"string",default:"AND"}},pagiBlockCompatibility:{loadMoreText:{type:"string",default:"Load More",style:[{depends:[{key:"paginationType",condition:"==",value:"loadMore"}]}]},paginationText:{type:"string",default:"Previous|Next",style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}]}]},paginationAjax:{type:"boolean",default:!0,style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}]}]}}};return e?.length>0&&e.forEach((function(e){d[e]?u={...u,...JSON.parse(JSON.stringify(d[e]))}:console.log(e," - This Section not found in Dynamic attr store")})),t?.length>0&&t.forEach((function(e,t){delete u[e]})),l&&l.length>0&&l.forEach((function(e){u[e.key]&&(e?.default||e?.style)?(e?.default&&u[e.key]&&(u[e.key].default=e?.default),e?.style&&(u[e.key].style=e?.style)):console.log(e.key," - This key not found in Dynamic attr store",e?.default)})),u}},8785:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});const o={headingURL:{type:"string",default:""},headingBtnText:{type:"string",default:"View More",style:[{depends:[{key:"headingStyle",condition:"==",value:"style11"}]}]},headingStyle:{type:"string",default:"style1"},headingTag:{type:"string",default:"h2"},headingAlign:{type:"string",default:"left",style:[{selector:"{{ULTP}} .ultp-heading-inner, \n          {{ULTP}} .ultp-sub-heading-inner { text-align:{{headingAlign}}; }"}]},headingTypo:{type:"object",default:{openTypography:1,size:{lg:"20",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:"700"},style:[{selector:"{{ULTP}} .ultp-heading-wrap .ultp-heading-inner"}]},headingColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{selector:"{{ULTP}} .ultp-heading-inner span { color:{{headingColor}}; }"}]},headingBorderBottomColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner { border-bottom-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-heading-inner { border-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-heading-inner span:before { background-color: {{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-heading-inner span:before, \n            {{ULTP}} .ultp-heading-inner span:after { background-color: {{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style10"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner { border-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style14"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style15"}],selector:"{{ULTP}} .ultp-heading-inner span:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style16"}],selector:"{{ULTP}} .ultp-heading-inner span:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style17"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style19"}],selector:"{{ULTP}} .ultp-heading-inner:before { border-color:{{headingBorderBottomColor}}; }"}]},headingBorderBottomColor2:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor2}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style10"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style14"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style19"}],selector:"{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }"}]},headingBg:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-heading-style5 .ultp-heading-inner span:before { border-color:{{headingBg}} transparent transparent; } \n            {{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; \n            }"},{depends:[{key:"headingStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style21"}],selector:"{{ULTP}} .ultp-heading-inner span,\n            {{ULTP}} .ultp-heading-inner span:after { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style12"}],selector:"{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner { background-color:{{headingBg}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style20"}],selector:"{{ULTP}} .ultp-heading-inner span:before { border-color:{{headingBg}} transparent transparent; } \n            {{ULTP}} .ultp-heading-inner { background-color:{{headingBg}}; }"}]},headingBg2:{type:"string",default:"var(--postx_preset_Base_2_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style12"}],selector:"{{ULTP}} .ultp-heading-inner { background-color:{{headingBg2}}; }"}]},headingBtnTypo:{type:"object",default:{openTypography:1,size:{lg:"14",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"headingStyle",condition:"==",value:"style11"}],selector:"{{ULTP}} .ultp-heading-wrap .ultp-heading-btn"}]},headingBtnColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style11"}],selector:"{{ULTP}} .ultp-heading-wrap .ultp-heading-btn { color:{{headingBtnColor}}; } \n            {{ULTP}} .ultp-heading-wrap .ultp-heading-btn svg { fill:{{headingBtnColor}}; }"}]},headingBtnHoverColor:{type:"string",default:"var(--postx_preset_Secondary_color)",style:[{depends:[{key:"headingStyle",condition:"==",value:"style11"}],selector:"{{ULTP}} .ultp-heading-wrap .ultp-heading-btn:hover { color:{{headingBtnHoverColor}}; } \n            {{ULTP}} .ultp-heading-wrap .ultp-heading-btn:hover svg { fill:{{headingBtnHoverColor}}; }"}]},headingBorder:{type:"string",default:"3",style:[{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner { border-bottom-width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-heading-inner { border-width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-heading-inner span:before { width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style7"}],selector:"{{ULTP}} .ultp-heading-inner span:before, \n            {{ULTP}} .ultp-heading-inner span:after { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style8"}],selector:"{{ULTP}} .ultp-heading-inner:before, \n            {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style9"}],selector:"{{ULTP}} .ultp-heading-inner:before { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style10"}],selector:"{{ULTP}} .ultp-heading-inner:before, \n            {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner { border-width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style14"}],selector:"{{ULTP}} .ultp-heading-inner:before, \n            {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style15"}],selector:"{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style16"}],selector:"{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style17"}],selector:"{{ULTP}} .ultp-heading-inner:before { height:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style19"}],selector:"{{ULTP}} .ultp-heading-inner:after { width:{{headingBorder}}px; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner:after { width:{{headingBorder}}px; }"}]},headingSpacing:{type:"object",default:{lg:20,sm:10,unit:"px"},style:[{selector:"{{ULTP}} .ultp-heading-wrap {margin-top:0; margin-bottom:{{headingSpacing}}; }"}]},headingRadius:{type:"object",default:{lg:{top:"",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"headingStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-heading-inner span { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner span { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-heading-inner span { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style12"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style20"}],selector:"{{ULTP}} .ultp-heading-inner { border-radius:{{headingRadius}}; }"}]},headingPadding:{type:"object",default:{lg:{unit:"px"}},style:[{depends:[{key:"headingStyle",condition:"==",value:"style2"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style3"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style4"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style5"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style6"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style12"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style13"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style18"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style19"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style20"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"},{depends:[{key:"headingStyle",condition:"==",value:"style21"}],selector:"{{ULTP}} .ultp-heading-inner span { padding:{{headingPadding}}; }"}]},subHeadingShow:{type:"boolean",default:!1},subHeadingText:{type:"string",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ut sem augue. Sed at felis ut enim dignissim sodales.",style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}]}]},subHeadingTypo:{type:"object",default:{openTypography:1,size:{lg:"16",unit:"px"},spacing:{lg:"0",unit:"px"},height:{lg:"27",unit:"px"},decoration:"none",transform:"",family:"",weight:"500"},style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sub-heading div"}]},subHeadingColor:{type:"string",default:"var(--postx_preset_Contrast_2_color)",style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sub-heading div { color:{{subHeadingColor}}; }"}]},subHeadingSpacing:{type:"object",default:{lg:{top:"8",unit:"px"}},style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sub-heading-inner { margin:{{subHeadingSpacing}}; }"}]},enableWidth:{type:"toggle",default:!1,style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0}]}]},customWidth:{type:"object",default:{lg:{top:"",unit:"px"}},style:[{depends:[{key:"subHeadingShow",condition:"==",value:!0},{key:"enableWidth",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-sub-heading-inner { max-width:{{customWidth}}; }"}]}};!function e(t,l){let o=[];for(let a in t)a in l?"object"==typeof t[a]&&"object"==typeof l[a]?e(t[a],l[a]).length>0&&o.push(a):t[a]!==l[a]&&o.push(a):o.push(a);for(let e in l)e in t||o.push(e);return o}(o,{});const a=o},450:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={metaShow:{type:"boolean",default:!0},metaPosition:{type:"string",default:"top"},metaStyle:{type:"string",default:"icon"},authorLink:{type:"boolean",default:!0},metaSeparator:{type:"string",default:"dot"},metaList:{type:"string",default:'["metaAuthor","metaDate","metaRead"]'},metaMinText:{type:"string",default:"min read"},metaAuthorPrefix:{type:"string",default:"By"},metaDateFormat:{type:"string",default:"M j, Y"},metaTypo:{type:"object",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:20,unit:"px"},transform:"capitalize",decoration:"none",family:""},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} span.ultp-block-meta-element, \n            {{ULTP}} .ultp-block-item span.ultp-block-meta-element a"}]},metaColor:{type:"string",default:"var(--postx_preset_Contrast_3_color)",style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} span.ultp-block-meta-element svg { fill: {{metaColor}}; } \n                {{ULTP}} span.ultp-block-meta-element,\n                {{ULTP}} .ultp-block-items-wrap span.ultp-block-meta-element a { color: {{metaColor}}; }"}]},metaHoverColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} span.ultp-block-meta-element:hover, \n            {{ULTP}} .ultp-block-items-wrap span.ultp-block-meta-element:hover a { color: {{metaHoverColor}}; } \n            {{ULTP}} span.ultp-block-meta-element:hover svg { fill: {{metaHoverColor}}; }"}]},metaSeparatorColor:{type:"string",default:"var(--postx_preset_Contrast_1_color)",style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-meta-dot span:after { background:{{metaSeparatorColor}}; } \n        {{ULTP}} .ultp-block-items-wrap span.ultp-block-meta-element:after { color:{{metaSeparatorColor}}; }"}]},metaSpacing:{type:"object",default:{lg:"15",unit:"px"},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} span.ultp-block-meta-element { margin-right:{{metaSpacing}}; } \n            {{ULTP}} span.ultp-block-meta-element { padding-left: {{metaSpacing}}; } \n            .rtl {{ULTP}} span.ultp-block-meta-element {margin-right:0; margin-left:{{metaSpacing}}; } \n            .rtl {{ULTP}} span.ultp-block-meta-element { padding-left:0; padding-right: {{metaSpacing}}; }"},{depends:[{key:"metaShow",condition:"==",value:!0},{key:"contentAlign",condition:"==",value:"right"}],selector:"{{ULTP}} .ultp-block-items-wrap span.ultp-block-meta-element:last-child { margin-right:0px; }"}]},metaMargin:{type:"object",default:{lg:{top:"5",bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-meta { margin:{{metaMargin}}; }"}]},metaPadding:{type:"object",default:{lg:{top:"5",bottom:"5",left:"",right:"",unit:"px"}},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-meta { padding:{{metaPadding}}; }"}]},metaBorder:{type:"object",default:{openBorder:0,width:{top:1,right:"0",bottom:"0",left:"0"},color:"#009fd4",type:"solid"},style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-meta"}]},metaBg:{type:"string",default:"",style:[{depends:[{key:"metaShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-meta { background:{{metaBg}}; }"}]}}},733:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={loadMoreText:{type:"string",default:"Load More",style:[{depends:[{key:"paginationType",condition:"==",value:"loadMore"}]}]},paginationText:{type:"string",default:"Previous|Next",style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}]}]},paginationNav:{type:"string",default:"textArrow",style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}]}]},paginationAjax:{type:"boolean",default:!0,style:[{depends:[{key:"paginationType",condition:"==",value:"pagination"}]}]},navPosition:{type:"string",default:"topRight",style:[{depends:[{key:"paginationType",condition:"==",value:"navigation"}]}]},pagiAlign:{type:"object",default:{lg:"center"},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-loadmore, \n            {{ULTP}} .ultp-next-prev-wrap ul, \n            {{ULTP}} .ultp-pagination, \n            {{ULTP}} .ultp-pagination-wrap { text-align:{{pagiAlign}}; }"}]},pagiTypo:{type:"object",default:{openTypography:1,size:{lg:14,unit:"px"},height:{lg:20,unit:"px"},decoration:"none",family:""},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination li a, \n            {{ULTP}} .ultp-loadmore .ultp-loadmore-action"}]},pagiArrowSize:{type:"object",default:{lg:"14"},style:[{depends:[{key:"paginationType",condition:"==",value:"navigation"}],selector:"{{ULTP}} .ultp-next-prev-wrap ul li a svg { width:{{pagiArrowSize}}px; }"}]},pagiColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-next-prev-wrap ul li a,\n                {{ULTP}} .ultp-pagination-wrap .ultp-pagination li a,\n                {{ULTP}} .ultp-block-wrapper .ultp-loadmore .ultp-loadmore-action { color:{{pagiColor}}; }\n                {{ULTP}} .ultp-pagination svg,\n                {{ULTP}} .ultp-next-prev-wrap ul li a svg,\n                {{ULTP}} .ultp-block-wrapper .ultp-loadmore .ultp-loadmore-action svg { fill:{{pagiColor}}; }"}]},pagiBgColor:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Primary_color)"},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination li a, \n            {{ULTP}} .ultp-next-prev-wrap ul li a, \n            {{ULTP}} .ultp-loadmore .ultp-loadmore-action"}]},pagiBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination li a,\n            {{ULTP}} .ultp-next-prev-wrap ul li a,\n            {{ULTP}} .ultp-loadmore-action"}]},pagiShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination li a,\n            {{ULTP}} .ultp-next-prev-wrap ul li a, \n            {{ULTP}} .ultp-loadmore-action"}]},pagiRadius:{type:"object",default:{lg:{top:"2",bottom:"2",left:"2",right:"2",unit:"px"}},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination li a, \n            {{ULTP}} .ultp-next-prev-wrap ul li a, \n            {{ULTP}} .ultp-loadmore-action { border-radius:{{pagiRadius}}; }"}]},pagiHoverColor:{type:"string",default:"var(--postx_preset_Over_Primary_color)",style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-next-prev-wrap ul li a:hover,\n            {{ULTP}} .ultp-pagination-wrap .ultp-pagination li.pagination-active a,\n            {{ULTP}} .ultp-block-wrapper .ultp-loadmore-action:hover { color:{{pagiHoverColor}}; } \n            {{ULTP}} .ultp-pagination li a:hover svg,\n            {{ULTP}} .ultp-next-prev-wrap ul li a:hover svg, \n            {{ULTP}} .ultp-block-wrapper .ultp-loadmore .ultp-loadmore-action:hover svg { fill:{{pagiHoverColor}}; } \n            @media (min-width: 768px) { \n                {{ULTP}} .ultp-pagination-wrap .ultp-pagination li a:hover { color:{{pagiHoverColor}};}\n            }"}]},pagiHoverbg:{type:"object",default:{openColor:1,type:"color",color:"var(--postx_preset_Secondary_color)",replace:1},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination li a:hover, \n            {{ULTP}} .ultp-pagination-wrap .ultp-pagination li.pagination-active a, \n            {{ULTP}} .ultp-pagination-wrap .ultp-pagination li a:focus, \n            {{ULTP}} .ultp-next-prev-wrap ul li a:hover, \n            {{ULTP}} .ultp-loadmore-action:hover{ {{pagiHoverbg}} }"}]},pagiHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination li a:hover, \n            {{ULTP}} .ultp-pagination li.pagination-active a, \n            {{ULTP}} .ultp-next-prev-wrap ul li a:hover, \n            {{ULTP}} .ultp-loadmore-action:hover"}]},pagiHoverShadow:{type:"object",default:{openShadow:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4"},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination li a:hover, \n            {{ULTP}} .ultp-pagination li.pagination-active a, \n            {{ULTP}} .ultp-next-prev-wrap ul li a:hover, \n            {{ULTP}} .ultp-loadmore-action:hover"}]},pagiHoverRadius:{type:"object",default:{lg:{top:"2",bottom:"2",left:"2",right:"2",unit:"px"}},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination li.pagination-active a,\n            {{ULTP}} .ultp-pagination li a:hover, \n            {{ULTP}} .ultp-next-prev-wrap ul li a:hover, \n            {{ULTP}} .ultp-loadmore-action:hover { border-radius:{{pagiHoverRadius}}; }"}]},pagiPadding:{type:"object",default:{lg:{top:"8",bottom:"8",left:"14",right:"14",unit:"px"}},style:[{depends:[{key:"paginationShow",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-pagination li a, \n            {{ULTP}} .ultp-next-prev-wrap ul li a, \n            {{ULTP}} .ultp-loadmore-action { padding:{{pagiPadding}}; }"}]},navMargin:{type:"object",default:{lg:{top:"0",right:"0",bottom:"0",left:"0",unit:"px"}},style:[{depends:[{key:"paginationType",condition:"==",value:"navigation"}],selector:"{{ULTP}} .ultp-next-prev-wrap ul { margin:{{navMargin}}; }"}]},pagiMargin:{type:"object",default:{lg:{top:"35",right:"0",bottom:"0",left:"0",unit:"px"}},style:[{depends:[{key:"paginationType",condition:"!=",value:"navigation"}],selector:"{{ULTP}} .ultp-pagination-wrap .ultp-pagination, \n            {{ULTP}} .ultp-loadmore { margin:{{pagiMargin}}; }"}]}}},3946:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={queryQuick:{type:"string",default:"",style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryNumPosts:{type:"object",default:{lg:6}},queryNumber:{type:"string",default:4,style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryType:{type:"string",default:"post"},queryTax:{type:"string",default:"category",style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryTaxValue:{type:"string",default:"[]",style:[{depends:[{key:"queryTax",condition:"!=",value:""},{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryRelation:{type:"string",default:"OR",style:[{depends:[{key:"queryTaxValue",condition:"!=",value:"[]"},{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryOrderBy:{type:"string",default:"date"},metaKey:{type:"string",default:"custom_meta_key",style:[{depends:[{key:"queryOrderBy",condition:"==",value:"meta_value_num"},{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryOrder:{type:"string",default:"desc"},queryInclude:{type:"string",default:""},queryExclude:{type:"string",default:"[]",style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryAuthor:{type:"string",default:"[]",style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryOffset:{type:"string",default:"0",style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryExcludeTerm:{type:"string",default:"[]",style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryExcludeAuthor:{type:"string",default:"[]",style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},querySticky:{type:"boolean",default:!0,style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts","archiveBuilder"]}]}]},queryUnique:{type:"string",default:"",style:[{depends:[{key:"queryType",condition:"!=",value:["customPosts","posts"]}]}]},queryPosts:{type:"string",default:"[]",style:[{depends:[{key:"queryType",condition:"==",value:"posts"}]}]},queryCustomPosts:{type:"string",default:"[]",style:[{depends:[{key:"queryType",condition:"==",value:"customPosts"}]}]}}},60:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={readMore:{type:"boolean",default:!1},readMoreText:{type:"string",default:""},readMoreIcon:{type:"string",default:"rightArrowLg"},readMoreTypo:{type:"object",default:{openTypography:1,size:{lg:12,unit:"px"},height:{lg:"",unit:"px"},spacing:{lg:1,unit:"px"},transform:"",weight:"400",decoration:"none",family:""},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-readmore a"}]},readMoreIconSize:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore svg { width:{{readMoreIconSize}}; }"}]},readMoreColor:{type:"string",default:"var(--postx_preset_Base_3_color)",style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-readmore a { color:{{readMoreColor}}; } \n            {{ULTP}} .ultp-block-readmore a svg { fill:{{readMoreColor}}; }"}]},readMoreBgColor:{type:"object",default:{openColor:0,type:"color",color:"#000"},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore a"}]},readMoreBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore a"}]},readMoreRadius:{type:"object",default:{lg:{top:2,right:2,bottom:2,left:2,unit:"px"},unit:"px"},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore a { border-radius:{{readMoreRadius}}; }"}]},readMoreHoverColor:{type:"string",default:"rgba(255,255,255,0.80)",style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-readmore a:hover { color:{{readMoreHoverColor}}; } \n            {{ULTP}} .ultp-block-readmore a:hover svg { fill:{{readMoreHoverColor}} !important; }"}]},readMoreBgHoverColor:{type:"object",default:{openColor:0,type:"color",color:"var(--postx_preset_Primary_color)"},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore a:hover"}]},readMoreHoverBorder:{type:"object",default:{openBorder:0,width:{top:1,right:1,bottom:1,left:1},color:"#009fd4",type:"solid"},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore a:hover"}]},readMoreHoverRadius:{type:"object",default:{lg:"",unit:"px"},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore a:hover { border-radius:{{readMoreHoverRadius}}; }"}]},readMoreSacing:{type:"object",default:{lg:{top:15,bottom:"",left:"",right:"",unit:"px"}},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore { margin:{{readMoreSacing}}; }"}]},readMorePadding:{type:"object",default:{lg:{top:"2",bottom:"2",left:"6",right:"6",unit:"px"}},style:[{depends:[{key:"readMore",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-block-readmore a { padding:{{readMorePadding}}; }"}]}}},2886:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o={vidIconEnable:{type:"boolean",default:!0},popupAutoPlay:{type:"boolean",default:!0,style:[{depends:[{key:"enablePopup",condition:"==",value:!0}]}]},vidIconPosition:{type:"string",default:"topRight",style:[{depends:[{key:"vidIconEnable",condition:"==",value:!0},{key:"vidIconPosition",condition:"==",value:"bottomRight"}],selector:"{{ULTP}} .ultp-video-icon { bottom: 20px; right: 20px; }"},{depends:[{key:"vidIconEnable",condition:"==",value:!0},{key:"vidIconPosition",condition:"==",value:"center"}],selector:"{{ULTP}} .ultp-video-icon {  margin: 0 auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); -o-transform: translate(-50%,-60%); -ms-transform: translate(-50%,-60%); -moz-transform: translate(-50%,-60%); -webkit-transform: translate(-50%,-50%); z-index: 998;}"},{depends:[{key:"vidIconEnable",condition:"==",value:!0},{key:"vidIconPosition",condition:"==",value:"bottomLeft"}],selector:"{{ULTP}} .ultp-video-icon { bottom: 20px; left: 20px; }"},{depends:[{key:"vidIconEnable",condition:"==",value:!0},{key:"vidIconPosition",condition:"==",value:"topRight"}],selector:"{{ULTP}} .ultp-video-icon { top: 20px; right: 20px; }"},{depends:[{key:"vidIconEnable",condition:"==",value:!0},{key:"vidIconPosition",condition:"==",value:"topLeft"}],selector:"{{ULTP}} .ultp-video-icon { top: 20px; left: 20px; }"},{depends:[{key:"vidIconEnable",condition:"==",value:!0},{key:"vidIconPosition",condition:"==",value:"rightMiddle"}],selector:"{{ULTP}} .ultp-video-icon {display: flex; justify-content: flex-end; align-items: center; height: 100%; width: 100%; top:0px;}"},{depends:[{key:"vidIconEnable",condition:"==",value:!0},{key:"vidIconPosition",condition:"==",value:"leftMiddle"}],selector:"{{ULTP}} .ultp-video-icon {display: flex; justify-content: flex-start; align-items: center; height: 100%; width: 100%; top: 0px;}"}]},popupIconColor:{type:"string",default:"#fff",style:[{depends:[{key:"vidIconEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-video-icon svg { fill: {{popupIconColor}}; } \n            {{ULTP}} .ultp-video-icon svg circle { stroke: {{popupIconColor}}; }"}]},popupHovColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"vidIconEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-video-icon svg:hover { fill: {{popupHovColor}}; } \n            {{ULTP}} .ultp-video-icon svg:hover circle { stroke: {{popupHovColor}};}"}]},iconSize:{type:"object",default:{lg:"40",sm:"30",xs:"30",unit:"px"},style:[{depends:[{key:"vidIconEnable",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-video-icon svg { height:{{iconSize}}; width: {{iconSize}};}"}]},enablePopup:{type:"boolean",default:!1,style:[{depends:[{key:"vidIconEnable",condition:"==",value:!0}]}]},popupWidth:{type:"object",default:{lg:"70"},style:[{depends:[{key:"enablePopup",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-video-modal__Wrapper {width:{{popupWidth}}% !important;}"}]},enablePopupTitle:{type:"boolean",default:!0,style:[{depends:[{key:"enablePopup",condition:"==",value:!0}]}]},popupTitleColor:{type:"string",default:"#fff",style:[{depends:[{key:"enablePopupTitle",condition:"==",value:!0},{key:"enablePopup",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-video-modal__Wrapper a { color:{{popupTitleColor}} !important; }"}]},closeIconSep:{type:"string",default:"#fff",style:[{depends:[{key:"enablePopup",condition:"==",value:!0}]}]},closeIconColor:{type:"string",default:"#fff",style:[{depends:[{key:"enablePopup",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-video-close { color:{{closeIconColor}}; }"}]},closeHovColor:{type:"string",default:"var(--postx_preset_Primary_color)",style:[{depends:[{key:"enablePopup",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-video-close:hover { color:{{closeHovColor}}; }"}]},closeSize:{type:"object",default:{lg:"70",unit:"px"},style:[{depends:[{key:"enablePopup",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-video-close { font-size:{{closeSize}}; }"}]}}},3151:(e,t,l)=>{"use strict";l.d(t,{O:()=>o,h:()=>a});const o={type:"object",default:{runComp:!0}};function a(e){const{attributes:{V4_1_0_CompCheck:{runComp:t}}}=e;t&&function(e){const{attributes:{blockId:t,V4_1_0_CompCheck:{runComp:l},headingShow:o,paginationShow:a,filterShow:i},setAttributes:n,name:r,clientId:s}=e;function p(){l&&n({V4_1_0_CompCheck:{runComp:!1}})}"ultimate-post/ultp-taxonomy"===r&&o?t?p():(n({headingShow:!1}),function(e){const{getBlockIndex:t,getBlockOrder:l,getBlockRootClientId:o,getBlockName:a}=wp.data.select("core/block-editor"),{insertBlock:i}=wp.data.dispatch("core/block-editor"),{createBlock:n}=wp.blocks,r=t(e),s=o(e);r>0&&"ultimate-post/heading"===a(l(s)[r-1])||i(n("ultimate-post/heading",{}),r,s,!1)}(s)):t?(["ultimate-post/post-slider-1","ultimate-post/post-slider-2"].includes(r)&&t&&o||t&&(o||a||i))&&p():n({readMore:!1,headingShow:!1,paginationShow:!1,filterShow:!1})}(e)}},2963:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(4971);function i({dcFields:e,setAttributes:t,startOnboarding:l,overlayMode:i=!1,inverseColor:n=!1}){const r=e.every((e=>e));return(0,o.createElement)("button",{type:"button",className:`ultp-add-dc-button ${r?"ultp-add-dc-button-disabled":""} ${i?"ultp-add-dc-button-top":""} ${n?"ultp-add-dc-button-inverse":""}`,onClick:o=>{if(r)return;o.stopPropagation();const i=[...e],n=i.findIndex((e=>!e));n>=0&&(i.splice(n,1),i.unshift({id:(new Date).getTime(),fields:[(0,a.rB)()]}),t({dcFields:i}),l())}},(0,o.createElement)("span",{style:{display:"flex",alignItems:"center",justifyContent:"center"}},(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19px",height:"19px",viewBox:"0 0 24 24"},(0,o.createElement)("path",{fill:"currentColor",d:"M19 12.998h-6v6h-2v-6H5v-2h6v-6h2v6h6z"}))),(0,o.createElement)("span",null,"Add Custom Field"))}},2473:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7294),a=l(9735),i=l(3049),n=l(3448),r=l(2258),s=l(4971),p=l(6558);const{__}=wp.i18n,{ToolbarButton:c}=wp.components,u=(0,o.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",style:{fill:"transparent"}},(0,o.createElement)("path",{d:"M4 18V6a2 2 0 0 1 2-2h8.864a2 2 0 0 1 1.414.586l3.136 3.136A2 2 0 0 1 20 9.136V18a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2Z",stroke:"#070707","stroke-width":"1.5"}),(0,o.createElement)("circle",{cx:"9.5",cy:"9.5",r:".5",fill:"#070707",stroke:"#070707","stroke-width":"1.5"}),(0,o.createElement)("circle",{cx:"9.5",cy:"14.5",r:".5",fill:"#070707",stroke:"#070707","stroke-width":"1.5"}),(0,o.createElement)("circle",{cx:"14.5",cy:"9.5",r:".5",fill:"#070707",stroke:"#070707","stroke-width":"1.5"}),(0,o.createElement)("circle",{cx:"14.5",cy:"14.5",r:".5",fill:"#070707",stroke:"#070707","stroke-width":"1.5"}));function d({store:e,selected:t,layoutContext:l}){const{selectedDC:d,setSelectedDc:m,selectParentMetaGroup:g,attributes:{dcFields:y,dcGroupStyles:b}}=e,{moveMetaGroupUp:v,moveMetaGroupDown:h,removeMetaGroup:f,addMeta:k,removeMeta:w,moveMetaUp:x,moveMetaDown:T}=(0,a.Ic)({...e,layoutContext:l});if("dc_group"===t)return(0,o.createElement)(r.Z,{text:"Meta Group"},(0,o.createElement)(p.Z,{moveUp:v,moveDown:h,idx:+d}),(0,o.createElement)(n.Z,{buttonContent:i.YG,include:(0,i.tv)([{name:"tab",title:__("Meta Group Style","ultimate-post"),options:[{type:"dynamicContent",key:"dcGroupStyles",fields:[{type:"alignment",label:__("Alignment","ultimate-post"),responsive:!0,key:"dcGAlign",options:["flex-start","center","flex-end","space-between"],icons:["left_new","center_new","right_new","justbetween_new"],dcParentKey:"dcGroupStyles",dcIdx:+d},{type:"toggle",label:__("Inline","ultimate-post"),key:"dcGInline",dcParentKey:"dcGroupStyles",dcIdx:+d},{type:"range",label:__("Spacing Top","ultimate-post"),key:"dcGSpacingTop",min:0,max:200,step:1,_inline:!0,responsive:!0,unit:!0,dcParentKey:"dcGroupStyles",dcIdx:+d},{type:"range",label:__("Spacing Bottom","ultimate-post"),key:"dcGSpacingBottom",min:0,max:200,step:1,_inline:!0,responsive:!0,unit:!0,dcParentKey:"dcGroupStyles",dcIdx:+d},{type:"range",label:__("Spacing Between","ultimate-post"),key:"dcGSpacing",min:0,max:200,step:1,_inline:!0,responsive:!0,unit:!0,dcParentKey:"dcGroupStyles",dcIdx:+d}]}]}]),store:e,label:__("Meta Group Style","ultimate-post")}),(0,o.createElement)(c,{label:__("Add New Meta Field","ultimate-post"),onClick:()=>k(+d),icon:(0,o.createElement)("span",{className:"dashicons dashicons-plus"})}),(0,o.createElement)(c,{label:__("Delete Meta Group","ultimate-post"),onClick:()=>f(+d),icon:(0,o.createElement)("span",{className:"dashicons dashicons-trash"})}));if("dc_field"===t){if("string"!=typeof d)return console.log("whoa",d),null;const[t,l,a]=d.split(",").map(Number),m=y[t]?.fields?.length>1,b=wp.data.select("core/block-editor").getBlock(e.clientId);return(0,o.createElement)(r.Z,{text:"Meta Field"},(0,o.createElement)("div",{className:"ultp-dynamic-content-sel-parent-btn"},(0,o.createElement)(c,{label:__("Select Parent Meta Group","ultimate-post"),onClick:()=>g(t),icon:u})),m&&(0,o.createElement)(p.Z,{moveUp:T,moveDown:x,idx:t,subIdx:l,mode:"horizontal"}),(0,o.createElement)(s.ZP,{isActive:!1,headingBlock:b,type:"toolbar",config:{groupIdx:t,fieldIdx:l,isOnboarding:1===a,icon:!0}}),(0,o.createElement)(n.Z,{buttonContent:i.YG,include:(0,i.tv)([{name:"tab",title:__("Meta Field Style","ultimate-post"),options:[{type:"dynamicContent",key:"dcFieldStyles",fields:[{type:"separator",label:__("Meta Field","ultimate-post")},{type:"typography",label:__("Typography","ultimate-post"),key:"dcFTypo",dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"color",label:__("Color","ultimate-post"),key:"dcFColor",key2:"dcFColorHover",dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"separator",label:__("Before Text","ultimate-post")},{type:"typography",label:__("Before Typography","ultimate-post"),key:"dcFBeforeTypo",key2:"dcFBeforeColor",dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"color",label:__("Before Color","ultimate-post"),key:"dcFBeforeColor",key2:"dcFBeforeColorHover",dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"range",label:__("Before Spacing","ultimate-post"),key:"dcBeforeSpacing",min:0,max:100,step:1,responsive:!1,unit:!1,_inline:!0,dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"separator",label:__("After Text","ultimate-post")},{type:"typography",label:__("Afte Typography","ultimate-post"),key:"dcFAfterTypo",dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"color",label:__("After Color","ultimate-post"),key:"dcFAfterColor",key2:"dcFAfterColorHover",dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"range",label:__("After Spacing","ultimate-post"),key:"dcAfterSpacing",min:0,max:100,step:1,responsive:!1,unit:!1,_inline:!0,dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"separator",label:__("Icon","ultimate-post")},{type:"range",label:__("Icon Size","ultimate-post"),key:"dcFIconSize",min:0,max:100,step:1,responsive:!1,unit:!1,_inline:!0,dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}},{type:"color",label:__("Icon Color","ultimate-post"),key:"dcFIconColor",key2:"dcFIconColorHover",dcParentKey:"dcFieldStyles",dcIdx:{groupIdx:t,fieldIdx:l}}]}]}]),store:e,label:__("Meta Group Style","ultimate-post")}),(0,o.createElement)(c,{label:__("Delete Meta Field","ultimate-post"),onClick:()=>w(t,l),icon:(0,o.createElement)("span",{className:"dashicons dashicons-trash"})}))}return null}},2641:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7294),a=l(319),i=l(3245),n=l(2376),r=l(2465);const{__}=wp.i18n,{useEffect:s,useState:p,useRef:c}=wp.element,{useSelect:u}=wp.data;function d({field:e,postId:t,settingsOnClick:l,resetOnboarding:p,groupIdx:c,idx:d}){const{text:m,hasResolved:g}=u((l=>{let i="",n="",s=[];const p="post_type"===e.dataSrc?e.postId:String(t);e.contentSrc.startsWith(r.AF)&&(i=l(a.$6).getPostInfo(p,e.contentSrc.slice(r.AF.length)),n="getPostInfo",s=[p,e.contentSrc.slice(r.AF.length)]),e.contentSrc.startsWith(r.El)&&(i=l(a.$6).getAuthorInfo(p,e.contentSrc.slice(r.El.length)),n="getAuthorInfo",s=[p,e.contentSrc.slice(r.El.length)]),(e.contentSrc.startsWith(r.BQ)||e.contentSrc.startsWith(r._P)||e.contentSrc.startsWith(r.uy)||e.contentSrc.startsWith(r.Ix))&&(i=l(a.$6).getCFValue(p,e.contentSrc),n="getCFValue",s=[p,e.contentSrc]),e.dataSrc.startsWith(r.Bj)&&(i=l(a.$6).getSiteInfo(e.dataSrc.slice(r.Bj.length)),n="getSiteInfo",s=[e.dataSrc.slice(r.Bj.length)]),["string","number","boolean","bigint"].includes(typeof i)?(i=String(i),e.maxCharLen&&(i=i.split(" ").slice(0,+e.maxCharLen).join(" "))):(console.log("Invalid Data Type: ",i),i=null),i||(i=e.fallback||"[EMPTY]");const c=""!==e.dataSrc&&l(a.$6).hasFinishedResolution(n,s);return{text:(0,o.createElement)(o.Fragment,null,e.beforeText&&(0,o.createElement)("p",{className:"ultp-dynamic-content-field-before"},e.beforeText),(0,o.createElement)("p",{className:"ultp-dynamic-content-field-dc"},i),e.afterText&&(0,o.createElement)("p",{className:"ultp-dynamic-content-field-after"},e.afterText)),hasResolved:c}}));s((()=>{g&&p(c,d)}),[g]);const{elementRef:y,isSelected:b,setIsSelected:v}=(0,n.Z)();return(0,o.createElement)("div",{ref:y,className:`ultp-dynamic-content-field-common ultp-dynamic-content-field-${e.id} ultp-component-simple ${b?"ultp-component-selected":""}`,onClick:e=>{v(!0),l(e,"dc_field")}},""===e.dataSrc?(0,o.createElement)("span",{className:"ultp-dynamic-content-field-dc"},__("Custom Field","ultimate-post")):g?(0,o.createElement)(o.Fragment,null,e.icon&&(0,o.createElement)("span",{className:"ultp-dynamic-content-field-icon"},i.ZP[e.icon]),m):(0,o.createElement)("span",{className:"ultp-dynamic-content-field-dc"},__("Loading...","ultimate-post")))}},9349:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(2376),i=l(4971),n=l(2641);function r({idx:e,postId:t,fields:l,settingsOnClick:r,selectedDC:s,setSelectedDc:p,dcFields:c,setAttributes:u}){const d=l[e],{elementRef:m,isSelected:g,setIsSelected:y}=(0,a.Z)();return d?(0,o.createElement)("div",{ref:m,className:"ultp-dynamic-content-group-common ultp-dynamic-content-group-"+l[e].id,onClick:t=>{y(!0),p(e),r(t,"dc_group")}},l[e]?.fields.map(((l,a)=>(0,o.createElement)(n.Z,{key:a,idx:a,postId:t,groupIdx:e,field:l,resetOnboarding:(e,t)=>{s===`${e},${t},1`&&(p(""),r(null,""),wp.data.dispatch("core/block-editor").clearSelectedBlock())},settingsOnClick:t=>{p(`${e},${a}`),r(t,"dc_field")}}))),g&&(0,o.createElement)("button",{type:"button",className:"components-button block-editor-inserter__toggle has-icon","aria-label":"Add a new Meta Field",onClick:t=>{t.stopPropagation();const l=[...c];l[e].fields.push((0,i.rB)()),u({dcFields:l})}},(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:18,height:24,"aria-hidden":"true",focusable:"false",fill:"white"},(0,o.createElement)("path",{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})))):null}},6558:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);function a({moveUp:e,moveDown:t,idx:l,subIdx:a=null,mode:i="vertical"}){return(0,o.createElement)("div",{className:"ultp-toolbar-sort"+("horizontal"===i?" ultp-toolbar-sort-horizontal":"")},(0,o.createElement)("span",{title:"Move Element Up",role:"button","aria-label":"Move element up",className:"ultp-toolbar-sort-btn",onClick:()=>t(l,a)},(0,o.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}))),(0,o.createElement)("span",{title:"Move Element Down",role:"button","aria-label":"Move element down",className:"ultp-toolbar-sort-btn",onClick:()=>e(l,a)},(0,o.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))))}},1579:(e,t,l)=>{"use strict";function o(e={}){const{defColor:t=null}=e;return{dcEnabled:{type:"boolean",default:!1},dcFields:{type:"array",default:[]},dcGroupStyles:{type:"object",fields:{dcGAlign:{type:"string",default:"",style:[{depends:[{key:"dcGInline",condition:"==",value:!0}],selector:"{{ULTP}} .ultp-dynamic-content-group-{{dcID}} { justify-content:{{dcGAlign}}; flex-direction:row; }"},{depends:[{key:"dcGInline",condition:"==",value:!1}],selector:"{{ULTP}} .ultp-dynamic-content-group-{{dcID}} { align-items:{{dcGAlign}}; flex-direction:column; }"}]},dcGInline:{type:"boolean",default:!0},dcGSpacing:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-group-{{dcID}} { gap:{{dcGSpacing}}; }"}]},dcGSpacingTop:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-group-{{dcID}} { padding-top:{{dcGSpacingTop}}; }"}]},dcGSpacingBottom:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-group-{{dcID}} { padding-bottom:{{dcGSpacingBottom}}; }"}]}},default:{default:{dcGAlign:"flex-start",dcGInline:!0,dcGSpacing:{lg:"10",ulg:"px"},dcGSpacingTop:{lg:"5",ulg:"px"},dcGSpacingBottom:{lg:"5",ulg:"px"}}}},dcFieldStyles:{type:"object",fields:{dcFTypo:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-dc"}]},dcFColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-dc { color:{{dcFColor}}; }"}]},dcFSpacing:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-dc { margin-inline:{{dcFSpacing}}px; }"}]},dcFColorHover:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-dc:hover { color:{{dcFColorHover}}; }"}]},dcFBeforeTypo:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-before"}]},dcFBeforeColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-before { color:{{dcFBeforeColor}}; }"}]},dcFBeforeColorHover:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-before:hover { color:{{dcFBeforeColorHover}}; }"}]},dcBeforeSpacing:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-before { margin-right:{{dcBeforeSpacing}}px; }"}]},dcFAfterTypo:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-after"}]},dcFAfterColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-after { color:{{dcFAfterColor}}; }"}]},dcFAfterColorHover:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-after:hover { color:{{dcFAfterColorHover}}; }"}]},dcAfterSpacing:{type:"object",default:{},style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-after { margin-left:{{dcAfterSpacing}}px; }"}]},dcFIconSize:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-icon svg { width:{{dcFIconSize}}px; height:auto; }"}]},dcFIconColor:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-icon svg { fill: {{dcFIconColor}};  }"}]},dcFIconColorHover:{type:"string",default:"",style:[{selector:"{{ULTP}} .ultp-dynamic-content-field-{{dcID}} .ultp-dynamic-content-field-icon:hover svg { fill: {{dcFIconColorHover}};  }"}]}},default:{default:{dcFTypo:{openTypography:1,size:{lg:"12",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:"300"},dcFColor:t||"var(--postx_preset_Contrast_1_color)",dcFColorHover:t||"var(--postx_preset_Primary_color)",dcFSpacing:"0",dcFBeforeTypo:{openTypography:1,size:{lg:"12",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:"300"},dcFBeforeColor:t||"var(--postx_preset_Contrast_1_color)",dcFBeforeColorHover:t||"var(--postx_preset_Primary_color)",dcFAfterTypo:{openTypography:1,size:{lg:"12",unit:"px"},height:{lg:"",unit:"px"},decoration:"none",transform:"",family:"",weight:"300"},dcFAfterColor:t||"var(--postx_preset_Contrast_1_color)",dcFAfterColorHover:t||"var(--postx_preset_Primary_color)",dcFIconSize:"11",dcFIconColor:t||"var(--postx_preset_Contrast_1_color)",dcFIconColorHover:t||"var(--postx_preset_Primary_color)"}}}}}l.d(t,{b:()=>o})},4971:(e,t,l)=>{"use strict";l.d(t,{ZP:()=>S,rB:()=>T,sN:()=>x});var o=l(7294),a=l(319),i=l(3049),n=l(1557),r=l(2465);const{applyFormat:s,insert:p,removeFormat:c}=wp.richText,{__}=wp.i18n,{useState:u}=wp.element,{BlockControls:d}=wp.blockEditor,{useSelect:m}=wp.data,{Dropdown:g,ToolbarButton:y,ToolbarGroup:b,SelectControl:v,Button:h,ToggleControl:f,PanelBody:k,__experimentalNumberControl:w}=wp.components,x={dataSrc:"",postType:"",postId:"",contentSrc:"",linkEnabled:!1,linkSrc:"",beforeText:"",afterText:"",iconType:"",icon:"",fallback:"",maxCharLen:""};function T(){return{...x,id:(new Date).getTime()}}function S({isActive:e,headingBlock:t,richTextProps:l={},type:a="field",attrKey:n="",config:r=null}){const s=()=>(0,o.createElement)(g,{contentClassName:"ultp-dynamic-content-wrapper",defaultOpen:r?.isOnboarding,renderToggle:({onToggle:t,isOpen:l})=>(e&&!l&&t(),"field"===a?(0,o.createElement)("div",{onClick:e=>{e.stopPropagation(),e.preventDefault(),t()},className:"ultp-dc-field-dropdown"},(0,o.createElement)("span",{className:"ultp-dc-field-dropdown dashicons dashicons-database-add"})):"heading"===a?(0,o.createElement)("span",null,(0,o.createElement)(y,{label:__("Dynamic Content","ultimate-post"),icon:(0,o.createElement)("span",{className:"dashicons dashicons-database-add"}),onClick:()=>t(),isActive:l})):"toolbar"===a?(0,o.createElement)(y,{label:__("Meta Field Settings","ultimate-post"),onClick:()=>t(),icon:i.HU}):void 0),renderContent:()=>(0,o.createElement)("div",{className:"ultp-dynamic-content-dropdown"},(0,o.createElement)(C,{richTextProps:l,headingBlock:t,type:a,attrKey:n,config:r}))});return"field"===a||"toolbar"===a?s():"heading"===a?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d,null,(0,o.createElement)(b,null,s()))):void 0}function P(e,t){const{updateBlockAttributes:l}=wp.data.dispatch("core/block-editor");l(e,t)}function C({richTextProps:e,headingBlock:t,type:l,attrKey:i,config:d}){var g;const[y,b]=u("toolbar"===l?t.attributes.dcFields[d.groupIdx].fields[d.fieldIdx]:i?t.attributes.dc[i]:t.attributes.dc),[T,S]=u(!1),C=m((e=>y.postId||e("core/editor").getCurrentPostId()),[y.postId]),E=async o=>{S(!0);try{if(o)if("toolbar"===l){const e=[...t.attributes.dcFields];e[d.groupIdx].fields[d.fieldIdx]=y,P(t.clientId,{dcEnabled:!0,dcFields:e})}else{let o="",n="",c=[];if(y.contentSrc.startsWith(r.AF)&&(o=await wp.data.resolveSelect(a.$6).getPostInfo(C,y.contentSrc.slice(r.AF.length)),n="getPostInfo",c=[C,y.contentSrc.slice(r.AF.length)]),y.contentSrc.startsWith(r.El)&&(o=await wp.data.resolveSelect(a.$6).getAuthorInfo(C,y.contentSrc.slice(r.El.length)),n="getAuthorInfo",c=[C,y.contentSrc.slice(r.El.length)]),(y.contentSrc.startsWith(r.BQ)||y.contentSrc.startsWith(r._P)||y.contentSrc.startsWith(r.Ix)||y.contentSrc.startsWith(r.uy))&&(o=await wp.data.resolveSelect(a.$6).getCFValue(C,y.contentSrc),n="getCFValue",c=[C,y.contentSrc]),y.dataSrc.startsWith(r.Bj)&&(o=await wp.data.resolveSelect(a.$6).getSiteInfo(y.dataSrc.slice(r.Bj.length)),n="getSiteInfo",c=[y.dataSrc.slice(r.Bj.length)]),y.contentSrc.startsWith(r.uZ)&&(o=await wp.data.resolveSelect(a.$6).getLink(C,y.contentSrc),n="getLink",c=[C,y.contentSrc]),y.linkEnabled&&y.linkSrc&&d?.linkOnly&&(o=await wp.data.resolveSelect(a.$6).getLink(C,y.linkSrc),n="getLink",c=[C,y.linkSrc]),(0,a.gH)(n,c),["string","number","boolean","bigint"].includes(typeof o)?(o=String(o),y.maxCharLen&&(o=o.split(" ").slice(0,+y.maxCharLen).join(" "))):(console.log("Invalid Data Type: ",o),o=null),o||(o=y.fallback||"[EMPTY]"),o=y.beforeText+o+y.afterText,"heading"===l&&(P(t.clientId,{dcEnabled:!0,dc:y}),function(e,t,l){const{isActive:o,value:a,onChange:i,onFocus:n}=t,{start:r,end:c}=function(e){let t,l;for(let l=0;l<e.length;l++)if(e[l]&&e[l].some((e=>"ultimate-post/dynamic-content"===e.type))){t=l;break}for(let t=e.length;t>=0;t--)if(e[t]&&e[t].some((e=>"ultimate-post/dynamic-content"===e.type))){l=t;break}return{start:t,end:l}}(a.formats);let u=null!=r?r:a.start;const d=p(a,e,u,c?c+1:a.end),m=u+e.length;i(s(d,{type:"ultimate-post/dynamic-content",title:__("Dynamic Content","ultimate-post")},u,m)),P(l.clientId,{dcText:{start:u,end:m}}),wp.data.dispatch("core/block-editor").selectBlock()}(o,e,t)),"ultimate-post/image"===t.name){const e={dc:{...t.attributes.dc,[i]:y},dcEnabled:{...t.attributes.dcEnabled,[i]:!0}};["imageUpload","darkImage"].includes(i)?e[i]={...t.attributes[i],url:o}:e[i]=o,P(t.clientId,e)}}else{if("heading"===l&&(P(t.clientId,{dcEnabled:!1,dc:x}),function(e){const{value:t,onChange:l}=e;l(c(t,"ultimate-post/dynamic-content")),wp.data.dispatch("core/block-editor").selectBlock()}(e)),"field"===l&&"ultimate-post/image"===t.name){const e={dc:{...t.attributes.dc,[i]:x},dcEnabled:{...t.attributes.dcEnabled,[i]:!1}};["imageUpload","darkImage"].includes(i)?e[i]={...t.attributes[i],url:""}:e[i]="",P(t.clientId,e)}"toolbar"===l&&P(t.clientId,{dcEnabled:!1}),b((e=>({...e,...x})))}}catch(e){console.log(e)}finally{S(!1)}};if("heading"===l&&!e.isActive&&t.attributes.dcEnabled)return(0,o.createElement)("div",{className:"ultp-dynamic-content-empty"},__("This block only supports 1 Dynamic Data Binding.","ultimate-post"));const _="heading"===l&&e.isActive&&t.attributes.dcEnabled||"field"===l&&(i?t.attributes.dcEnabled[i]:t.attributes.dcEnabled);let L=!1;return((["current_post","post_type"].includes(y.dataSrc)&&!d?.linkOnly?""===y.contentSrc:""===y.dataSrc)||(d?.linkOnly||!d?.disableLink&&y.linkEnabled)&&""===y.linkSrc)&&(L=!0),(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-dynamic-content-fields"},(0,o.createElement)(v,{__nextHasNoMarginBottom:!0,labelPosition:"side",label:__("Data Source","ultimate-post"),value:y.dataSrc,onChange:e=>{b((t=>({...t,contentSrc:"",searchValue:[],postId:"",postType:"",dataSrc:e})))}},(0,o.createElement)(r.yN,{config:d,type:l})),"post_type"===y.dataSrc&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(v,{__nextHasNoMarginBottom:!0,labelPosition:"side",label:__("Select Post Type","ultimate-post"),value:y.postType,onChange:e=>{b((t=>({...t,postId:"",searchValue:[],contentSrc:"",linkSrc:"",postType:e})))}},(0,o.createElement)(r.Bb,null)),""!==y.postType&&(0,o.createElement)(r.o3,{opts:y,setOpts:b})),("current_post"===y.dataSrc||"post_type"===y.dataSrc&&""!==y.postType&&""!==y.postId)&&(0,o.createElement)(o.Fragment,null,!d?.linkOnly&&(0,o.createElement)(r.G5,{opts:y,setOpts:b,type:null!==(g=d?.fieldType)&&void 0!==g?g:"text",req:function(e){const o={};o.post_type="toolbar"===l?"post_type"===y.dataSrc?y.postType:t.attributes.queryType:"current_post"===y.dataSrc?wp.data.select("core/editor").getCurrentPostType():y.postType;const a=null!==(e=d?.fieldType)&&void 0!==e?e:"text";return o.acf_field_type=a,("toolbar"!==l||"toolbar"===l&&"post_type"===y.dataSrc)&&(o.post_id=C),o}()})),!d?.disableLink&&""!==y.dataSrc&&(0,o.createElement)(o.Fragment,null,!d?.linkOnly&&(0,o.createElement)(f,{__nextHasNoMarginBottom:!0,checked:y.linkEnabled,label:__("Enable Link","ultimate-post"),onChange:e=>b((t=>({...t,linkEnabled:e,linkSrc:""})))}),(y.linkEnabled||d?.linkOnly)&&(0,o.createElement)(r.jk,{opts:y,setOpts:b,req:function(){const e={};return e.post_type="toolbar"===l?t.attributes.queryType:"current_post"===y.dataSrc?wp.data.select("core/editor").getCurrentPostType():y.postType,e.acf_field_type="url","toolbar"!==l&&(e.post_id=C),e}()})),!d?.disableAdv&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(k,{title:__("Advanced","ultimate-post"),initialOpen:!1},(0,o.createElement)(r.nv,{value:y.beforeText,onChange:e=>{b((t=>({...t,beforeText:e})))},label:__("Before Text","ultimate-post")}),(0,o.createElement)(r.nv,{value:y.afterText,onChange:e=>{b((t=>({...t,afterText:e})))},label:__("After Text","ultimate-post")}),(0,o.createElement)(r.nv,{value:y.fallback,onChange:e=>{b((t=>({...t,fallback:e})))},label:__("Fallback","ultimate-post")}),d?.icon&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-dc-icon-control"},(0,o.createElement)(n.Z,{value:y.icon,label:__("Icon","ultimate-post"),isSocial:!1,inline:!1,dynamicClass:"",onChange:e=>b((t=>({...t,icon:e})))}))),(0,o.createElement)(w,{min:1,labelPosition:"side",value:y.maxCharLen,onChange:e=>{b((t=>({...t,maxCharLen:String(e)})))},label:__("Max Length","ultimate-post")}))),(0,o.createElement)(h,{className:"ultp-dynamic-content-dropdown-button",variant:"primary",onClick:()=>E(!0),isBusy:T,disabled:L},__("Apply","ultimate-post")),_&&(0,o.createElement)(h,{style:{marginTop:"24px"},isDestructive:!0,className:"ultp-dynamic-content-dropdown-button",variant:"secondary",onClick:()=>E(!1),isBusy:T},__("Reset","ultimate-post"))),!ultp_data.active&&(0,o.createElement)("div",{className:"ultp-dyanmic-content-pro"},(0,o.createElement)("span",null,__("Get ACF Integration & Meta Box Access","ultimate-post")),(0,o.createElement)("a",{href:r.rj,target:"_blank",className:"ultp-dyanmic-content-pro-link"},(0,o.createElement)("span",null,__("Upgrade to PRO","ultimate-post")),(0,o.createElement)("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M6.08594 0.707031H13.293V7.91406L11.5 7V4.22266L6.47266 9.25L5.20703 7.98438L10.6562 2.5H7L6.08594 0.707031ZM8.79297 11.5V8.79297L10.5859 7V13.293H0.707031V3.41406H7.91406L6.08594 5.20703H2.5V11.5H8.79297Z"})))))}},9735:(e,t,l)=>{"use strict";l.d(t,{Ic:()=>c,KF:()=>u,dh:()=>d,o6:()=>m});var o=l(7294),a=l(4971);const{__}=wp.i18n,{useSelect:i}=wp.data,{registerFormatType:n}=wp.richText,r=__("Dynamic Content","ultimate-post"),s=["ultimate-post/heading","ultimate-post/list","ultimate-post/button"],p=(e,t,l)=>(e.splice(l,0,e.splice(t,1)[0]),e),c=e=>{const{attributes:t,setAttributes:l,setSelectedDc:o,selectedDC:i,layoutContext:n}=e,{dcFields:r}=t;return{moveMetaGroupUp:e=>{const t=Math.min(...[n.slice(0,e).reverse().findIndex((e=>e)),r.slice(0,e).reverse().findIndex((e=>e))].filter((e=>e>=0))),a=r.length,i=e-(t+1);if(i>=0&&i<a){const t=[...r];p(t,e,i),l({dcFields:t}),o(i)}},moveMetaGroupDown:e=>{const t=Math.min(...[n.slice(e,n.length).findIndex((e=>e)),r.slice(e+1,r.length).findIndex((e=>e))].filter((e=>e>=0))),a=r.length,i=e+t+1;if(i>=0&&i<a){const t=[...r];p(t,e,i),l({dcFields:t}),o(i)}},removeMetaGroup:e=>{if(Number.isInteger(e)){const t=[...r];t[e]=null,l({dcFields:t}),o(""),wp.data.dispatch("core/block-editor").clearSelectedBlock()}},addMeta:e=>{if(Number.isInteger(e)){const t=[...r];t[e].fields.push((0,a.rB)()),l({dcFields:t})}},removeMeta:(e,t)=>{if(Number.isInteger(e)&&Number.isInteger(t)){const a=[...r];a[e].fields.splice(t,1),0===a[e].fields.length&&(a[e]=null),l({dcFields:a}),o(""),wp.data.dispatch("core/block-editor").clearSelectedBlock()}},moveMetaUp:(e,t)=>{if(Number.isInteger(e)&&Number.isInteger(t)&&t>0){const a=[...r];p(a[e].fields,t,t-1),l({dcFields:a}),o(`${e},${t-1}`)}},moveMetaDown:(e,t)=>{if(Number.isInteger(e)&&Number.isInteger(t)){const a=[...r];t<a[e].fields.length-1&&(p(a[e].fields,t,t+1),l({dcFields:a}),o(`${e},${t+1}`))}}}},u={dc:{type:"object",default:a.sN},dcEnabled:{type:"boolean",default:!1}},d={dc:{type:"object",default:{imageUpload:a.sN,darkImage:a.sN,imgLink:a.sN,btnLink:a.sN}},dcEnabled:{type:"object",default:{imageUpload:!1,darkImage:!1,imgLink:!1,btnLink:!1}}};function m(){return"true"===ultp_data?.settings?.ultp_dynamic_content&&wp.data.select("core/editor")}m()&&n("ultimate-post/dynamic-content",{title:r,tagName:"span",className:"ultp-richtext-dynamic-content",edit(e){const{isActive:t,value:l}=e,n=i((e=>e("core/block-editor").getSelectedBlock()),[]);return n&&!s.includes(n.name)?null:(0,o.createElement)(a.ZP,{isActive:t,richTextProps:e,headingBlock:n,type:"heading"})}})},2465:(e,t,l)=>{"use strict";l.d(t,{AF:()=>y,BQ:()=>d,Bb:()=>x,Bj:()=>v,El:()=>b,G5:()=>E,Ix:()=>m,_P:()=>u,jk:()=>_,nv:()=>k,o3:()=>T,rj:()=>f,uZ:()=>h,uy:()=>g,yN:()=>w});var o=l(7462),a=l(7294),i=l(319),n=l(8073),r=l(2217),s=l(3100);const{__}=wp.i18n,{useSelect:p}=wp.data,{TextControl:c}=wp.components,u="cmeta_",d="acf_",m="mb_",g="pods_",y="post_",b="a_",v="site_",h="link_",f=(0,s.Z)(null,"dc",ultp_data.affiliate_id);function k(e){return(0,a.createElement)("div",{className:"ultp-dynamic-content-textfield"},(0,a.createElement)("label",null,e.label),(0,a.createElement)(c,(0,o.Z)({},e,{label:void 0,__nextHasNoMarginBottom:!0})))}function w({config:e,type:t}){return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("option",{value:""},__("None","ultimate-post")),(0,a.createElement)("option",{value:"current_post"},__("Current Post","ultimate-post")),(0,a.createElement)("option",{value:"post_type"},__("Post Type","ultimate-post")),!e?.linkOnly&&"image"!==e?.fieldType&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("optgroup",{label:__("Archive","ultimate-post")},(0,a.createElement)("option",{value:v+"arc_desc"},__("Archive Description","ultimate-post")),(0,a.createElement)("option",{value:v+"arc_title"},__("Archive Title","ultimate-post"))),(0,a.createElement)("optgroup",{label:__("Site","ultimate-post")},(0,a.createElement)("option",{value:v+"tagline"},__("Site Tagline","ultimate-post")),(0,a.createElement)("option",{value:v+"title"},__("Site Title","ultimate-post")))))}function x(){const e=p((e=>e(i.$6).getPostTypes())),t=p((e=>e(i.$6).hasFinishedResolution("getPostTypes")));return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("option",{value:"",disabled:!0},__("Choose","ultimate-post")),t?e?.length?e?.map((e=>(0,a.createElement)("option",{key:e.value,value:e.value},e.label))):(0,a.createElement)("option",{value:"no-data",disabled:!0},__("No Post Types Found","ultimate-post")):(0,a.createElement)("option",{value:"loading",disabled:!0},__("Loading...","ultimate-post")))}function T({opts:e,setOpts:t}){var l;return(0,a.createElement)(n.Z,{label:__("Select Post","ultimate-post"),value:null!==(l=e?.searchValue)&&void 0!==l?l:[],search:"postExclude",single:!0,condition:e.postType,noIdInTitle:!0,onChange:e=>{t((t=>({...t,contentSrc:"",postId:void 0!==e[0]?e[0].value:"",searchValue:e})))}})}const S=[{label:__("Post Title","ultimate-post"),value:y+"title"},{label:__("Post Excerpt","ultimate-post"),value:y+"excerpt"},{label:__("Post Date","ultimate-post"),value:y+"date"},{label:__("Post Id","ultimate-post"),value:y+"id"},{label:__("Post Number of Comments","ultimate-post"),value:y+"comments"}],P=[{label:__("Name","ultimate-post"),value:b+"display_name"},{label:__("First Name","ultimate-post"),value:b+"first_name"},{label:__("Last Name","ultimate-post"),value:b+"last_name"},{label:__("Nickname","ultimate-post"),value:b+"nickname"},{label:__("Bio","ultimate-post"),value:b+"description"},{label:__("Email","ultimate-post"),value:b+"email"},{label:__("Website","ultimate-post"),value:b+"url"}],C=[{label:__("Post Feature Image","ultimate-post"),value:h+"post_featured_image"},{label:__("Author Profile Image","ultimate-post"),value:h+"a_profile"}];function E({req:e,type:t,opts:l,setOpts:o}){const{options:{acfFields:n,cMetaFields:s,mbFields:c,podsFields:y},error:b,hasResolved:v}=p((t=>t(i.$6).getCustomFields(e)),[e]),h=[{value:"",label:__("Choose","ultimate-post")},{value:"",label:__("Post","ultimate-post"),isHeader:!0}];return("image"===t?C:S).map((e=>{h.push({value:e.value,label:e.label,isChild:!0})})),h.push({value:"",label:__("Post Meta","ultimate-post"),isHeader:!0}),v?s?.length?s?.map((e=>{h.push({value:u+e.value,label:e.label,isChild:!0})})):h.push({value:"no-data",label:__("No Post Meta Found","ultimate-post"),isChild:!0,disabled:!0}):h.push({value:"loading",label:__("Loading...","ultimate-post"),isChild:!0,disabled:!0}),h.push({value:"",label:__("ACF","ultimate-post"),isHeader:!0,pro:!0}),v?n?.length?n?.map((e=>{h.push({value:d+e.value,label:e.label,isChild:!0,pro:!0})})):h.push({value:"no-data",label:__("No ACF Data Found","ultimate-post"),isChild:!0,disabled:!0,pro:!0}):h.push({value:"loading",label:__("Loading...","ultimate-post"),isChild:!0,disabled:!0,pro:!0}),h.push({value:"",label:__("Meta Box","ultimate-post"),isHeader:!0,pro:!0}),v?c?.length?c?.map((e=>{h.push({value:m+e.value,label:e.label,isChild:!0,pro:!0})})):h.push({value:"no-data",label:__("No Meta Box Data Found","ultimate-post"),isChild:!0,pro:!0,disabled:!0}):h.push({value:"loading",label:__("Loading...","ultimate-post"),isChild:!0,pro:!0,disabled:!0}),h.push({value:"",label:__("Pods","ultimate-post"),isHeader:!0,pro:!0}),v?y?.length?y?.map((e=>{h.push({value:g+e.value,label:e.label,isChild:!0,pro:!0})})):h.push({value:"no-data",label:__("No Pods Data Found","ultimate-post"),isChild:!0,pro:!0,disabled:!0}):h.push({value:"loading",label:__("Loading...","ultimate-post"),isChild:!0,pro:!0,disabled:!0}),h.push({value:"",label:__("Author","ultimate-post"),isHeader:!0}),"image"!==t&&P.map((e=>{h.push({value:e.value,label:e.label,isChild:!0})})),(0,a.createElement)(r.Z,{beside:!0,label:__("Content Source","ultimate-post"),value:l.contentSrc,onChange:e=>{o((t=>({...t,contentSrc:e})))},options:h,responsive:!1,proLink:f})}function _({req:e,opts:t,setOpts:l}){const{options:{acfFields:o,cMetaFields:n,mbFields:s,podsFields:c},error:y,hasResolved:b}=p((t=>t(i.$6).getCustomFields(e)),[e]),v=[{value:"",label:__("None","ultimate-post")},{value:"",label:__("Post","ultimate-post"),isHeader:!0},{value:h+"post_permalink",label:__("Post Permalink","ultimate-post"),isChild:!0},{value:h+"post_permalink",label:__("Post Comments","ultimate-post"),isChild:!0},{value:"",label:__("Post Meta","ultimate-post"),isHeader:!0}];return b?n?.length?n?.map((e=>{v.push({value:u+e.value,label:e.label,isChild:!0})})):v.push({value:"no-data",label:__("No Post Meta Found","ultimate-post"),isChild:!0,disabled:!0}):v.push({value:"loading",label:__("Loading...","ultimate-post"),isChild:!0,disabled:!0}),v.push({value:"",label:__("ACF","ultimate-post"),isHeader:!0,pro:!0}),b?o?.length?o?.map((e=>{v.push({value:d+e.value,label:e.label,isChild:!0,pro:!0})})):v.push({value:"no-data",label:__("No ACF Data Found","ultimate-post"),isChild:!0,pro:!0,disabled:!0}):v.push({value:"loading",label:__("Loading...","ultimate-post"),isChild:!0,pro:!0,disabled:!0}),v.push({value:"",label:__("Meta Box","ultimate-post"),isHeader:!0,pro:!0}),b?s?.length?s?.map((e=>{v.push({value:m+e.value,label:e.label,isChild:!0,pro:!0})})):v.push({value:"no-data",label:__("No Meta Box Data Found","ultimate-post"),isChild:!0,pro:!0,disabled:!0}):v.push({value:"loading",label:__("Loading...","ultimate-post"),isChild:!0,pro:!0,disabled:!0}),v.push({value:"",label:__("Pods","ultimate-post"),isHeader:!0,pro:!0}),b?c?.length?c?.map((e=>{v.push({value:g+e.value,label:e.label,isChild:!0,pro:!0})})):v.push({value:"no-data",label:__("No Pods Data Found","ultimate-post"),isChild:!0,pro:!0,disabled:!0}):v.push({value:"loading",label:__("Loading...","ultimate-post"),isChild:!0,pro:!0,disabled:!0}),v.push({value:"",label:__("Author","ultimate-post"),isHeader:!0},{value:h+"a_profile",label:__("Avatar (Profile URL)","ultimate-post"),isChild:!0},{value:h+"a_arc",label:__("Author Archive URL","ultimate-post"),isChild:!0},{value:h+"a_page",label:__("Author Page URL","ultimate-post"),isChild:!0}),(0,a.createElement)(r.Z,{beside:!0,label:__("Link Source","ultimate-post"),value:t.linkSrc,onChange:e=>{l((t=>({...t,linkEnabled:!0,linkSrc:e})))},options:v,responsive:!1,proLink:f})}},8054:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(6834);const i={left:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"})),center:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"})),right:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"})),justify:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{clipRule:"evenodd",fillRule:"evenodd",d:"M4 5h16v2H4V5zm0 4v2h16V9H4zm0 4h16v2H4v-2zm16 6H4v-2h16v2z"})),juststart:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",null,(0,o.createElement)("g",{transform:"translate(-278 -193)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.8",fill:"#393939",rx:"3",transform:"translate(278 193)"})),(0,o.createElement)("rect",{width:"18",height:"43.9",rx:"2.9",transform:"translate(288 215)"}),(0,o.createElement)("rect",{width:"18",height:"43.9",rx:"2.9",transform:"translate(310 215)"})),(0,o.createElement)("g",{transform:"translate(-278 -193)"},(0,o.createElement)("rect",{width:"6",height:"86.8",rx:"3",transform:"translate(353 193)"})),(0,o.createElement)("g",{transform:"translate(-278 -193)"},(0,o.createElement)("rect",{width:"6",height:"86.8",rx:"3",transform:"translate(278 193)"})))),justcenter:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",{transform:"translate(-747 -193)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.8",rx:"3",transform:"translate(822 193)"})),(0,o.createElement)("rect",{width:"18",height:"43.9",rx:"2.9",transform:"rotate(180 404 129)"}),(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.8",rx:"3",transform:"translate(747 193)"})),(0,o.createElement)("rect",{width:"18",height:"43.9",rx:"2.9",transform:"rotate(180 393 129)"}))),justend:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",null,(0,o.createElement)("g",{transform:"translate(-538 -193)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.8",rx:"3",transform:"translate(612 193)"})),(0,o.createElement)("rect",{width:"18",height:"43.9",rx:"2.9",transform:"rotate(180 304 129)"}),(0,o.createElement)("rect",{width:"18",height:"43.9",rx:"2.9",transform:"rotate(180 294 129)"})),(0,o.createElement)("g",{transform:"translate(-538 -193)"},(0,o.createElement)("rect",{width:"6",height:"86.8",rx:"3",transform:"translate(538 193)"})),(0,o.createElement)("g",{transform:"translate(-538 -193)"},(0,o.createElement)("rect",{width:"6",height:"86.8",rx:"3",transform:"translate(613 193)"})))),justevenly:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",{transform:"translate(-1448.977 -193.46)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.827",rx:"3",transform:"translate(1523.787 193.46)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(180 754.579 129.4105)"}),(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.827",rx:"3",transform:"translate(1448.976 193.46)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(180 743.782 129.4105)"}))),justaround:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",{transform:"translate(-1260.211 -193.46)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.827",rx:"3",transform:"translate(1335.022 193.46)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(180 662.1925 129.4105)"}),(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.827",rx:"3",transform:"translate(1260.211 193.46)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(180 647.4025 129.4105)"}))),justbetween:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",{transform:"translate(-1025.441 -193.46)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.827",rx:"3",transform:"translate(1100.253 193.46)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(180 548.308 129.4105)"}),(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"6",height:"86.827",rx:"3",transform:"translate(1025.441 193.46)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(180 526.5175 129.4105)"}))),algnStart:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",null,(0,o.createElement)("g",null,(0,o.createElement)("g",{transform:"translate(-275.353 -406.799)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(275.353 406.995)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(90 -37.959 378.673)"}),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(90 -48.756 389.47)"})),(0,o.createElement)("g",{transform:"translate(-275.353 -406.799)"},(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(275.353 481.61)"})),(0,o.createElement)("g",{transform:"translate(-275.353 -406.799)"},(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(275.353 406.799)"}))))),algnEnd:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",null,(0,o.createElement)("g",null,(0,o.createElement)("g",{transform:"translate(-500.33 -406.799)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(500.329 481.414)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(-90 499.786 -22.009)"}),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(-90 488.989 -32.806)"})),(0,o.createElement)("g",{transform:"translate(-500.33 -406.799)"},(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(500.329 406.799)"})),(0,o.createElement)("g",{transform:"translate(-500.33 -406.799)"},(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(500.329 481.61)"}))))),algnCenter:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",null,(0,o.createElement)("g",{transform:"translate(-744.317 -406.799)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(744.317 481.61)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(-90 616.3845 -149.3975)"}),(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(744.317 406.799)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(-90 605.5875 -160.1945)"})))),stretch:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80.8 86.8"},(0,o.createElement)("g",null,(0,o.createElement)("g",{transform:"translate(-1022.434 -406.799)"},(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(1022.434 481.61)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(-90 760.9365 -282.9625)"}),(0,o.createElement)("g",null,(0,o.createElement)("rect",{width:"86.827",height:"6",rx:"3",transform:"translate(1022.434 406.799)"})),(0,o.createElement)("rect",{width:"17.957",height:"43.895",rx:"2.864",transform:"rotate(-90 739.146 -304.753)"})))),flow:(0,o.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.31212 9L1 10.5094L4.77355 13.7897L6.28297 15.1018L7.59509 13.5924L9.13456 11.8214L11.3988 13.7897L12.9082 15.1018L14.2203 13.5924L15.7584 11.823L18.0209 13.7897L19.5303 15.1018L20.8424 13.5924L22.8106 11.3283L21.3012 10.0162L19.333 12.2803L15.5594 9L14.2473 10.5094L14.249 10.5109L12.7109 12.2803L8.93736 9L8.05395 10.0163L6.08567 12.2803L2.31212 9Z"})),left_new:(0,o.createElement)("svg",{viewBox:"0 0 24 24",width:24,height:24,xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 21V3h1.5v18h-1.5ZM8 11.25A1.75 1.75 0 0 1 6.25 9.5V7c0-.966.784-1.75 1.75-1.75h11c.966 0 1.75.784 1.75 1.75v2.5A1.75 1.75 0 0 1 19 11.25H8ZM7.75 9.5c0 .138.112.25.25.25h11a.25.25 0 0 0 .25-.25V7a.25.25 0 0 0-.25-.25H8a.25.25 0 0 0-.25.25v2.5ZM8 18.75A1.75 1.75 0 0 1 6.25 17v-2.5c0-.966.784-1.75 1.75-1.75h6c.966 0 1.75.784 1.75 1.75V17A1.75 1.75 0 0 1 14 18.75H8ZM7.75 17c0 .138.112.25.25.25h6a.25.25 0 0 0 .25-.25v-2.5a.25.25 0 0 0-.25-.25H8a.25.25 0 0 0-.25.25V17Z"})),justbetween_new:(0,o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.75 21V3h-1.5v18h1.5ZM3.75 21V3h-1.5v18h1.5ZM10.75 8A1.75 1.75 0 0 0 9 6.25H7A1.75 1.75 0 0 0 5.25 8v8c0 .966.784 1.75 1.75 1.75h2A1.75 1.75 0 0 0 10.75 16V8ZM9 7.75a.25.25 0 0 1 .25.25v8a.25.25 0 0 1-.25.25H7a.25.25 0 0 1-.25-.25V8A.25.25 0 0 1 7 7.75h2ZM18.75 8A1.75 1.75 0 0 0 17 6.25h-2A1.75 1.75 0 0 0 13.25 8v8c0 .966.784 1.75 1.75 1.75h2A1.75 1.75 0 0 0 18.75 16V8ZM17 7.75a.25.25 0 0 1 .25.25v8a.25.25 0 0 1-.25.25h-2a.25.25 0 0 1-.25-.25V8a.25.25 0 0 1 .25-.25h2Z"})),center_new:(0,o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 5.25h-5.25V3h-1.5v2.25H6A1.75 1.75 0 0 0 4.25 7v2.5c0 .966.784 1.75 1.75 1.75h5.25v1.5H9a1.75 1.75 0 0 0-1.75 1.75V17c0 .966.784 1.75 1.75 1.75h2.25V21h1.5v-2.25H15A1.75 1.75 0 0 0 16.75 17v-2.5A1.75 1.75 0 0 0 15 12.75h-2.25v-1.5H18a1.75 1.75 0 0 0 1.75-1.75V7A1.75 1.75 0 0 0 18 5.25Zm.25 4.25a.25.25 0 0 1-.25.25H6a.25.25 0 0 1-.25-.25V7A.25.25 0 0 1 6 6.75h12a.25.25 0 0 1 .25.25v2.5ZM15 17.25a.25.25 0 0 0 .25-.25v-2.5a.25.25 0 0 0-.25-.25H9a.25.25 0 0 0-.25.25V17c0 .138.112.25.25.25h6Z"})),right_new:(0,o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.75 21V3h-1.5v18h1.5ZM16 11.25a1.75 1.75 0 0 0 1.75-1.75V7A1.75 1.75 0 0 0 16 5.25H5A1.75 1.75 0 0 0 3.25 7v2.5c0 .966.784 1.75 1.75 1.75h11Zm.25-1.75a.25.25 0 0 1-.25.25H5a.25.25 0 0 1-.25-.25V7A.25.25 0 0 1 5 6.75h11a.25.25 0 0 1 .25.25v2.5ZM16 18.75A1.75 1.75 0 0 0 17.75 17v-2.5A1.75 1.75 0 0 0 16 12.75h-6a1.75 1.75 0 0 0-1.75 1.75V17c0 .966.784 1.75 1.75 1.75h6Zm.25-1.75a.25.25 0 0 1-.25.25h-6a.25.25 0 0 1-.25-.25v-2.5a.25.25 0 0 1 .25-.25h6a.25.25 0 0 1 .25.25V17Z"})),alignStretch:(0,o.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.75 21V3h-1.5v18h1.5ZM3.75 21V3h-1.5v18h1.5ZM17.5 10.75c.69 0 1.25-.56 1.25-1.25v-3c0-.69-.56-1.25-1.25-1.25h-11c-.69 0-1.25.56-1.25 1.25v3c0 .69.56 1.25 1.25 1.25h11Zm-.25-1.5H6.75v-2.5h10.5v2.5ZM17.5 18.75c.69 0 1.25-.56 1.25-1.25v-3c0-.69-.56-1.25-1.25-1.25h-11c-.69 0-1.25.56-1.25 1.25v3c0 .69.56 1.25 1.25 1.25h11Zm-.25-1.5H6.75v-2.5h10.5v2.5Z"})),alignCenterR:(0,o.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3 11.25h3v1.5H3v-1.5ZM18 11.25h3v1.5h-3v-1.5ZM10.5 11.25h3v1.5h-3v-1.5Z"}),(0,o.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.75 18c0 .97.78 1.75 1.75 1.75H17c.97 0 1.75-.78 1.75-1.75V6c0-.97-.78-1.75-1.75-1.75h-2.5c-.97 0-1.75.78-1.75 1.75v12Zm1.75.25a.25.25 0 0 1-.25-.25V6c0-.14.11-.25.25-.25H17c.14 0 .25.11.25.25v12c0 .14-.11.25-.25.25h-2.5ZM5.25 15c0 .97.78 1.75 1.75 1.75h2.5c.97 0 1.75-.78 1.75-1.75V9c0-.97-.78-1.75-1.75-1.75H7c-.97 0-1.75.78-1.75 1.75v6Zm1.75.25a.25.25 0 0 1-.25-.25V9c0-.14.11-.25.25-.25h2.5c.14 0 .25.11.25.25v6c0 .14-.11.25-.25.25H7Z"})),alignStartR:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,o.createElement)("path",{"fill-rule":"evenodd",d:"M3 3.25h18v1.5H3v-1.5ZM12.75 8c0-.97.78-1.75 1.75-1.75H17c.97 0 1.75.78 1.75 1.75v11c0 .97-.78 1.75-1.75 1.75h-2.5c-.97 0-1.75-.78-1.75-1.75V8Zm1.75-.25a.25.25 0 0 0-.25.25v11c0 .14.11.25.25.25H17c.14 0 .25-.11.25-.25V8a.25.25 0 0 0-.25-.25h-2.5ZM5.25 8c0-.97.78-1.75 1.75-1.75h2.5c.97 0 1.75.78 1.75 1.75v6c0 .97-.78 1.75-1.75 1.75H7c-.97 0-1.75-.78-1.75-1.75V8ZM7 7.75a.25.25 0 0 0-.25.25v6c0 .14.11.25.25.25h2.5c.14 0 .25-.11.25-.25V8a.25.25 0 0 0-.25-.25H7Z","clip-rule":"evenodd"})),alignEndR:(0,o.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3 20.75h18v-1.5H3v1.5ZM12.75 16c0 .97.78 1.75 1.75 1.75H17c.97 0 1.75-.78 1.75-1.75V5c0-.97-.78-1.75-1.75-1.75h-2.5c-.97 0-1.75.78-1.75 1.75v11Zm1.75.25a.25.25 0 0 1-.25-.25V5c0-.14.11-.25.25-.25H17c.14 0 .25.11.25.25v11c0 .14-.11.25-.25.25h-2.5ZM5.25 16c0 .97.78 1.75 1.75 1.75h2.5c.97 0 1.75-.78 1.75-1.75v-6c0-.97-.78-1.75-1.75-1.75H7c-.97 0-1.75.78-1.75 1.75v6Zm1.75.25a.25.25 0 0 1-.25-.25v-6c0-.14.11-.25.25-.25h2.5c.14 0 .25.11.25.25v6c0 .14-.11.25-.25.25H7Z"})),alignStretchR:(0,o.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21 2.25H3v1.5h18v-1.5ZM21 20.25H3v1.5h18v-1.5ZM10.75 6.5c0-.69-.56-1.25-1.25-1.25h-3c-.69 0-1.25.56-1.25 1.25v11c0 .69.56 1.25 1.25 1.25h3c.69 0 1.25-.56 1.25-1.25v-11Zm-1.5.25v10.5h-2.5V6.75h2.5ZM18.75 6.5c0-.69-.56-1.25-1.25-1.25h-3c-.69 0-1.25.56-1.25 1.25v11c0 .69.56 1.25 1.25 1.25h3c.69 0 1.25-.56 1.25-1.25v-11Zm-1.5.25v10.5h-2.5V6.75h2.5Z"}))},n=e=>{const{value:t,onChange:l,alignIcons:n,options:r,responsive:s,device:p,label:c,disableJustify:u,toolbar:d,setDevice:m}=e,g=r||(u?["left","center","right"]:["left","center","right","justify"]),y=t?s?t[p]||"":t:"",b=n||["left","center","right","justify"];return(0,o.createElement)("div",{className:`ultp-field-wrap ultp-field-alignment ${d?"ultp-align-inline":""}${n?.length?" ultp-row-alignment":""}`},(0,o.createElement)("div",{className:"ultp-field-label-responsive"},c&&(0,o.createElement)("label",null,c),s&&(0,o.createElement)(a.Z,{setDevice:m,device:p})),(0,o.createElement)("div",{className:"ultp-sub-field"},g.map(((e,a)=>(0,o.createElement)("span",{tabIndex:0,key:a,onClick:()=>{return o=e,void l(s?Object.assign({},t,{[p]:o}):o);var o},className:"ultp-align-button"+(e==y?" alignActive":"")},i[b[a]],d?"Align text "+e:"")))))}},6766:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(5009),i=l(6687),n=l(7763);const{__}=wp.i18n,{Dropdown:r}=wp.components,s=e=>{const{value:t,label:l,onChange:s}=e,p=!(!t||!t.openBorder),c={width:{top:0,right:0,bottom:0,left:0},type:"solid",color:"#555d66"},u=(e,l)=>{s(Object.assign({},c,t,{openBorder:1},{[e]:l}))},d=t&&t.type||"";return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-popup-control ultp-field-border"},l&&(0,o.createElement)("label",null,l),(0,o.createElement)(r,{className:"ultp-range-control",renderToggle:({isOpen:e,onToggle:t})=>(0,o.createElement)("div",{className:"ultp-edit-btn"},p&&(0,o.createElement)("div",{className:"active ultp-base-control-btn dashicons dashicons-image-rotate",onClick:()=>{e&&t(),u("openBorder",0)}}),(0,o.createElement)("div",{className:`${p&&"active "} ultp-icon-style`,onClick:()=>{t(),u("openBorder",1)},"aria-expanded":e},n.Z.setting)),renderContent:()=>(0,o.createElement)("div",{className:"ultp-common-popup"},(0,o.createElement)("div",{className:"ultp-border-style"},["solid","dashed","dotted"].map(((e,t)=>(0,o.createElement)("span",{className:d==e?e+" active":e+" ",key:t,onClick:()=>u("type",e)})))),(0,o.createElement)(a.Z,{min:0,step:1,max:100,label:__("Border Width","ultimate-post"),value:t&&t.width||"",onChange:e=>u("width",e)}),(0,o.createElement)(i.Z,{inline:!0,label:__("Color","ultimate-post"),value:t&&t.color||"",onChange:e=>u("color",e)}))}))}},5641:(e,t,l)=>{"use strict";l.d(t,{Z:()=>p});var o=l(7294),a=l(5009),i=l(6687),n=l(7763);const{__}=wp.i18n,{Dropdown:r,ToggleControl:s}=wp.components,p=e=>{const{value:t,label:l,onChange:p}=e,c=!(!t||!t.openShadow),u={inset:"",width:{top:4,right:3,bottom:2,left:1},color:"#555d66"},d=(e,l)=>{p(Object.assign({},u,t,{[e]:l||0}))};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-popup-control ultp-field-shadow"},l&&(0,o.createElement)("label",null,l),(0,o.createElement)(r,{className:"ultp-range-control",renderToggle:({isOpen:e,onToggle:t})=>(0,o.createElement)("div",{className:"ultp-edit-btn"},c&&(0,o.createElement)("div",{className:"active ultp-base-control-btn dashicons dashicons-image-rotate",onClick:()=>{e&&t(),d("openShadow",0)}}),(0,o.createElement)("div",{className:`${c&&"active "} ultp-icon-style`,onClick:()=>{t(),d("openShadow",1)},"aria-expanded":e},n.Z.setting)),renderContent:()=>(0,o.createElement)("div",{className:"ultp-common-popup"},(0,o.createElement)(a.Z,{label:__("Shadow","ultimate-post"),value:t.width||"",onChange:e=>d("width",e),dataLabel:["offset-x","offset-y","blur","spread"],min:0,max:100,step:1}),(0,o.createElement)(i.Z,{inline:!0,inset:!0,label:__("Color","ultimate-post"),value:t.color||"",onChange:e=>d("color",e)}),(0,o.createElement)(s,{__nextHasNoMarginBottom:!0,label:__("Inset","ultimate-post"),checked:t.inset?1:0,onChange:e=>d("inset",e?"inset":"")}))}))}},3613:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);const a=e=>{const{value:t,label:l,onChange:a,options:i}=e;return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-checkbox"},l&&(0,o.createElement)("label",null,l),(0,o.createElement)("div",{className:"ultp-sub-field-checkbox"},i.map(((e,l)=>(0,o.createElement)("div",{key:l},(0,o.createElement)("input",{onClick:()=>(e=>{if(-1!==t.indexOf(e)){const l=t.filter((t=>t!==e));a(l)}else a(t.concat([e]))})(e.value),id:l,type:"checkbox",value:e.value,defaultChecked:-1!=t.indexOf(e.value)}),(0,o.createElement)("label",{htmlFor:l},e.label))))))}},6687:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7294),a=l(448),i=l(3100);const{__}=wp.i18n,{ColorPicker:n,Dropdown:r,Tooltip:s}=wp.components,{Fragment:p}=wp.element,c=wp.data.select("core/editor"),{useState:u}=wp.element,d=e=>{const{label:t,value:l,onChange:d,disableClear:m,pro:g,inline:y,color2:b,presetSetting:v,value2:h=null}=e,[f,k]=u(!v&&!("string"!=typeof l||!l?.includes("var(--postx_preset"))),[w,x]=u(0),T=e=>{if(!g||ultp_data.active)if(null!==h){const t=Array(2).fill(void 0);t[w]="string"==typeof e?e:"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")",d(t)}else d("string"==typeof e?e:"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")")},S=()=>{d(null!==h?Array(2).fill(""):"")},P=()=>{const e={theme:c?c.getEditorSettings().colors:[],colors:(0,a.hN)()};return(0,o.createElement)("div",{className:"ultp-preset-color"},e.colors.length>0&&(0,o.createElement)(p,null,(0,o.createElement)("div",{className:"ultp-preset-label"},(0,o.createElement)("div",{className:"ultp-preset-label-content"},__("PostX Color","ultimate-post")," "),(0,o.createElement)("div",{className:"ultp-preset-label-link",onClick:()=>(0,a.je)()},"Customize  >")),e.colors.map(((e,t)=>(0,o.createElement)(s,{key:t,position:"top",text:(0,a.nl)(e,"color")},(0,o.createElement)("a",{className:"color_span "+(l==e?"active":""),key:t,onClick:()=>T(e),style:{backgroundColor:e}}))))),e.theme.length>0&&(0,o.createElement)(p,null,(0,o.createElement)("div",{className:"ultp-preset-label-content"},__("Theme Color","ultimate-post")),e.theme.map(((e,t)=>(0,o.createElement)(s,{key:t,position:"top",text:e.name},(0,o.createElement)("a",{className:"color_span "+(l==e.color?"active":""),key:t,onClick:()=>T(e.color),style:{backgroundColor:e.color}}))))))},C=()=>(0,o.createElement)("div",{className:"ultp-common-popup ultp-color-popup ultp-color-container "+(f?"active":"")},null!==h&&(0,o.createElement)("div",{style:{textAlign:"center",fontWeight:500,fontSize:"large"}},__(0==w?"Normal Color":"Hover Color","ultimate-post")),!v&&(0,o.createElement)("div",{className:"ultp-color-field-tab"},(0,o.createElement)("div",{className:f?"active":"",onClick:()=>k(!0)},"Preset Palette"),(0,o.createElement)("div",{className:f?"":"active",onClick:()=>k(!1)},"Custom")),(0,o.createElement)("div",{className:"ultp-color-field-options"},f?(0,o.createElement)(P,null):(0,o.createElement)(n,{color:(0,a.MR)(l)?l:(0,a.hN)("colorcode",l),onChangeComplete:e=>T(e)})));return v?C():(0,o.createElement)("div",{className:`ultp-field-wrap ultp-field-color ${y?"ultp-color-inline":"ultp-color-block"} ${g&&!ultp_data.active?"ultp-pro-field":""}`},t&&!y&&(0,o.createElement)("span",{className:"ultp-color-label"},(0,o.createElement)("label",null,t)),y?b?C():(0,o.createElement)(p,null,(0,o.createElement)("div",{className:"ultp-color-inline__label"},(0,o.createElement)("div",{className:"ultp-color-label__content"},y&&t&&(0,o.createElement)("label",{className:"ultp-color-label"},t),l&&(0,o.createElement)(p,null,(0,o.createElement)("span",{className:"ultp-color-preview",style:{backgroundColor:l}}),null!==h&&(0,o.createElement)("span",{className:"ultp-color-preview",style:{backgroundColor:h,marginLeft:"5px"}}))),(0,o.createElement)("div",{className:"ultp-color-label__content"},!m&&l&&(0,o.createElement)("div",{className:"ultp-clear dashicons dashicons-image-rotate",onClick:S}),(0,o.createElement)(r,{focusOnMount:!0,className:"ultp-range-control",renderToggle:({onToggle:e,onClose:t})=>(0,o.createElement)("div",{className:"ultp-control-button",onClick:()=>{e(),x(0)},style:{background:l}}),renderContent:()=>C()}),null!==h&&(0,o.createElement)(r,{focusOnMount:!0,className:"ultp-range-control",renderToggle:({onToggle:e,onClose:t})=>(0,o.createElement)("div",{className:"ultp-control-button",onClick:()=>{e(),x(1)},style:{background:h,marginLeft:"10px"}}),renderContent:()=>C()})))):(0,o.createElement)("div",{className:"ultp-sub-field"},t&&(0,o.createElement)("span",{className:"ultp-color-label"},!m&&l&&(0,o.createElement)("div",{className:"ultp-clear dashicons dashicons-image-rotate",onClick:S})),(0,o.createElement)(r,{className:"ultp-range-control",popoverProps:{placement:"bottom-start"},focusOnMount:!0,renderToggle:({onToggle:e,onClose:t})=>(0,o.createElement)("div",{className:"ultp-control-button",onClick:()=>{e(),x(0)},style:{background:l}}),renderContent:()=>C()}),null!==h&&(0,o.createElement)(r,{className:"ultp-range-control",popoverProps:{placement:"bottom-start"},focusOnMount:!0,renderToggle:({onToggle:e,onClose:t})=>(0,o.createElement)("div",{className:"ultp-control-button",onClick:()=>{e(),x(1)},style:{background:h,marginLeft:"10px"}}),renderContent:()=>C()})),g&&!ultp_data.active&&(0,o.createElement)("div",{className:"ultp-field-pro-message"},__("Unlock It! Explore More","ultimate-post")," ",(0,o.createElement)("a",{href:(0,i.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},__("Pro Features","ultimate-post"))))}},7484:(e,t,l)=>{"use strict";l.d(t,{Z:()=>h});var o=l(7294),a=l(448),i=l(3100),n=l(6687),r=(l(7567),l(1525));l(2217);const{__}=wp.i18n,{Dropdown:s,GradientPicker:p,TextControl:c,ToggleControl:u,SelectControl:d,FocalPointPicker:m,Tooltip:g}=wp.components,{MediaUpload:y}=wp.blockEditor,b=wp.data.select("core/editor"),{useState:v}=wp.element,h=e=>{const{value:t,label:l,pro:h,onChange:f,image:k,video:w,extraClass:x,customGradient:T,gbbodyBackground:S}=e,P={openColor:0,type:"color",color:"#037fff",gradient:"linear-gradient(90deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%)",clip:!1},[C,E]=v(!("string"!=typeof t.gradient||!t.gradient?.includes("var(--postx_preset"))),_=(0,a._n)();let L=(0,a.MR)(t.gradient)?t.gradient:(0,a._n)("colorcode",t.gradient);"string"==typeof L&&(L?.includes("postx_preset_Primary_color")||L.includes("postx_preset_Secondary_color"))&&(L=L.replace("var(--postx_preset_Primary_color)",(0,a.hN)("colorcode","var(--postx_preset_Primary_color)")).replace("var(--postx_preset_Secondary_color)",(0,a.hN)("colorcode","var(--postx_preset_Secondary_color)")));const I=(e,l)=>{if(h&&!ultp_data.active)return;let o=t;"object"==typeof o.gradient&&(o.gradient=U(o.gradient)),f(Object.assign({},P,o,{openColor:1},{[l]:e}))},U=e=>"object"==typeof e?"linear"==e.type?"linear-gradient("+e.direction+"deg, "+e.color1+" "+e.start+"%, "+e.color2+" "+e.stop+"%)":"radial-gradient( circle at "+e.radial+" , "+e.color1+" "+e.start+"%,"+e.color2+" "+e.stop+"%)":e||{};return(0,o.createElement)("div",{className:`ultp-field-wrap ultp-field-color2 ${h&&!ultp_data.active?"ultp-pro-field":""} ${w&&k?"ultp-field-video-image":""}`},l&&(0,o.createElement)("label",null,l),(0,o.createElement)("div",{className:"ultp-sub-field"},t.openColor?(0,o.createElement)("div",{className:"active ultp-base-control-btn dashicons dashicons-image-rotate",onClick:()=>{I(0,"openColor")}}):"",(0,o.createElement)("div",{className:"ultp-color2-btn__group"},(0,o.createElement)(s,{className:"ultp-range-control",focusOnMount:!0,renderToggle:({onToggle:e,onClose:l})=>(0,o.createElement)("div",{className:"ultp-button-group"},(0,o.createElement)("button",{className:("color"==t.type&&t.openColor?"active":"")+" ultp-icon-style",onClick:()=>{e(),I("color","type")}},__("Solid","ultimate-post"))),renderContent:()=>(0,o.createElement)("div",{className:"ultp-popup-select ultp-common-popup"},(0,o.createElement)(n.Z,{label:"Color",inline:!0,color2:!0,disableClear:!0,value:t.color||"#16d03e",onChange:e=>{I(e,"color")}}))}),(0,o.createElement)(s,{className:"ultp-range-control",focusOnMount:!0,renderToggle:({onToggle:e,onClose:l})=>(0,o.createElement)("div",{className:"ultp-button-group"},(0,o.createElement)("button",{className:("gradient"==t.type&&t.openColor?"active":"")+" ultp-icon-style",onClick:()=>{e(),I("gradient","type")}},__("Gradient","ultimate-post"))),renderContent:()=>(0,o.createElement)("div",{className:`ultp-popup-select ultp-common-popup ultp-color-container ${C?"typo-active":""} ${x}`},(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-color-field-tab"},(0,o.createElement)("div",{className:C?"active":"",onClick:()=>E(!0)},"Preset Palette"),(0,o.createElement)("div",{className:C?"":"active",onClick:()=>E(!1)},"Custom")),(0,o.createElement)("div",{className:"ultp-color-field-options"},C?(0,o.createElement)(o.Fragment,null,_.length>0&&(0,o.createElement)("div",{className:"ultp-preset-gradient-options"},(0,o.createElement)("div",{className:"ultp-preset-label"},(0,o.createElement)("div",{className:"ultp-preset-label-content"}," ",__("PostX Gradient","ultimate-post")," "),(0,o.createElement)("div",{className:"ultp-preset-label-link",onClick:()=>(0,a.je)()}," Customize  >")),(0,o.createElement)("div",{className:"gradient-lists"},_.map(((e,l)=>(0,o.createElement)(g,{key:l,position:"top",text:(0,a.nl)(e,"gradient")},(0,o.createElement)("span",{className:t.gradient==e?"active":"",key:l,onClick:()=>I(e,"gradient"),style:{background:e}}))))))):(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p,{clearable:!0,__nextHasNoMargin:!0,value:"object"==typeof L?U(L):L,onChange:e=>I(e,"gradient"),gradients:T.length?T:b?b.getEditorSettings().gradients:[]})))))}),k&&(0,o.createElement)(s,{focusOnMount:!0,className:"ultp-range-control",renderToggle:({onToggle:e,onClose:l})=>(0,o.createElement)("div",{className:"ultp-button-group"},(0,o.createElement)("button",{className:("image"==t.type&&t.openColor?"active":"")+" ultp-icon-style",onClick:()=>{e(),I("image","type")}},__("Image","ultimate-post"))),renderContent:()=>{var e;return(0,o.createElement)("div",{className:"ultp-image-control--popup"},(0,o.createElement)(y,{onSelect:e=>{e.url&&I(e.url,"image")},allowedTypes:["image"],value:t.image||"",render:({open:e})=>(0,o.createElement)("div",{className:"ultp-field-media"},(0,o.createElement)("span",{className:"ultp-media-image-item"},t.image?(0,o.createElement)("div",{className:"ultp-imgvalue-wrap"},(0,o.createElement)("input",{type:"text",value:t.image,placeholder:"Image Url",onChange:e=>I(e.target.value,"image")}),(0,o.createElement)("span",{className:"ultp-image-close-icon dashicons dashicons-no-alt",onClick:()=>I("","image")})):(0,o.createElement)("input",{type:"text",placeholder:"Image Url",onChange:e=>I(e.target.value,"image")}),(0,o.createElement)("div",{className:"ultp-placeholder-image"},t.image?(0,o.createElement)("div",{className:"ultp-focalpoint-wrapper"},(0,o.createElement)(m,{url:t.image,value:t.position,onDragStart:e=>I(e,"position"),onDrag:e=>I(e,"position"),onChange:e=>I(e,"position")})):(0,o.createElement)("span",{onClick:e,className:"dashicons dashicons-plus-alt2 ultp-media-upload"}))))}),(0,o.createElement)("div",{className:"ultp-popup-select ultp-common-popup"},(0,o.createElement)(d,{__nextHasNoMarginBottom:!0,label:__("Attachment","ultimate-post"),value:t.attachment,options:[{label:"Default",value:""},{label:"Scroll",value:"scroll"},{label:"fixed",value:"Fixed"}],onChange:e=>I(e,"attachment")}),(0,o.createElement)(d,{__nextHasNoMarginBottom:!0,label:__("Repeat","ultimate-post"),value:t.repeat,options:[{label:"Default",value:""},{label:"No-repeat",value:"no-repeat"},{label:"Repeat",value:"repeat"},{label:"Repeat-x",value:"repeat-x"},{label:"Repeat-y",value:"repeat-y"}],onChange:e=>I(e,"repeat")}),(0,o.createElement)(d,{__nextHasNoMarginBottom:!0,label:__("Size","ultimate-post"),value:t.size,options:[{label:"Default",value:""},{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:e=>I(e,"size")})),(0,o.createElement)("div",{className:"ultp-editor-fallback-bg"},(0,o.createElement)(n.Z,{label:"Fallback Color",value:null!==(e=t.fallbackColor)&&void 0!==e?e:t.color,onChange:e=>{I(e,"fallbackColor")}})),S&&!1)}}),w&&(0,o.createElement)(s,{focusOnMount:!0,className:"ultp-range-control",renderToggle:({onToggle:e,onClose:l})=>(0,o.createElement)("div",{className:"ultp-button-group"},(0,o.createElement)("button",{className:("video"==t.type&&t.openColor?"active":"")+" ultp-icon-style",onClick:()=>{e(),I("video","type")}},__("Video","ultimate-post"))),renderContent:()=>(0,o.createElement)("div",{className:"ultp-popup-select ultp-common-popup"},(0,o.createElement)(c,{__nextHasNoMarginBottom:!0,value:t.video,placeholder:__("Only Youtube & Vimeo  & Self Hosted Url","ultimate-post"),label:__("Video URL","ultimate-post"),onChange:e=>I(e,"video")}),(0,o.createElement)(r.Z,{value:t.start||0,min:1,max:12e3,step:1,label:__("Start Time(Seconds)","ultimate-post"),onChange:e=>I(e,"start")}),(0,o.createElement)(r.Z,{value:t.end||"",min:1,max:12e3,step:1,label:__("End Time(Seconds)","ultimate-post"),onChange:e=>I(e,"end")}),(0,o.createElement)(u,{__nextHasNoMarginBottom:!0,label:__("Loop Video","ultimate-post"),checked:t.loop?1:0,onChange:e=>I(e,"loop")}),(0,o.createElement)(y,{onSelect:e=>{e.url&&I(e.url,"fallback")},allowedTypes:["image"],value:t.fallback||"",render:({open:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-field-media"},(0,o.createElement)("div",{className:"ultp-fallback-lebel"},__("Video Fallback Image","ultimate-post")),(0,o.createElement)("span",{className:"ultp-media-image-item"},t.fallback&&(0,o.createElement)("input",{type:"text",value:t.fallback,onChange:e=>changeUrl(e)}),(0,o.createElement)("div",{className:"ultp-placeholder-image"},t.fallback?(0,o.createElement)(o.Fragment,null,(0,o.createElement)("img",{src:t.fallback,alt:"Fallback Image"}),(0,o.createElement)("span",{className:"ultp-image-close-icon dashicons dashicons-no-alt",onClick:()=>I("","fallback")})):(0,o.createElement)("span",{onClick:e,className:"dashicons dashicons-plus-alt2 ultp-media-upload"})))))}))}))),h&&!ultp_data.active&&(0,o.createElement)("div",{className:"ultp-field-pro-message"},__("Unlock It! Explore More","ultimate-post")," ",(0,o.createElement)("a",{href:(0,i.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},__("Pro Features","ultimate-post"))))}},5009:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(6834),i=l(8421);const{useState:n}=wp.element,r=e=>{var t;const{responsive:l,value:r,onChange:s,device:p,label:c,setDevice:u,unit:d,noLock:m,dataLabel:g}=e,[y,b]=n(null!==(t=r?.isLocked)&&void 0!==t&&t),v=e=>"object"==typeof r&&Object.keys(r).length>0?e?l?r[p]&&r[p][e]||"":r[e]:l?r[p]||"":r:"",h=(e,t)=>{let o=y&&"unit"!=t?{top:e,right:e,bottom:e,left:e}:{[t]:e};o=Object.assign({},l?r[p]||{}:r,o),o.unit=o.unit||"px";const a=Object.assign({},r,l?{[p]:o}:o,{isLocked:y});s(a)};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-dimension"},(c||l)&&(0,o.createElement)("div",{className:"ultp-label-control"},c&&(0,o.createElement)("label",null,c),l&&(0,o.createElement)(a.Z,{setDevice:u,device:p}),d&&(0,o.createElement)(i.Z,{unit:d,value:r?l?r[p]&&r[p].unit?r[p].unit:"px":r.unit||"px":"px",setSettings:h})),(0,o.createElement)("div",{className:"ultp-dimension-input"+(m?"":" ultp-base-control-hasLock")},["top","right","bottom","left"].map(((e,t)=>(0,o.createElement)("span",{key:t},(0,o.createElement)("input",{type:"number",value:v(e),onChange:t=>h(t.target.value,e)}),(0,o.createElement)("span",null,g?g[t]:e)))),!m&&(0,o.createElement)("button",{className:y?"active ":"",onClick:()=>b(!y)},y?(0,o.createElement)("span",{className:"dashicons dashicons-admin-links"}):(0,o.createElement)("span",{className:"dashicons dashicons-editor-unlink"}))))}},1187:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);const a=e=>{const{label:t}=e;return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-divider"},t&&(0,o.createElement)("div",{className:"ultp-field-label"},t),(0,o.createElement)("hr",null))}},7567:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(7763);const{__}=wp.i18n,{Dropdown:i}=wp.components,n=[{key:"hue",label:__("Hue","ultimate-post")},{key:"saturation",label:__("Saturation","ultimate-post")},{key:"brightness",min:0,max:200,label:__("Brightness","ultimate-post")},{key:"contrast",min:0,max:200,label:__("Contrast","ultimate-post")},{key:"invert",label:__("Invert","ultimate-post")},{key:"blur",min:0,max:50,label:__("Blur","ultimate-post")}],r=({value:e,label:t,onChange:l})=>{const r=!(!e||!e.openFilter),s=t=>e?.hasOwnProperty(t)?e[t]:"",p=(t,o)=>{l(Object.assign({},e,{[o]:t}))};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-imgfilter"},t&&(0,o.createElement)("label",null,t),(0,o.createElement)(i,{className:"ultp-range-control",renderToggle:({isOpen:e,onToggle:t})=>(0,o.createElement)("div",{className:"ultp-edit-btn"},(0,o.createElement)("div",{className:"ultp-typo-control"},r&&(0,o.createElement)("div",{className:"active ultp-base-control-btn dashicons dashicons-image-rotate",onClick:()=>{e&&t(),p(0,"openFilter")}}),(0,o.createElement)("div",{className:`${r&&"active "} ultp-icon-style`,onClick:()=>{t(),p(1,"openFilter")}},a.Z.setting))),renderContent:()=>(0,o.createElement)("div",{className:"ultp-common-popup ultp-color-popup ultp-imgfilter-range"},n.map(((e,t)=>(0,o.createElement)("div",{key:t,className:"ultp-range-input"},(0,o.createElement)("span",null,e.label),(0,o.createElement)("input",{type:"range",min:e.min||0,max:e.max||100,value:s(e.key),step:1,onChange:t=>p(t.target.value,e.key)}),(0,o.createElement)("input",{type:"number",min:e.min||0,max:e.max||100,value:s(e.key),step:1,onChange:t=>p(t.target.value,e.key)})))))}))}},8477:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294);const{Button:a,ButtonGroup:i}=wp.components,n=e=>{const{value:t,options:l,label:n,justify:r,disabled:s,onChange:p,inline:c}=e;return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-groupbutton"+(c?" ultp-gbinline":"")},n&&(0,o.createElement)("label",null,n),(0,o.createElement)("div",{className:"ultp-sub-field "+(r?"ultp-groupbtn-justify":"")},(0,o.createElement)(i,null,l.map(((e,l)=>(0,o.createElement)(a,{key:l,isSmall:!0,variant:e.value==t?"primary":"",onClick:()=>{return l=e.value,void p(s&&t==l?"":l);var l}},e.label))))))}},1557:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3245);const{__}=wp.i18n,{Dropdown:i}=wp.components,{useState:n}=wp.element,r=({value:e,label:t,onChange:l,inline:r,isSocial:s,dynamicClass:p,selection:c,hideFilter:u,help:d})=>{const[m,g]=n(""),[y,b]=n("");let v;v=s?{...a.T0}:{...a.ZP},c&&c.length&&(v=Object.fromEntries(Object.entries(v).filter((([e])=>c?.includes(e)))));const h=()=>{let e=Object.keys(v);return m&&(e=e.filter((e=>e.includes(m.toLowerCase())))),y&&(e=e.filter((e=>e.includes(y)))),e};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-icons"},t&&!r&&(0,o.createElement)("label",null,t),!r&&(0,o.createElement)("div",{className:"ultp-sub-field"},(0,o.createElement)(i,{popoverProps:{placement:"bottom-start"},className:"",renderToggle:({onToggle:t,onClose:a})=>(0,o.createElement)("div",{className:"ultp-icon-input"},e&&v[e]&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{onClick:()=>t()},v[e]),(0,o.createElement)("div",{className:"ultp-icon-close",onClick:()=>l("")})),(0,o.createElement)("span",{onClick:()=>t()})),renderContent:()=>(0,o.createElement)("div",{className:"ultp-sub-dropdown ultp-icondropdown-container"},(0,o.createElement)("div",{className:"ultp-search-icon"},(0,o.createElement)("input",{type:"text",placeholder:"Search Icons",onChange:e=>g(e.target.value)})),!u&&(0,o.createElement)("div",{className:"ultp-searchIcon-filter"},__("Icon Type Name","ultimate-post"),(0,o.createElement)("select",{onChange:e=>b(e.target.value)},(0,o.createElement)("option",{selected:!0,value:""},__("Show All Icon","ultimate-post")),(0,o.createElement)("option",{value:"solid"},__("Solid Icon","ultimate-post")),(0,o.createElement)("option",{value:"line"},__("Line Icon","ultimate-post")))),(0,o.createElement)("div",{className:"ultp-dropdown-icon"},h().map((t=>(0,o.createElement)("span",{onClick:()=>l(t),key:t,className:`${e==t?"active":t}`},v[t])))))})),r&&(0,o.createElement)("div",{className:"ultp-sub-dropdown ultp-icondropdown-container"},(0,o.createElement)("div",{className:"ultp-search-icon"},(0,o.createElement)("input",{type:"text",placeholder:"Search Icons",onChange:e=>g(e.target.value)})),(0,o.createElement)("div",{className:"ultp-searchIcon-filter"},__("Icon Type Name","ultimate-post"),(0,o.createElement)("select",{onChange:e=>b(e.target.value)},(0,o.createElement)("option",{selected:!0,value:""},__("Show All Icon","ultimate-post")),(0,o.createElement)("option",{value:"solid"},__("Solid Icon","ultimate-post")),(0,o.createElement)("option",{value:"line"},__("Line Icon","ultimate-post")))),(0,o.createElement)("div",{className:"ultp-dropdown-icon"},h().map((t=>(0,o.createElement)("span",{onClick:()=>l(t),key:t,className:`${e==t?"active":t}`},v[t]))))),d&&d?.length>0&&(0,o.createElement)("div",{className:"ultp-sub-help"},(0,o.createElement)("i",null,d)))}},3248:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(3100);const i=e=>{const{value:t,options:l,label:i,pro:n,col:r,tab:s,onChange:p,block:c}=e;return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-layout column-"+(r||"two"),tabIndex:0},i&&(0,o.createElement)("label",null,i),(0,o.createElement)("div",{className:"ultp-field-layout-wrapper"},l.map(((e,l)=>(0,o.createElement)("div",{key:l,onClick:()=>((e,t,l)=>{const o=((e,t)=>{let l={};switch(c){case"post-grid-7":l.layout=e,l.queryNumber="layout1"==e||"layout4"==e?"4":"3";break;case"post-grid-3":l.layout=e,l.column="layout3"==e||"layout4"==e||"layout5"==e?"3":"2",l.queryNumber=5;break;case"post-grid-4":l.layout=e,l.queryNumber="layout4"==e||"layout5"==e?"4":"3";break;case"post-grid-1":t?(l.gridStyle=e,"style3"==e&&(l.columns={lg:2}),"style4"==e&&(l.columns={lg:3})):l.layout=e;break;case"post-list-1":t?(l.gridStyle=e,"style2"==e&&(l.columns={lg:2,xs:1}),"style3"==e&&(l.columns={lg:2,xs:1})):l.layout=e;break;default:l.layout=e}return l})(e,l);t?ultp_data.active?p(o):window.open((0,a.Z)("https://www.wpxpo.com/postx/all-features/","blockProLay",ultp_data.affiliate_id),"_blank"):p(o)})(e.value,e.pro,s),className:e.value==t?"ultp-field-layout-items active":"ultp-field-layout-items"},(0,o.createElement)("div",{className:`ultp-field-layout-item ${e.pro?"":"ultp-layout-free"} ${n&&ultp_data.active?"ultp-field-layout-item-pro":""}`},(0,o.createElement)("div",{className:"ultp-field-layout-content"},e.pro&&!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-field-layout-pro"},"Pro"),(0,o.createElement)("img",{src:ultp_data.url+e.img}))),e.demoImg&&(0,o.createElement)("div",{className:`ultp-layout-hover__content ultp-layout-tooltip-layout${l+1}`},(0,o.createElement)("div",{className:"ultp-layout-hover__popup"},(0,o.createElement)("img",{src:e.demoImg,alt:"Layout Popup Image"}),(0,o.createElement)("div",null,e.pro&&!ultp_data.active&&(0,o.createElement)("a",{href:(0,a.Z)("","blockUpgrade",ultp_data.affiliate_id)},"Upgrade Pro"),(0,o.createElement)("a",{href:e.demoUrl,target:"_blank",className:"view-demo"},"View Demo ",(0,o.createElement)("span",{className:"dashicons dashicons-arrow-right-alt"}))))))))))}},9811:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3100),i=l(3245);const{useState:n}=wp.element,r=({value:e,options:t,label:l,pro:r,tab:s,onChange:p,block:c,isInline:u})=>{const[d,m]=n(!1);return(0,o.createElement)("div",{className:"ultp-field-wrap"},(0,o.createElement)("div",{className:"ultp-field-layout2 "+(u?"ultp-field-layout2-inline":"ultp-field-layout2-block")},(0,o.createElement)("label",{className:"ultp-field-layout2-label"},l||"Layout"),(0,o.createElement)("div",{className:"ultp-field-layout2-select",onClick:()=>m((e=>!e))},t.filter((t=>t.value==e)).map(((e,t)=>(0,o.createElement)("div",{key:t,className:"ultp-field-layout2-select-items"},(0,o.createElement)("div",{className:"ultp-field-layout2-img"},(0,o.createElement)("img",{src:ultp_data.url+e.img}),e.pro&&!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-field-layout2-pro"},"Pro")),(0,o.createElement)("span",{className:"ultp-field-layout2-select-text"},e.label,(0,o.createElement)("span",{className:"ultp-field-layout2-select-icon "+(d?"ultp-dropdown-icon-rotate":"")},i.ZP.collapse_bottom_line))))),d&&(0,o.createElement)("div",{className:"ultp-field-layout2-dropdown"},t.filter((t=>t.value!=e)).map(((e,t)=>(0,o.createElement)("div",{key:t,onClick:()=>((e,t,l)=>{const o=((e,t)=>{let l={};switch(c){case"post-grid-7":l.layout=e,l.queryNumber="layout1"==e||"layout4"==e?"4":"3";break;case"post-grid-3":l.layout=e,l.column="layout3"==e||"layout4"==e||"layout5"==e?"3":"2",l.queryNumber=5;break;case"post-grid-4":l.layout=e,l.queryNumber="layout4"==e||"layout5"==e?"4":"3";break;case"post-grid-1":t?(l.gridStyle=e,"style3"==e&&(l.columns={lg:2}),"style4"==e&&(l.columns={lg:3})):l.layout=e;break;case"post-list-1":t?(l.gridStyle=e,"style2"==e&&(l.columns={lg:2,xs:1}),"style3"==e&&(l.columns={lg:2,xs:1})):l.layout=e;break;default:l.layout=e}return l})(e,l);t?ultp_data.active?p(o):window.open((0,a.Z)("https://www.wpxpo.com/postx/all-features/","blockProLay",ultp_data.affiliate_id),"_blank"):p(o)})(e.value,e.pro,s),className:"ultp-field-layout2-select-items ultp-field-layout2-dropdown-items"},(0,o.createElement)("div",{className:"ultp-field-layout2-img"},(0,o.createElement)("img",{src:ultp_data.url+e.img}),e.pro&&!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-field-layout2-pro"},"Pro")),(0,o.createElement)("span",null,e.label))))))),r&&!ultp_data.active&&(0,o.createElement)("div",{className:"ultp-field-pro-message"},"To Unlock All Layouts"," ",(0,o.createElement)("a",{href:"https://www.wpxpo.com/postx/all-features/?utm_source=db-postx-editor&utm_medium=pro-layout&utm_campaign=postx-dashboard",target:"_blank"},"Upgrade Pro")))}},7024:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(3049);const{__}=wp.i18n,{Tooltip:i}=wp.components,{useState:n}=wp.element,r=e=>{const{text:t,value:l,label:r,placeholder:s,onlyLink:p,onChange:c,store:u,disableLink:d=!1,extraBtnAttr:m}=e,[g,y]=n(!1),{target:b,follow:v,sponsored:h,download:f}=m||{};return(0,o.createElement)("div",{className:"ultp-field-wrap "+(p?"ultp-field-selflink":"ultp-field-link-button")},r&&(0,o.createElement)("label",null,r),p?(0,o.createElement)("div",null,(0,o.createElement)("span",{className:"ultp-link-section"},(0,o.createElement)("span",{className:"ultp-link-input"},(0,o.createElement)("input",{type:"text",onChange:e=>{return t=e,void(d||c(m?t.target.value:{url:t.target.value}));var t},value:d?"Dynamic URL":m?l:l?.url,placeholder:s,disabled:d}),(m&&l||l?.url)&&(0,o.createElement)("span",{className:"ultp-image-close-icon dashicons dashicons-no-alt",onClick:()=>{c({url:""})}})),(0,o.createElement)("span",{className:"ultp-link-options"},(0,o.createElement)("span",{className:"ultp-collapse-section",onClick:()=>{y(!g)}},(0,o.createElement)("span",{className:`ultp-short-collapse ${g&&" active"}`,type:"button"})))),g&&(0,o.createElement)("div",{className:"ultp-short-content active"},(0,o.createElement)(a.T,{include:[(m&&m.target||!m)&&{position:1,data:{type:"select",key:b?.key||"btnLinkTarget",label:b?.label||__("Link Target","ultimate-post"),options:b?.options||[{value:"_self",label:__("Same Tab/Window","ultimate-post")},{value:"_blank",label:__("Open in New Tab","ultimate-post")}]}},(m&&m.follow||!m)&&{position:2,data:{type:"toggle",key:v?.key||"btnLinkNoFollow",label:v?.label||__("No Follow","ultimate-post")}},(m&&m.sponsored||!m)&&{position:3,data:{type:"toggle",key:h?.key||"btnLinkSponsored",label:h?.label||__("Sponsored","ultimate-post")}},(m&&m.download||!m)&&{position:4,data:{type:"toggle",key:f?.key||"btnLinkDownload",label:f?.label||__("Download","ultimate-post")}}],initialOpen:!0,store:u}))):(0,o.createElement)("div",{className:"ultp-sub-field"},(0,o.createElement)(i,{text:s},(0,o.createElement)("a",{href:l,target:"_blank"},t))))}},3780:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(7294),a=l(9735);const{__}=wp.i18n,{MediaUpload:i}=wp.blockEditor,{useState:n}=wp.element,r=e=>{const{multiple:t,onChange:l,value:r,type:s,label:p,block:c,handleLoader:u,dcEnabled:d=!1,DynamicContent:m=null}=e,[g,y]=n({}),[b,v]=n(!1),h=o=>{if(t){let t=e.value.slice();t.splice(o,1),l(t)}else l({})},f=e=>{t||l({url:e.target.value,id:99999})};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-media "+(b?"ultp-img-uploading":"")},p&&(0,o.createElement)("label",null,p),(0,o.createElement)(i,{onSelect:e=>(e=>{if(e.id&&null==g[e?.id]&&"image-block"==c?(v(!0),u(!0),wp.apiFetch({path:"/ultp/v2/get_ultp_image_size",method:"POST",data:{id:e.id,wpnonce:ultp_data.security}}).then((t=>{y({...g,[e.id]:t?.size}),l({url:e.url,id:e.id,size:t?.size,alt:e.alt,caption:e.caption}),v(!1),u(!1)})).catch((e=>{console.log("error")}))):"image-block"==c&&(l({url:e.url,id:e.id,size:g[e?.id],alt:e.alt,caption:e.caption}),v(!1),u(!1)),t){let t=[];e.forEach((e=>{e&&e.url&&t.push({url:e.url,id:e.id,alt:e.alt,caption:e.caption})})),l(r?r.concat(t):t)}else e&&e.url&&e.id&&"image-block"!=c&&l({url:e.url,id:e.id,size:e.sizes,alt:e.alt,caption:e.caption})})(e),allowedTypes:s||["image"],multiple:t||!1,value:r,render:({open:e})=>(0,o.createElement)("div",{className:"ultp-media-img"},t?(0,o.createElement)("div",{className:"ultp-multiple-img"},r.length>0&&r.map(((e,t)=>{return(0,o.createElement)("span",{key:t,className:"ultp-media-image-item"},(0,o.createElement)("img",{src:(l=e.url,-1!=["wbm","jpg","jpeg","gif","png"].indexOf(l.split(".").pop().toLowerCase())?l:ultp_data.url+"assets/img/ultp-placeholder.jpg"),alt:__("image","ultimate-post")}),(0,o.createElement)("span",{className:"ultp-image-close-icon dashicons dashicons-no-alt",onClick:()=>h(t)}));var l})),(0,o.createElement)("div",{onClick:e,className:"ultp-placeholder-image"},(0,o.createElement)("span",null,__("Upload","ultimate-post")))):r&&r.url?(0,o.createElement)("span",{className:"ultp-media-image-item"},(0,o.createElement)("input",{type:"text",onChange:e=>f(e),value:r.url,disabled:(0,a.o6)()&&d}),(0,o.createElement)("div",{className:"ultp-media-preview-container"},(0,o.createElement)("div",{className:"ultp-placeholder-image"},(0,o.createElement)("img",{onClick:e,src:r.url,alt:"Saved Media"}),!d&&(0,o.createElement)("span",{className:"ultp-image-close-icon dashicons dashicons-no-alt",onClick:()=>h()})),(0,a.o6)()&&m)):(0,o.createElement)("span",{className:"ultp-media-image-item"},(0,o.createElement)("input",{type:"text",onChange:e=>f(e),value:"",disabled:(0,a.o6)()&&d}),(0,o.createElement)("div",{className:"ultp-media-preview-container"},(0,o.createElement)("div",{onClick:e,className:"ultp-placeholder-image"},(0,o.createElement)("span",{className:"dashicons dashicons-plus-alt2 ultp-media-upload"})),(0,a.o6)()&&m)))}))}},7928:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294),a=l(6834),i=l(8421);const n=e=>{const{value:t,onChange:l,responsive:n,min:r,max:s,unit:p,label:c,multiple:u,setDevice:d,device:m,step:g,handleTypoFieldPresetData:y}=e,b=(e="")=>{if("unit"==e)return t?n?t["u"+m]||"px":t.unit||"px":"px";{const e=t?n?t[m]||"":t.value||t:"";return y?y(e):e}},v=(e,o)=>{let a=t?{...t}:{};m&&p&&!a?.hasOwnProperty("u"+m)&&(a["u"+m]="px"),"unit"==o&&n?a["u"+m]=e:(a=n?Object.assign({},t,{[m]:e}):"object"==typeof t?Object.assign({},t,{[o]:e}):e,a=r?a<r?r:a:a<0?0:a,a=s?a>s?s:a:a>1e3?1e3:a),l(a)};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-number"},(0,o.createElement)("div",{className:"ultp-field-label-responsive"},c&&(0,o.createElement)("label",null,c),n&&!u&&(0,o.createElement)(a.Z,{setDevice:d,device:m}),p&&(0,o.createElement)(i.Z,{unit:p,value:b("unit"),setSettings:v})),(0,o.createElement)("div",{className:"ultp-responsive-label ultp-field-unit"},(0,o.createElement)("input",{type:"number",step:(()=>{const e=b("unit");return"em"==e||"rem"==e?.001:g||1})(),min:r,max:s,onChange:e=>v(e.target.value,"value"),value:b()})))}},6849:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);const a=e=>{const{value:t,options:l,label:a,onChange:i,isText:n}=e;return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-radio-image"},a&&(0,o.createElement)("label",null,a),(0,o.createElement)("div",{className:"ultp-field-radio-image-content"},n?l.map(((e,l)=>(0,o.createElement)("div",{className:"ultp-field-radio-text",key:l,onClick:()=>i(e.value)},(0,o.createElement)("span",{className:e.value==t?"active":""},e.label)))):(0,o.createElement)("div",{className:"ultp-field-radio-image-items"},l.map(((e,l)=>(0,o.createElement)("div",{className:e.value==t?"ultp-radio-image active":"ultp-radio-image",key:l,onClick:()=>i(e.value)},(0,o.createElement)("img",{loading:"lazy",src:e.url})))))))}},1525:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(3049),i=l(3100),n=l(6834),r=l(8421);const{__}=wp.i18n,s=e=>{const{value:t,unit:l,onChange:s,label:p,responsive:c,pro:u,device:d,setDevice:m,step:g,min:y,max:b,help:v,clientId:h,updateChild:f,_inline:k}=e,w=()=>"em"==x("unit")?.01:g||1,x=e=>"unit"==e?t?.onlyUnit?t?.unit||"px":t?c?t["u"+d]||"px":t.unit||"px":"px":t?.onlyUnit?t?._value||"":t?c?t[d]||"":t:"",T=(e,o)=>{let i=t?{...t}:{};t?.onlyUnit?"unit"==o?i.unit=e:i._value=e:(d&&l&&!i?.hasOwnProperty("u"+d)&&(i["u"+d]=i?.hasOwnProperty("unit")?i.unit:"px"),"unit"==o&&c?i["u"+d]=e:(i=c?Object.assign({},t,i,{[d]:e}):e,i=y?i<y?y:i:i<0?0:i,i=b?i>b?b:i:i>1e3?1e3:i)),u?ultp_data.active&&s(i):s(i),f&&(0,a.Gu)(h)};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-range  "+(c?"ultp-base-control-responsive":"")+" "+(u&&!ultp_data.active?"ultp-pro-field":"")+(k?" ultp-range-inline":"")},(0,o.createElement)("div",{className:"ultp-field-label-responsive"},p&&(0,o.createElement)("label",null,p),c&&(0,o.createElement)(n.Z,{setDevice:m,device:d}),l&&(0,o.createElement)(r.Z,{unit:l,value:x("unit"),setSettings:T})),(0,o.createElement)("div",{className:"ultp-range-control"},(0,o.createElement)("div",{className:"ultp-range-input"},(0,o.createElement)("input",{type:"range",min:y,max:b,value:x(),step:w(),onChange:e=>T(e.target.value)}),(0,o.createElement)("input",{type:"number",min:y,max:b,value:x(),step:w(),onChange:e=>T(e.target.value)}))),v&&(0,o.createElement)("div",{className:"ultp-sub-help"},(0,o.createElement)("i",null,v)),u&&!ultp_data.active&&(0,o.createElement)("div",{className:"ultp-field-pro-message"},__("Unlock It! Explore More","ultimate-post")," ",(0,o.createElement)("a",{href:(0,i.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},__("Pro Features","ultimate-post"))))}},1931:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(6834);const{dispatch:i}=wp.data,{Tooltip:n}=wp.components,r={col_1:{lg:[[100]],sm:[[100]],xs:[[100]]},col_2:{lg:[[50,50],[70,30],[30,70],[100,100]],sm:[[50,50],[70,30],[30,70],[100,100]],xs:[[50,50],[70,30],[30,70],[100,100]]},col_3:{lg:[[33.33,33.33,33.34],[25,25,50],[50,25,25],[25,50,25],[20,60,20],[15,70,15],[100,100,100]],sm:[[33.33,33.33,33.34],[25,25,50],[50,25,25],[25,50,25],[20,60,20],[15,70,15],[100,50,50],[50,50,100],[100,100,100]],xs:[[33.33,33.33,33.34],[25,25,50],[50,25,25],[25,50,25],[20,60,20],[15,70,15],[100,50,50],[50,50,100],[100,100,100]]},col_4:{lg:[[25,25,25,25],[20,20,20,40],[40,20,20,20]],sm:[[25,25,25,25],[20,20,20,40],[40,20,20,20],[50,50,50,50],[100,100,100,100]],xs:[[25,25,25,25],[20,20,20,40],[40,20,20,20],[50,50,50,50],[100,100,100,100]]},col_5:{lg:[[20,20,20,20,20],[100,100,100,100,100]],sm:[[20,20,20,20,20],[100,100,100,100,100]],xs:[[20,20,20,20,20],[100,100,100,100,100]]},col_6:{lg:[[16.66,16.66,16.66,16.66,16.66,16.7]],sm:[[16.66,16.66,16.66,16.66,16.66,16.7],[50,50,50,50,50,50],[33.33,33.33,33.34,33.33,33.33,33.34],[100,100,100,100,100,100]],xs:[[16.66,16.66,16.66,16.66,16.66,16.7],[50,50,50,50,50,50],[33.33,33.33,33.34,33.33,33.33,33.34],[100,100,100,100,100,100]]}},s=e=>{const{value:t,label:l,layout:s,responsive:p,device:c,setDevice:u,clientId:d}=e,m=wp.data.select("core/block-editor").getBlocks(d);return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-layout"},(0,o.createElement)("div",{className:"ultp-columnLayout-label"},l&&(0,o.createElement)("label",null,l),p&&(0,o.createElement)(a.Z,{setDevice:u,device:c})),(0,o.createElement)("div",{className:"ultp-field-layout-wrapper ultp-panel-column"},r["col_"+t.lg.length][c].map(((e,l)=>{const a=e.every((e=>e>99));return(0,o.createElement)(n,{delay:0,visible:!0,position:"bottom",text:e.join(" : "),key:l},(0,o.createElement)("div",{className:"ultp-row-size ultp-field-layout-items "+(t[c]==e.join(",")?"active":""),onClick:()=>{i("core/block-editor").updateBlockAttributes(d,{layout:Object.assign({},s,{[c]:e})}),m?.length>0&&m.forEach(((t,l)=>{i("core/block-editor").updateBlockAttributes(t.clientId,{columnWidth:Object.assign({},t.attributes.columnWidth,{[c]:e[l]})})}))},style:{flexDirection:(a?"column":"")+" "}},e.map(((e,t,l)=>4!=l.length&&6!=l.length||JSON.stringify(l)!=JSON.stringify([50,50,50,50])&&JSON.stringify(l)!=JSON.stringify([50,50,50,50,50,50])&&JSON.stringify(l)!=JSON.stringify([33.33,33.33,33.34,33.33,33.33,33.34])?(0,o.createElement)("div",{className:e>99?"ultp-layout-vertical":"",style:{width:`${e}%`},key:t}):(0,o.createElement)("div",{className:"ultp-layout-half",style:{width:`calc(${e}% - 5px )`},key:t})))))}))))}},8073:(e,t,l)=>{"use strict";l.d(t,{Z:()=>c});var o=l(7294),a=l(3100);const{__}=wp.i18n,{apiFetch:i}=wp,{useState:n,useEffect:r,useRef:s}=wp.element,{Spinner:p}=wp.components,c=e=>{const t=s(),[l,c]=n(!1),[u,d]=n([]),[m,g]=n(""),[y,b]=n(!0),{label:v,value:h,onChange:f,search:k,condition:w,pro:x,single:T=!1,noIdInTitle:S=!1}=e,P=async(e="")=>{b(!0),i({path:"/ultp/v1/search",method:"POST",data:{type:k,term:e,condition:w}}).then((e=>{if(e.success)if(h.length>0&&e.data.length>0){const t=JSON.stringify(h),l=e.data.filter((function({value:e,title:l,live_title:o}){return t.indexOf(JSON.stringify("taxvalue"==k&&o?{value:e,title:l,live_title:o}:{value:e,title:l}))<0}));d(l),b(!1)}else d(e.data),b(!1)}))},C=e=>{t.current.contains(e.target)||c(!1)};r((()=>(document.addEventListener("mousedown",C),()=>document.removeEventListener("mousedown",C))),[]);const E=(e=!0)=>{x&&!ultp_data.active||(e&&(b(!0),P()),c(e))};return(0,o.createElement)("div",{className:"ultp-field-search ultp-field-wrap ultp-field-select "+(x&&!ultp_data.active?"ultp-pro-field":"")},v&&(0,o.createElement)("span",{className:"ultp-label-control"},(0,o.createElement)("label",null,v)),(0,o.createElement)("div",{ref:t,className:"ultp-popup-select"},(0,o.createElement)("span",{className:(l?"isOpen ":"")+" ultp-selected-text ultp-selected-dropdown--icon"},(0,o.createElement)("span",{onClick:()=>E(!0),className:"ultp-search-value ultp-multiple-value"},h.map(((e,t)=>(0,o.createElement)("span",{key:t},!T&&(0,o.createElement)("span",{className:"ultp-updown-container"},(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),(e=>{if(x&&!ultp_data.active)return;let t=h.slice(0);e>0&&(t[e]=t.splice(e-1,1,t[e])[0],d(t),f(t))})(t)},className:"ultp-select-swap dashicons dashicons-arrow-up-alt2"}),(0,o.createElement)("span",{onClick:e=>{e.stopPropagation(),(e=>{if(x&&!ultp_data.active)return;let t=h.slice(0);h.length>e+1&&(t[e+1]=t.splice(e,1,t[e+1])[0],d(t),f(t))})(t)},className:"ultp-select-swap dashicons dashicons-arrow-down-alt2"})),S?e.title?.replaceAll("&amp;","&").replace(/^\[ID:\s\d+\]/,"").trim():e.title?.replaceAll("&amp;","&"),(0,o.createElement)("span",{onClick:()=>(e=>{if(x&&!ultp_data.active)return;h.splice(e,1);const t=u.filter((function(e){return h.indexOf(e)<0}));d(t),f(h)})(t),className:"ultp-select-close"},"×"))))),(0,o.createElement)("span",{className:"ultp-search-divider"}),(0,o.createElement)("span",{className:"ultp-search-icon ultp-search-dropdown--icon",onClick:()=>E(!l)},(0,o.createElement)("i",{className:"dashicons dashicons-arrow-"+(l?"up-alt2":"down-alt2")}))),(0,o.createElement)("span",null,l&&(0,o.createElement)("ul",null,(0,o.createElement)("div",{className:"ultp-select-search"},(0,o.createElement)("input",{type:"text",placeholder:__("Search here for more...","ultimate-post"),value:m,onChange:e=>(e=>{const t=e.target.value;t.length>0&&P(t),g(t)})(e),autocomplete:"off"}),y&&(0,o.createElement)(p,null)),u.map(((e,t)=>(0,o.createElement)("li",{key:t,onClick:()=>(e=>{if(x&&!ultp_data.active)return;T&&h.splice(0,h.length),h.push(e);const t=u.filter((function(e){return h.indexOf(e)<0}));d(t),f(h),c(!1)})(e)},S?e.title?.replaceAll("&amp;","&").replace(/^\[ID:\s\d+\]/,"").trim():e.title?.replaceAll("&amp;","&"))))))),x&&!ultp_data.active&&(0,o.createElement)("div",{className:"ultp-field-pro-message"},__("To Enable This Feature","ultimate-post")," ",(0,o.createElement)("a",{href:(0,a.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},__("Upgrade to Pro","ultimate-post"))))}},2217:(e,t,l)=>{"use strict";l.d(t,{Z:()=>g});var o=l(7294),a=l(3245),i=l(3049),n=l(3100),r=l(107),s=l(6834);const{__}=wp.i18n,{Fragment:p,useState:c,useEffect:u,useRef:d}=wp.element,m=({dynamicHelpText:e,value:t})=>Object.keys(e?.select).map((l=>l==t?(0,o.createElement)("i",null," ",e?.select[l]," "):"")),g=e=>{const{label:t,responsive:l,options:g,multiple:y,value:b,pro:v,image:h,setDevice:f,device:k,onChange:w,help:x,condition:T,keys:S,beside:P,svg:C,svgClass:E,clientId:_,updateChild:L,defaultMedia:I,classes:U,proLink:B,dynamicHelpText:M}=e,A=d(),[H,N]=c(!1);u((()=>{const e=e=>{A.current.contains(e.target)||N(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[]);const j=e=>{if(!v||ultp_data.active){if(y){let t=b.length?b:[];-1==b.indexOf(e)&&t.push(e),w(t)}else{let t=!0;if(T&&Object.keys(T).forEach((function(l){e==l&&(t=!1,w(Object.assign({},{[S]:e},T[l])))})),t){let t=l?Object.assign({},b,{[k]:e}):e;w(t)}}L&&(0,i.Gu)(_)}},O=(e,t)=>{const l=g.filter((t=>t.value==e));if(l[0])return t&&l[0].svg?l[0].svg:l[0].label},Z=e=>{window.open(e||B||ultp_data.premium_link,"_blank")};return(0,o.createElement)(p,null,(0,o.createElement)("div",{ref:A,className:`ultp-field-wrap ultp-field-select ${U||""} ${v&&!ultp_data.active?"ultp-pro-field":""} `},(0,o.createElement)("div",{className:P?"ultp-field-beside":""},(0,o.createElement)("div",{className:"ultp-label-control"},t&&(0,o.createElement)("label",null,t),l&&!y&&(0,o.createElement)(s.Z,{setDevice:f,device:k})),(0,o.createElement)("div",{className:"ultp-popup-select "+(C?"svgIcon "+E:"")},(0,o.createElement)("span",{tabIndex:0,className:(H?"isOpen ":"")+" ultp-selected-text",onClick:()=>N(!H)},y?(0,o.createElement)("span",{className:"ultp-search-value ultp-multiple-value ultp-select-dropdown--tag"},b.map(((e,t)=>(0,o.createElement)("span",{key:t,onClick:()=>{return t=e,void w(b.filter((e=>e!=t)));var t}},O(e)&&O(e).replaceAll("&amp;","&"),(0,o.createElement)("span",{className:"ultp-select-close"},"×"))))):(0,o.createElement)("span",{className:"ultp-search-value"},I?(0,o.createElement)("img",{src:(e=>{const t=g.filter((t=>t.value==e));return ultp_data.url+t[0].img})(b)}):O(y?b||[]:b?l?b[k]||"":b:"",C)),y&&(0,o.createElement)("span",{className:"ultp-search-divider"}),(0,o.createElement)("span",{className:"ultp-search-icon"},(0,o.createElement)("i",{className:"dashicons dashicons-arrow-"+(H?"up-alt2":"down-alt2")}))),H&&(0,o.createElement)("ul",null,g.map(((e,t)=>(0,o.createElement)("li",{key:t,onClick:()=>{e.disabled||(N(!H),e.pro?ultp_data.active?j(e.value):(e.isHeader||e.isChild)&&Z(e.link):j(e.value))},value:e.value,className:(0,r.Z)({"ultp-select-header":e.isHeader,"ultp-select-header-pro":e.isHeader&&e.pro&&!ultp_data.active,"ultp-select-group":e.isChild,"ultp-select-group-pro":e.isChild&&e.pro&&!ultp_data.active})},C&&e.svg?e.svg:h?(0,o.createElement)("img",{alt:e.label||"",src:ultp_data.url+e.img}):(0,o.createElement)(p,null,e.label.replaceAll("&amp;","&")," ",e.isHeader&&e.pro&&!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-pro-text2"},"(Get Pro)")),a.ZP[e.icon]||""," ",!e.pro||e.isHeader||e.isChild||ultp_data.active?null:(0,o.createElement)("span",{onClick:()=>Z(e.link),className:"ultp-pro-text"},"[Pro]"))))))),x&&(0,o.createElement)("div",{className:"ultp-sub-help"},(0,o.createElement)("i",null,x)),M&&M?.select?.key==S&&(0,o.createElement)("div",{className:"ultp-sub-help"},(0,o.createElement)(m,{dynamicHelpText:M,value:b})),v&&!ultp_data.active&&(0,o.createElement)("div",{className:"ultp-field-pro-message"},__("To Enable This Feature","ultimate-post")," ",(0,o.createElement)("a",{href:(0,n.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},__("Upgrade to Pro","ultimate-post")))))}},4390:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);const a=e=>{const{label:t,fancy:l}=e;return l&&t?(0,o.createElement)("div",{className:"ultp-separator-ribbon-wrapper"},(0,o.createElement)("div",{className:"ultp-separator-ribbon"},t)):(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-separator"+(t?"":" ultp-separator-padding")},(0,o.createElement)("div",null,t&&(0,o.createElement)("span",null,t)))}},2616:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);const a=e=>{const{value:t,options:l,label:a,toolbar:i,disabled:n,onChange:r,inline:s}=e,p=l||[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"},{value:"p",label:"P"},{value:"div",label:"DIV"},{value:"span",label:"SPAN"}];return(0,o.createElement)("div",{className:`ultp-field-wrap ultp-field-tag ${s?"ultp-taginline":""} ${i?"ultp-tag-inline":""}`},a&&(0,o.createElement)("label",null,a),(0,o.createElement)("div",{className:"ultp-sub-field"},p.map(((e,l)=>(0,o.createElement)("span",{key:l,tabIndex:0,className:e.value==t?"ultp-tag-button active":"ultp-tag-button",onClick:()=>{return l=e.value,void r(n&&t==l?"":l);var l}},e.label)))))}},3956:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294);const{__}=wp.i18n,{useState:a,useEffect:i}=wp.element,n=e=>{const{clientId:t,attributes:l,label:n,name:r}=e.store,[s,p]=a({designList:[],error:!1,reload:!1,reloadId:""}),{designList:c,error:u,reload:d,reloadId:m}=s;i((()=>{(async()=>{const e=r.split("/");wp.apiFetch({path:"/ultp/v2/fetch_premade_data",method:"POST",data:{type:"design"}}).then((t=>{if(t.success){const l=JSON.parse(t.data);p({...s,designList:l[e[1]]})}}))})()}),[]);const g=e=>{const{replaceBlock:o}=wp.data.dispatch("core/block-editor"),a=["queryNumber","queryNumPosts","queryType","queryTax","queryRelation","queryOrderBy","queryOrder","queryInclude","queryExclude","queryAuthor","queryOffset","metaKey","queryExcludeTerm","queryExcludeAuthor","querySticky","queryUnique","queryPosts","queryCustomPosts"];window.fetch("https://ultp.wpxpo.com/wp-json/restapi/v2/single-design",{method:"POST",body:new URLSearchParams("license="+ultp_data.license+"&design_id="+e)}).then((e=>e.text())).then((e=>{if((e=JSON.parse(e)).success&&e.rawData){let i=wp.blocks.parse(e.rawData),n=i[0].attributes;for(let e=0;e<a.length;e++)n[a[e]]&&delete n[a[e]];n=Object.assign({},l,n),i[0].attributes=n,p({...s,error:!1,reload:!1,reloadId:""}),o(t,i)}else p({...s,error:!0,reload:!1,reloadId:""})})).catch((e=>{console.error(e)}))};return void 0===c?null:(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-template"},n&&(0,o.createElement)("label",null,n),(0,o.createElement)("div",{className:"ultp-sub-field-template"},c.map(((e,t)=>(0,o.createElement)("div",{key:t,className:"ultp-field-template-item "+(e.pro&&!ultp_data.active?"ultp-field-premium":"")},(0,o.createElement)("img",{loading:"lazy",src:e.image}),e.pro&&!ultp_data.active&&(0,o.createElement)("span",{className:"ultp-field-premium-badge"},__("Premium","ultimate-post")),e.pro&&!ultp_data.active?(0,o.createElement)("div",{className:"ultp-field-premium-lock"},(0,o.createElement)("a",{href:ultp_data.premium_link,target:"_blank"},__("Go Pro","ultimate-post"))):e.pro&&u?(0,o.createElement)("div",{className:"ultp-field-premium-lock"},(0,o.createElement)("a",{href:ultp_data.premium_link,target:"_blank"},__("Get License","ultimate-post"))):(0,o.createElement)("div",{className:"ultp-field-premium-lock"},(0,o.createElement)("button",{className:"ultp-popup-btn",onClick:()=>{return t=e.ID,l=e.pro,p({...s,reload:!0,reloadId:t}),void(l?ultp_data.active&&g(t):g(t));var t,l}},__("Import","ultimate-post"),d&&m==e.ID&&(0,o.createElement)("span",{className:"dashicons dashicons-update rotate"}))))))))}},4774:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});var o=l(7294);const{__}=wp.i18n,{TextControl:a,TextareaControl:i}=wp.components,n=e=>{const{value:t,onChange:l,isTextField:n,attr:r,DC:s=null}=e,{placeholder:p,label:c,help:u,disabled:d=!1}=r,m=e=>{l(e)};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-groupbutton"},s&&c&&(0,o.createElement)("div",{className:"ultp-field-label-responsive"},(0,o.createElement)("label",{htmlFor:""},c)),(0,o.createElement)("div",{className:s?"ultp-acf-field"+(n?"":"-textarea"):""},n?(0,o.createElement)(a,{__nextHasNoMarginBottom:!0,value:t,placeholder:p,label:s?"":c,help:u,disabled:d,onChange:e=>m(e)}):(0,o.createElement)(i,{value:t,label:s?"":c,placeholder:p,disabled:d,onChange:e=>m(e)}),s))}},405:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294),a=l(3049),i=l(3100);const{__}=wp.i18n,{Fragment:n}=wp.element,{ToggleControl:r}=wp.components,s=e=>{const{value:t,label:l,pro:s,help:p,onChange:c,clientId:u,updateChild:d,disabled:m=!1,showDisabledValue:g=!1}=e,y=e=>{m||c(e)};return(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-toggle"},(0,o.createElement)("div",{className:"ultp-sub-field"},(0,o.createElement)(r,{__nextHasNoMarginBottom:!0,help:p,checked:m?!!g&&t:t,label:l?(0,o.createElement)(n,null,l," ",s&&!ultp_data.active?(0,o.createElement)("a",{className:"ultp-field-pro-message-inline",href:(0,i.Z)("https://www.wpxpo.com/postx/all-features/","blockProFeat",ultp_data.affiliate_id),target:"_blank"},__("Pro Features","ultimate-post")):""):"",onChange:e=>(e=>{s?ultp_data.active&&y(e):y(e),d&&(0,a.Gu)(u)})(e)})))}},7106:(e,t,l)=>{"use strict";l.d(t,{Z:()=>k});var o=l(7294),a=l(2030),i=l(5484),n=l(7928),r=l(7763),s=l(6834),p=l(3049),c=l(3100),u=l(448);const{__}=wp.i18n,{useState:d,useEffect:m}=wp.element,{Dropdown:g,SelectControl:y,ToolbarButton:b,TabPanel:v}=wp.components,{fontSizes:h}=wp.data.select("core/block-editor").getSettings(),f=({value:e,openGlobalTypo:t,setOpenGlobalTypo:l,globalTypos:a,onChange:i,typoHtml:n})=>(0,o.createElement)("div",{className:"ultp-field-typo-settings"},(0,o.createElement)("div",{className:"ultp-field-global-typo ultp-typo-family ultp-typo-family-wrap"},(0,o.createElement)("div",{className:"ultp-typo-family"},(0,o.createElement)("div",{className:"ultp-preset-label"},(0,o.createElement)("div",{className:"ultp-preset-label-content"}," ",__("Select Global Style","ultimate-post")," "),(0,o.createElement)("div",{className:"ultp-preset-label-link",onClick:()=>(0,u.je)("typo")}," Customize  >")),(0,o.createElement)("span",{className:"ultp-family-field-data",onClick:()=>l(!t)},e&&(0,u.nl)(e.presetTypo,"typo")||__("Select Global","ultimate-post"),t?(0,o.createElement)("span",{className:"dashicons dashicons-arrow-up-alt2"}):(0,o.createElement)("span",{className:"dashicons dashicons-arrow-down-alt2"})),t&&(0,o.createElement)("div",{className:"ultp-family-field"},(0,o.createElement)("div",{className:"ultp-family-list preset-family"},a.map(((e,t)=>!["Body_and_Others_typo","Heading_typo","presetTypoCSS"].includes(e)&&(0,o.createElement)("span",{style:(0,u.xP)(e),key:t,onClick:()=>{l(!1),i((0,u.sR)(e))}},(0,u.nl)(e,"typo")))))))),n()),k=e=>{const{value:t,disableClear:l,label:k,device:w,setDevice:x,onChange:T,presetSetting:S,presetSettingParent:P,isToolbar:C=!1}=e,[E,_]=d({open:!1,text:"",custom:!1}),[L,I]=d(!1),{open:U,text:B,custom:M}=E,A=(0,p.RQ)();__("Normal","ultimate-post"),__("Italic","ultimate-post"),__("Oblique","ultimate-post"),__("Initial","ultimate-post"),__("Inherit","ultimate-post"),__("None","ultimate-post"),__("Inherit","ultimate-post"),__("Underline","ultimate-post"),__("Overline","ultimate-post"),__("Line Through","ultimate-post"),m((()=>{(async()=>{const e=O();let l=!1;(h||[{size:13},{size:16},{size:20}]).forEach((t=>{e==t.size&&(l=!0)})),l||void 0!==t.size||(l=!0),_({...E,custom:l})})()}),[]);const H=e=>{if(e&&e.family&&"none"!=e.family&&(0,u.MR)(e.family)){let t=a.Z.filter((t=>t.n==e.family));return 0==t.length&&(t=i.Z.filter((t=>t.n==e.family))),0==t.length&&(t=A.filter((t=>t.n==e.family))),void 0!==t[0]?(t=t[0].v,t.map((e=>({value:e,label:e})))):[{value:"",label:"- None -"}]}return[{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"400",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}]},N=(e,l,o)=>{if("family"==e){if(l){_({...E,open:!1}),l={[e]:l,type:("google"==o?a.Z:"custom_font"==o?A:i.Z).filter((e=>e.n==l))[0].f};const t=H(l);t[0]&&(l={...l,weight:t[0].value})}}else l="define"==e?{size:Object.assign({},t.size,{[w]:l})}:{[e]:l};T(Object.assign({},t,l))},j=e=>e.filter((e=>B?-1!==e.n.toLowerCase().indexOf(B)?{value:e.n}:void 0:{value:e.n})),O=()=>t?.size?t.size[w]:"",Z=()=>(0,o.createElement)("div",{className:"ultp-field-typography"},!P&&(0,o.createElement)("div",{className:"ultp-typo-option"},M?(0,o.createElement)(n.Z,{min:1,max:300,step:1,unit:["px","em","rem"],responsive:!0,typo:!0,label:__("Size","ultimate-post"),value:t&&t.size,device:w,setDevice:x,onChange:e=>N("size",e),handleTypoFieldPresetData:u.MR}):(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"ultp-field-label-responsive"},(0,o.createElement)("label",null,"Size"),(0,o.createElement)(s.Z,{setDevice:x,device:w})),(0,o.createElement)("div",{className:"ultp-default-font-field"},(h||[{size:13},{size:16},{size:20}]).map(((e,t)=>(0,o.createElement)("span",{key:t,className:"ultp-default-font"+(F==e.size?" active":""),onClick:()=>{N("define",e.size),_({...E,custom:!1})}},e.size))))),(0,o.createElement)("div",{className:"ultp-typo-custom-setting"+(M?" active":""),onClick:()=>_({...E,custom:!M})},(0,o.createElement)("span",{className:"dashicons dashicons-admin-settings"}))),(0,o.createElement)("div",{className:"ultp-typo-container"},(0,o.createElement)("div",{className:"ultp-typo-section"},(0,o.createElement)("div",{className:"ultp-typo-family ultp-typo-family-wrap"},(0,o.createElement)("div",{className:"ultp-typo-family"},(0,o.createElement)("label",null,"Family"),(0,o.createElement)("span",{className:"ultp-family-field-data "+(P?"parent-typo":""),onClick:()=>_({...E,open:!U})},t&&(0,u.MR)(t.family)||__("Select Font","ultimate-post"),U?(0,o.createElement)("span",{className:"dashicons dashicons-arrow-up-alt2"}):(0,o.createElement)("span",{className:"dashicons dashicons-arrow-down-alt2"})),U&&(0,o.createElement)("span",{className:"ultp-family-field"},(0,o.createElement)("span",{className:"ultp-family-list"},(0,o.createElement)("input",{type:"text",onChange:e=>{return t=e.target.value,void _({...E,text:t});var t},placeholder:"Search..",value:B}),V.length>0&&!S&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"ultp-family-disabled"},"Custom Fonts"),V.map(((e,t)=>(0,o.createElement)("span",{className:"ultp_custom_font_option",key:t,onClick:()=>N("family",e.n,"custom_font")},e.n," ",!ultp_data.active&&(0,o.createElement)("a",{href:q,target:"blank"},"(PRO)"))))),W.length>0&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"ultp-family-disabled"},"System Fonts"),W.map(((e,t)=>(0,o.createElement)("span",{key:t,onClick:()=>N("family",e.n,"system")},e.n)))),z?(0,o.createElement)("span",{className:"ultp-family-disabled",style:{color:"red"}},"Google Fonts Disabled"):(0,o.createElement)(o.Fragment,null,G.length>0&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("span",{className:"ultp-family-disabled"},"Google Fonts"),G.map(((e,t)=>(0,o.createElement)("span",{key:t,onClick:()=>N("family",e.n,"google")},e.n)))))))))),(0,o.createElement)("div",{className:"ultp-typo-section ultp-typo-weight"},(0,o.createElement)(y,{__nextHasNoMarginBottom:!0,label:__("Weight","ultimate-post"),value:t&&t.weight,options:H(t),onChange:e=>N("weight",e)})),!P&&(0,o.createElement)("div",{className:"ultp-typo-section ultp-typo-height"},(0,o.createElement)(n.Z,{min:1,max:300,step:1,responsive:!0,device:w,setDevice:x,unit:["px","em","rem"],label:__("Height","ultimate-post"),value:t&&t.height,onChange:e=>N("height",e),handleTypoFieldPresetData:u.MR}))),(0,o.createElement)("div",{className:"ultp-typo-container ultp-typ-family ultp-typo-spacing-container"},(0,o.createElement)("div",{className:"ultp-typo-section ultp-typo-spacing  "+(P?"preset-active":"")},(0,o.createElement)(n.Z,{min:-10,max:30,responsive:!0,step:.1,unit:["px","em","rem"],device:w,setDevice:x,label:__("Spacing","ultimate-post"),value:t&&t.spacing,onChange:e=>N("spacing",e),handleTypoFieldPresetData:u.MR})),(0,o.createElement)("div",{className:"ultp-typo-container ultp-style-container"},(0,o.createElement)("div",{className:"ultp-transform-style"},(0,o.createElement)("span",{title:"italic",style:{fontStyle:"italic"},className:"italic"==t.style?"active":"",onClick:()=>N("style","italic"==t.style?"normal":"italic")},"l"),(0,o.createElement)("span",{title:"underline",style:{textDecoration:"underline"},className:"underline"==t.decoration?"active":"",onClick:()=>N("decoration","underline"==t.decoration?"none":"underline")},"U"),(0,o.createElement)("span",{title:"line-through",style:{textDecoration:"line-through"},className:"line-through"==t.decoration?"active":"",onClick:()=>N("decoration","line-through"==t.decoration?"none":"line-through")},"U"),(0,o.createElement)("span",{title:"uppercase",style:{textTransform:"uppercase"},className:"uppercase"==R?"active":"",onClick:()=>N("transform","uppercase"==R?"":"uppercase")},"tt"),(0,o.createElement)("span",{title:"lowercase",style:{textTransform:"lowercase"},className:"lowercase"==R?"active":"",onClick:()=>N("transform","lowercase"==R?"":"lowercase")},"tt"),(0,o.createElement)("span",{title:"capitalize",style:{textTransform:"capitalize"},className:"capitalize"==R?"active":"",onClick:()=>N("transform","capitalize"==R?"":"capitalize")},"tt"))))),R=t&&t.transform?t.transform:"",D=!(!t||!t.openTypography),F=O(),z=!(!ultp_data.settings?.hasOwnProperty("disable_google_font")||"yes"!=ultp_data.settings.disable_google_font),W=j(i.Z),G=j(a.Z),V=j(A),q=(0,c.Z)("","customFont",ultp_data.affiliate_id),$=(0,u.RK)();return(0,o.createElement)("div",{className:`${C?"test-class":"ultp-field-wrap ultp-field-typo"} ${P?"ultp-preset-typo":""}`},(0,o.createElement)("div",{className:"ultp-field-header ultp-flex-content"},!C&&(0,o.createElement)("div",{className:"ultp-field-label-responsive"},k&&(0,o.createElement)("label",null,k)),S?Z():(0,o.createElement)(g,{className:C?"":"ultp-range-control",contentClassName:C?"ultp-typography-toolbar":"",renderToggle:({isOpen:e,onToggle:t})=>C?(0,o.createElement)(b,{className:"ultp-typography-toolbar-btn",label:k||"Typography",onClick:()=>{t(),N("openTypography",1)}},(0,o.createElement)("img",{src:ultp_data.url+"assets/img/toolbar/typography.svg"})):(0,o.createElement)("div",{className:"ultp-edit-btn"},(0,o.createElement)("div",{className:"ultp-typo-control"},!l&&D&&(0,o.createElement)("div",{className:"active ultp-base-control-btn dashicons dashicons-image-rotate",onClick:()=>{e&&t(),N("openTypography",0)}}),(0,o.createElement)("div",{className:(D?"active ":"")+" ultp-icon-style",onClick:()=>{t(),N("openTypography",1)}},r.Z.setting))),renderContent:()=>(0,o.createElement)(o.Fragment,null,C?(0,o.createElement)(v,{className:"ultp-toolbar-tab",tabs:[{name:"typo",title:k}]},(e=>(0,o.createElement)(f,{value:t,openGlobalTypo:L,setOpenGlobalTypo:I,globalTypos:$,onChange:T,typoHtml:Z}))):(0,o.createElement)(f,{value:t,openGlobalTypo:L,setOpenGlobalTypo:I,globalTypos:$,onChange:T,typoHtml:Z}))})))}},2030:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o=[{n:"ABeeZee",v:[400,"400i"],f:"sans-serif"},{n:"Abel",v:[400],f:"sans-serif"},{n:"Abhaya Libre",v:[400,500,600,700,800],f:"serif"},{n:"Abril Fatface",v:[400],f:"display"},{n:"Abyssinica SIL",v:[400],f:"serif"},{n:"Aclonica",v:[400],f:"sans-serif"},{n:"Acme",v:[400],f:"sans-serif"},{n:"Actor",v:[400],f:"sans-serif"},{n:"Adamina",v:[400],f:"serif"},{n:"Advent Pro",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Aguafina Script",v:[400],f:"handwriting"},{n:"Akaya Kanadaka",v:[400],f:"display"},{n:"Akaya Telivigala",v:[400],f:"display"},{n:"Akronim",v:[400],f:"display"},{n:"Akshar",v:["300",400,500,600,700],f:"sans-serif"},{n:"Aladin",v:[400],f:"handwriting"},{n:"Alata",v:[400],f:"sans-serif"},{n:"Alatsi",v:[400],f:"sans-serif"},{n:"Albert Sans",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Aldrich",v:[400],f:"sans-serif"},{n:"Alef",v:[400,700],f:"sans-serif"},{n:"Alexandria",v:[100,200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Alegreya",v:[400,500,600,700,800,900,"400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Alegreya SC",v:[400,"400i",500,"500i",700,"700i",800,"800i",900,"900i"],f:"serif"},{n:"Alegreya Sans",v:["100","100i","300","300i",400,"400i",500,"500i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Alegreya Sans SC",v:["100","100i","300","300i",400,"400i",500,"500i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Aleo",v:["300","300i",400,"400i",700,"700i"],f:"serif"},{n:"Alex Brush",v:[400],f:"handwriting"},{n:"Alfa Slab One",v:[400],f:"display"},{n:"Alice",v:[400],f:"serif"},{n:"Alike",v:[400],f:"serif"},{n:"Alike Angular",v:[400],f:"serif"},{n:"Allan",v:[400,700],f:"display"},{n:"Allerta",v:[400],f:"sans-serif"},{n:"Allerta Stencil",v:[400],f:"sans-serif"},{n:"Allison",v:[400],f:"handwriting"},{n:"Allura",v:[400],f:"handwriting"},{n:"Almarai",v:["300",400,700,800],f:"sans-serif"},{n:"Almendra",v:[400,"400i",700,"700i"],f:"serif"},{n:"Almendra Display",v:[400],f:"display"},{n:"Almendra SC",v:[400],f:"serif"},{n:"Alumni Sans",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Alumni Sans Inline One",v:[400,"400i"],f:"display"},{n:"Amarante",v:[400],f:"display"},{n:"Amaranth",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Amatic SC",v:[400,700],f:"handwriting"},{n:"Amethysta",v:[400],f:"serif"},{n:"Amiko",v:[400,600,700],f:"sans-serif"},{n:"Amiri",v:[400,"400i",700,"700i"],f:"serif"},{n:"Amita",v:[400,700],f:"handwriting"},{n:"Anaheim",v:[400],f:"sans-serif"},{n:"Andada Pro",v:[400,500,600,700,800,"400i","500i","600i","700i","800i"],f:"serif"},{n:"Andika",v:[400],f:"sans-serif"},{n:"Anek Bangla",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Devanagari",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Gujarati",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Gurmukhi",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Kannada",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Latin",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Malayalam",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Odia",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Tamil",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Anek Telugu",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Angkor",v:[400],f:"display"},{n:"Annie Use Your Telescope",v:[400],f:"handwriting"},{n:"Anonymous Pro",v:[400,"400i",700,"700i"],f:"monospace"},{n:"Antic",v:[400],f:"sans-serif"},{n:"Antic Didone",v:[400],f:"serif"},{n:"Antic Slab",v:[400],f:"serif"},{n:"Anton",v:[400],f:"sans-serif"},{n:"Antonio",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"Anybody",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"display"},{n:"Arapey",v:[400,"400i"],f:"serif"},{n:"Arbutus",v:[400],f:"display"},{n:"Arbutus Slab",v:[400],f:"serif"},{n:"Architects Daughter",v:[400],f:"handwriting"},{n:"Archivo",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Archivo Black",v:[400],f:"sans-serif"},{n:"Archivo Narrow",v:[400,500,600,700,"400i","500i","600i","700i"],f:"sans-serif"},{n:"Are You Serious",v:[400],f:"handwriting"},{n:"Aref Ruqaa",v:[400,700],f:"serif"},{n:"Arimo",v:[400,500,600,700,"400i","500i","600i","700i"],f:"sans-serif"},{n:"Arizonia",v:[400],f:"handwriting"},{n:"Armata",v:[400],f:"sans-serif"},{n:"Arsenal",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Artifika",v:[400],f:"serif"},{n:"Arvo",v:[400,"400i",700,"700i"],f:"serif"},{n:"Arya",v:[400,700],f:"sans-serif"},{n:"Asap",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Asap Condensed",v:[200,"200i",300,"300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Asar",v:[400],f:"serif"},{n:"Asset",v:[400],f:"display"},{n:"Assistant",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Astloch",v:[400,700],f:"display"},{n:"Asul",v:[400,700],f:"sans-serif"},{n:"Athiti",v:["200","300",400,500,600,700],f:"sans-serif"},{n:"Atkinson Hyperlegible",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Atma",v:["300",400,500,600,700],f:"display"},{n:"Atomic Age",v:[400],f:"display"},{n:"Aubrey",v:[400],f:"display"},{n:"Audiowide",v:[400],f:"display"},{n:"Autour One",v:[400],f:"display"},{n:"Average",v:[400],f:"serif"},{n:"Average Sans",v:[400],f:"sans-serif"},{n:"Averia Gruesa Libre",v:[400],f:"display"},{n:"Averia Libre",v:["300","300i",400,"400i",700,"700i"],f:"display"},{n:"Averia Sans Libre",v:["300","300i",400,"400i",700,"700i"],f:"display"},{n:"Averia Serif Libre",v:["300","300i",400,"400i",700,"700i"],f:"display"},{n:"Azeret Mono",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"monospace"},{n:"Aboreto",v:[400],f:"display"},{n:"Abyssinica SIL",v:[400],f:"serif"},{n:"Albert Sans",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Alexandria",v:[100,200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Alkalami",v:[400],f:"serif"},{n:"Alkatra",v:[400,500,600,700],f:"display"},{n:"Alumni Sans Collegiate One",v:[400,"400i"],f:"sans-serif"},{n:"Alumni Sans Pinstripe",v:[400,"400i"],f:"sans-serif"},{n:"Amiri Quran",v:[400],f:"serif"},{n:"Anuphan",v:[100,200,300,400,500,600,700],f:"sans-serif"},{n:"Aoboshi One",v:[400],f:"serif"},{n:"Aref Ruqaa Ink",v:[400,700],f:"serif"},{n:"Arima",v:[100,200,300,400,500,600,700],f:"display"},{n:"B612",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"B612 Mono",v:[400,"400i",700,"700i"],f:"monospace"},{n:"BIZ UDGothic",v:[400,700],f:"sans-serif"},{n:"BIZ UDMincho",v:[400,700],f:"serif"},{n:"BIZ UDPGothic",v:[400,700],f:"sans-serif"},{n:"BIZ UDPMincho",v:[400,700],f:"serif"},{n:"Babylonica",v:[400],f:"handwriting"},{n:"Bad Script",v:[400],f:"handwriting"},{n:"Bahiana",v:[400],f:"display"},{n:"Bahianita",v:[400],f:"display"},{n:"Bai Jamjuree",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"Bakbak One",v:[400],f:"display"},{n:"Ballet",v:[400],f:"handwriting"},{n:"Baloo 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Bhai 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Bhaijaan 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Bhaina 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Chettan 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Da 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Paaji 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Tamma 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Tammudu 2",v:[400,500,600,700,800],f:"display"},{n:"Baloo Thambi 2",v:[400,500,600,700,800],f:"display"},{n:"Balsamiq Sans",v:[400,"400i",700,"700i"],f:"display"},{n:"Balthazar",v:[400],f:"serif"},{n:"Bangers",v:[400],f:"display"},{n:"Barlow",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Barlow Condensed",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Barlow Semi Condensed",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Barriecito",v:[400],f:"display"},{n:"Barrio",v:[400],f:"display"},{n:"Basic",v:[400],f:"sans-serif"},{n:"Baskervville",v:[400,"400i"],f:"serif"},{n:"Battambang",v:["100","300",400,700,900],f:"display"},{n:"Baumans",v:[400],f:"display"},{n:"Bayon",v:[400],f:"sans-serif"},{n:"Be Vietnam Pro",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Beau Rivage",v:[400],f:"handwriting"},{n:"Bebas Neue",v:[400],f:"sans-serif"},{n:"Belgrano",v:[400],f:"serif"},{n:"Bellefair",v:[400],f:"serif"},{n:"Belleza",v:[400],f:"sans-serif"},{n:"Bellota",v:["300","300i",400,"400i",700,"700i"],f:"display"},{n:"Bellota Text",v:["300","300i",400,"400i",700,"700i"],f:"display"},{n:"BenchNine",v:["300",400,700],f:"sans-serif"},{n:"Benne",v:[400],f:"serif"},{n:"Bentham",v:[400],f:"serif"},{n:"Berkshire Swash",v:[400],f:"handwriting"},{n:"Besley",v:[400,500,600,700,800,900,"400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Beth Ellen",v:[400],f:"handwriting"},{n:"Bevan",v:[400,"400i"],f:"display"},{n:"BhuTuka Expanded One",v:[400],f:"display"},{n:"Big Shoulders Display",v:["100","200","300",400,500,600,700,800,900],f:"display"},{n:"Big Shoulders Inline Display",v:["100","200","300",400,500,600,700,800,900],f:"display"},{n:"Big Shoulders Inline Text",v:["100","200","300",400,500,600,700,800,900],f:"display"},{n:"Big Shoulders Stencil Display",v:["100","200","300",400,500,600,700,800,900],f:"display"},{n:"Big Shoulders Stencil Text",v:["100","200","300",400,500,600,700,800,900],f:"display"},{n:"Big Shoulders Text",v:["100","200","300",400,500,600,700,800,900],f:"display"},{n:"Bigelow Rules",v:[400],f:"display"},{n:"Bigshot One",v:[400],f:"display"},{n:"Bilbo",v:[400],f:"handwriting"},{n:"Bilbo Swash Caps",v:[400],f:"handwriting"},{n:"BioRhyme",v:["200","300",400,700,800],f:"serif"},{n:"BioRhyme Expanded",v:["200","300",400,700,800],f:"serif"},{n:"Birthstone",v:[400],f:"handwriting"},{n:"Birthstone Bounce",v:[400,500],f:"handwriting"},{n:"Biryani",v:["200","300",400,600,700,800,900],f:"sans-serif"},{n:"Bitter",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Black And White Picture",v:[400],f:"sans-serif"},{n:"Black Han Sans",v:[400],f:"sans-serif"},{n:"Black Ops One",v:[400],f:"display"},{n:"Blinker",v:["100","200","300",400,600,700,800,900],f:"sans-serif"},{n:"Bodoni Moda",v:[400,500,600,700,800,900,"400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Bokor",v:[400],f:"display"},{n:"Bona Nova",v:[400,"400i",700],f:"serif"},{n:"Bonbon",v:[400],f:"handwriting"},{n:"Bonheur Royale",v:[400],f:"handwriting"},{n:"Boogaloo",v:[400],f:"display"},{n:"Bowlby One",v:[400],f:"display"},{n:"Bowlby One SC",v:[400],f:"display"},{n:"Brawler",v:[400,700],f:"serif"},{n:"Bree Serif",v:[400],f:"serif"},{n:"Brygada 1918",v:[400,500,600,700,"400i","500i","600i","700i"],f:"serif"},{n:"Bubblegum Sans",v:[400],f:"display"},{n:"Bubbler One",v:[400],f:"sans-serif"},{n:"Buda",v:["300"],f:"display"},{n:"Buenard",v:[400,700],f:"serif"},{n:"Bungee",v:[400],f:"display"},{n:"Bungee Hairline",v:[400],f:"display"},{n:"Bungee Inline",v:[400],f:"display"},{n:"Bungee Outline",v:[400],f:"display"},{n:"Bungee Shade",v:[400],f:"display"},{n:"Butcherman",v:[400],f:"display"},{n:"Butterfly Kids",v:[400],f:"handwriting"},{n:"Blaka",v:[400],f:"display"},{n:"Blaka Hollow",v:[400],f:"display"},{n:"Blaka Ink",v:[400],f:"display"},{n:"Braah One",v:[400],f:"sans-serif"},{n:"Bruno Ace",v:[400],f:"display"},{n:"Bruno Ace SC",v:[400],f:"display"},{n:"Bungee Spice",v:[400],f:"display"},{n:"Bungee Spice",v:[400],f:"display"},{n:"Cabin",v:[400,500,600,700,"400i","500i","600i","700i"],f:"sans-serif"},{n:"Cabin Condensed",v:[400,500,600,700],f:"sans-serif"},{n:"Cabin Sketch",v:[400,700],f:"display"},{n:"Caesar Dressing",v:[400],f:"display"},{n:"Cagliostro",v:[400],f:"sans-serif"},{n:"Cairo",v:["200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Caladea",v:[400,"400i",700,"700i"],f:"serif"},{n:"Calistoga",v:[400],f:"display"},{n:"Calligraffitti",v:[400],f:"handwriting"},{n:"Cambay",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Cambo",v:[400],f:"serif"},{n:"Candal",v:[400],f:"sans-serif"},{n:"Cantarell",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Cantata One",v:[400],f:"serif"},{n:"Cantora One",v:[400],f:"sans-serif"},{n:"Capriola",v:[400],f:"sans-serif"},{n:"Caramel",v:[400],f:"handwriting"},{n:"Carattere",v:[400],f:"handwriting"},{n:"Cardo",v:[400,"400i",700],f:"serif"},{n:"Carme",v:[400],f:"sans-serif"},{n:"Carrois Gothic",v:[400],f:"sans-serif"},{n:"Carrois Gothic SC",v:[400],f:"sans-serif"},{n:"Carter One",v:[400],f:"display"},{n:"Castoro",v:[400,"400i"],f:"serif"},{n:"Catamaran",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Caudex",v:[400,"400i",700,"700i"],f:"serif"},{n:"Caveat",v:[400,500,600,700],f:"handwriting"},{n:"Caveat Brush",v:[400],f:"handwriting"},{n:"Cedarville Cursive",v:[400],f:"handwriting"},{n:"Ceviche One",v:[400],f:"display"},{n:"Chakra Petch",v:["300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"Changa",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Changa One",v:[400,"400i"],f:"display"},{n:"Chango",v:[400],f:"display"},{n:"Charm",v:[400,700],f:"handwriting"},{n:"Charmonman",v:[400,700],f:"handwriting"},{n:"Chathura",v:["100","300",400,700,800],f:"sans-serif"},{n:"Chau Philomene One",v:[400,"400i"],f:"sans-serif"},{n:"Chela One",v:[400],f:"display"},{n:"Chelsea Market",v:[400],f:"display"},{n:"Chenla",v:[400],f:"display"},{n:"Cherish",v:[400],f:"handwriting"},{n:"Cherry Cream Soda",v:[400],f:"display"},{n:"Cherry Swash",v:[400,700],f:"display"},{n:"Chewy",v:[400],f:"display"},{n:"Chicle",v:[400],f:"display"},{n:"Chilanka",v:[400],f:"handwriting"},{n:"Chivo",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Chonburi",v:[400],f:"display"},{n:"Cinzel",v:[400,500,600,700,800,900],f:"serif"},{n:"Cinzel Decorative",v:[400,700,900],f:"display"},{n:"Clicker Script",v:[400],f:"handwriting"},{n:"Coda",v:[400,800],f:"display"},{n:"Coda Caption",v:[800],f:"sans-serif"},{n:"Codystar",v:["300",400],f:"display"},{n:"Coiny",v:[400],f:"display"},{n:"Combo",v:[400],f:"display"},{n:"Comfortaa",v:["300",400,500,600,700],f:"display"},{n:"Comforter",v:[400],f:"handwriting"},{n:"Comforter Brush",v:[400],f:"handwriting"},{n:"Comic Neue",v:["300","300i",400,"400i",700,"700i"],f:"handwriting"},{n:"Coming Soon",v:[400],f:"handwriting"},{n:"Commissioner",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Concert One",v:[400],f:"display"},{n:"Condiment",v:[400],f:"handwriting"},{n:"Content",v:[400,700],f:"display"},{n:"Contrail One",v:[400],f:"display"},{n:"Convergence",v:[400],f:"sans-serif"},{n:"Cookie",v:[400],f:"handwriting"},{n:"Copse",v:[400],f:"serif"},{n:"Corben",v:[400,700],f:"display"},{n:"Corinthia",v:[400,700],f:"handwriting"},{n:"Cormorant",v:[300,400,500,600,700,"300i","400i","500i","600i","700i"],f:"serif"},{n:"Cormorant Garamond",v:["300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"serif"},{n:"Cormorant Infant",v:["300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"serif"},{n:"Cormorant SC",v:["300",400,500,600,700],f:"serif"},{n:"Cormorant Unicase",v:["300",400,500,600,700],f:"serif"},{n:"Cormorant Upright",v:["300",400,500,600,700],f:"serif"},{n:"Courgette",v:[400],f:"handwriting"},{n:"Courier Prime",v:[400,"400i",700,"700i"],f:"monospace"},{n:"Cousine",v:[400,"400i",700,"700i"],f:"monospace"},{n:"Coustard",v:[400,900],f:"serif"},{n:"Covered By Your Grace",v:[400],f:"handwriting"},{n:"Crafty Girls",v:[400],f:"handwriting"},{n:"Creepster",v:[400],f:"display"},{n:"Crete Round",v:[400,"400i"],f:"serif"},{n:"Crimson Pro",v:["200","300",400,500,600,700,800,900,"200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Croissant One",v:[400],f:"display"},{n:"Crushed",v:[400],f:"display"},{n:"Cuprum",v:[400,500,600,700,"400i","500i","600i","700i"],f:"sans-serif"},{n:"Cute Font",v:[400],f:"display"},{n:"Cutive",v:[400],f:"serif"},{n:"Cutive Mono",v:[400],f:"monospace"},{n:"Cairo Play",v:[200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Carlito",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Castoro Titling",v:[400],f:"display"},{n:"Charis SIL",v:[400,"400i",700,"700i"],f:"serif"},{n:"Cherry Bomb One",v:[400],f:"display"},{n:"Chivo Mono",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"monospace"},{n:"Chokokutai",v:[400],f:"display"},{n:"Climate Crisis",v:[400],f:"display"},{n:"Comme",v:[100,200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Crimson Text",v:[400,"400i",600,"600i",700,"700i"],f:"serif"},{n:"DM Mono",v:["300","300i",400,"400i",500,"500i"],f:"monospace"},{n:"DM Sans",v:[400,"400i",500,"500i",700,"700i"],f:"sans-serif"},{n:"DM Serif Display",v:[400,"400i"],f:"serif"},{n:"DM Serif Text",v:[400,"400i"],f:"serif"},{n:"Damion",v:[400],f:"handwriting"},{n:"Dancing Script",v:[400,500,600,700],f:"handwriting"},{n:"Dangrek",v:[400],f:"display"},{n:"Darker Grotesque",v:["300",400,500,600,700,800,900],f:"sans-serif"},{n:"David Libre",v:[400,500,700],f:"serif"},{n:"Dawning of a New Day",v:[400],f:"handwriting"},{n:"Days One",v:[400],f:"sans-serif"},{n:"Dekko",v:[400],f:"handwriting"},{n:"Dela Gothic One",v:[400],f:"display"},{n:"Delius",v:[400],f:"handwriting"},{n:"Delius Swash Caps",v:[400],f:"handwriting"},{n:"Delius Unicase",v:[400,700],f:"handwriting"},{n:"Della Respira",v:[400],f:"serif"},{n:"Denk One",v:[400],f:"sans-serif"},{n:"Devonshire",v:[400],f:"handwriting"},{n:"Dhurjati",v:[400],f:"sans-serif"},{n:"Didact Gothic",v:[400],f:"sans-serif"},{n:"Diplomata",v:[400],f:"display"},{n:"Diplomata SC",v:[400],f:"display"},{n:"Do Hyeon",v:[400],f:"sans-serif"},{n:"Dokdo",v:[400],f:"handwriting"},{n:"Domine",v:[400,500,600,700],f:"serif"},{n:"Donegal One",v:[400],f:"serif"},{n:"Dongle",v:["300",400,700],f:"sans-serif"},{n:"Doppio One",v:[400],f:"sans-serif"},{n:"Dorsa",v:[400],f:"sans-serif"},{n:"Dosis",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"DotGothic16",v:[400],f:"sans-serif"},{n:"Dr Sugiyama",v:[400],f:"handwriting"},{n:"Duru Sans",v:[400],f:"sans-serif"},{n:"Dynalight",v:[400],f:"display"},{n:"Darumadrop One",v:[400],f:"display"},{n:"Delicious Handrawn",v:[400],f:"handwriting"},{n:"DynaPuff",v:[400,500,600,700],f:"display"},{n:"Edu NSW ACT Foundation",v:[400,500,600,700],f:"handwriting"},{n:"EB Garamond",v:[400,500,600,700,800,"400i","500i","600i","700i","800i"],f:"serif"},{n:"Eagle Lake",v:[400],f:"handwriting"},{n:"East Sea Dokdo",v:[400],f:"handwriting"},{n:"Eater",v:[400],f:"display"},{n:"Economica",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Eczar",v:[400,500,600,700,800],f:"serif"},{n:"El Messiri",v:[400,500,600,700],f:"sans-serif"},{n:"Electrolize",v:[400],f:"sans-serif"},{n:"Elsie",v:[400,900],f:"display"},{n:"Elsie Swash Caps",v:[400,900],f:"display"},{n:"Emblema One",v:[400],f:"display"},{n:"Emilys Candy",v:[400],f:"display"},{n:"Encode Sans",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Encode Sans Condensed",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Encode Sans Expanded",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Encode Sans SC",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Encode Sans Semi Condensed",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Encode Sans Semi Expanded",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Engagement",v:[400],f:"handwriting"},{n:"Englebert",v:[400],f:"sans-serif"},{n:"Enriqueta",v:[400,500,600,700],f:"serif"},{n:"Ephesis",v:[400],f:"handwriting"},{n:"Epilogue",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Erica One",v:[400],f:"display"},{n:"Esteban",v:[400],f:"serif"},{n:"Estonia",v:[400],f:"handwriting"},{n:"Euphoria Script",v:[400],f:"handwriting"},{n:"Ewert",v:[400],f:"display"},{n:"Exo",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Exo 2",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Expletus Sans",v:[400,500,600,700,"400i","500i","600i","700i"],f:"display"},{n:"Explora",v:[400],f:"handwriting"},{n:"Edu QLD Beginner",v:[400,500,600,700],f:"handwriting"},{n:"Edu SA Beginner",v:[400,500,600,700],f:"handwriting"},{n:"Edu TAS Beginner",v:[400,500,600,700],f:"handwriting"},{n:"Edu VIC WA NT Beginner",v:[400,500,600,700],f:"handwriting"},{n:"Fahkwang",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"Familjen Grotesk",v:[400,500,600,700,"400i","500i","600i","700i"],f:"sans-serif"},{n:"Fanwood Text",v:[400,"400i"],f:"serif"},{n:"Farro",v:["300",400,500,700],f:"sans-serif"},{n:"Farsan",v:[400],f:"display"},{n:"Fascinate",v:[400],f:"display"},{n:"Fascinate Inline",v:[400],f:"display"},{n:"Faster One",v:[400],f:"display"},{n:"Fasthand",v:[400],f:"display"},{n:"Fauna One",v:[400],f:"serif"},{n:"Faustina",v:["300",400,500,600,700,800,"300i","400i","500i","600i","700i","800i"],f:"serif"},{n:"Federant",v:[400],f:"display"},{n:"Federo",v:[400],f:"sans-serif"},{n:"Felipa",v:[400],f:"handwriting"},{n:"Fenix",v:[400],f:"serif"},{n:"Festive",v:[400],f:"handwriting"},{n:"Finger Paint",v:[400],f:"display"},{n:"Fira Code",v:["300",400,500,600,700],f:"monospace"},{n:"Fira Mono",v:[400,500,700],f:"monospace"},{n:"Fira Sans",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Fira Sans Condensed",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Fira Sans Extra Condensed",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Fjalla One",v:[400],f:"sans-serif"},{n:"Fjord One",v:[400],f:"serif"},{n:"Flamenco",v:["300",400],f:"display"},{n:"Flavors",v:[400],f:"display"},{n:"Fleur De Leah",v:[400],f:"handwriting"},{n:"Flow Block",v:[400],f:"display"},{n:"Flow Circular",v:[400],f:"display"},{n:"Flow Rounded",v:[400],f:"display"},{n:"Fondamento",v:[400,"400i"],f:"handwriting"},{n:"Fontdiner Swanky",v:[400],f:"display"},{n:"Forum",v:[400],f:"display"},{n:"Francois One",v:[400],f:"sans-serif"},{n:"Frank Ruhl Libre",v:["300",400,500,600,700,800,900],f:"serif"},{n:"Fraunces",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Freckle Face",v:[400],f:"display"},{n:"Fredericka the Great",v:[400],f:"display"},{n:"Fredoka",v:["300",400,500,600,700],f:"sans-serif"},{n:"Freehand",v:[400],f:"display"},{n:"Fresca",v:[400],f:"sans-serif"},{n:"Frijole",v:[400],f:"display"},{n:"Fruktur",v:[400,"400i"],f:"display"},{n:"Fugaz One",v:[400],f:"display"},{n:"Fuggles",v:[400],f:"handwriting"},{n:"Fuzzy Bubbles",v:[400,700],f:"handwriting"},{n:"Figtree",v:[300,400,500,600,700,800,900,"300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Finlandica",v:[400,500,600,700,"400i","500i","600i","700i"],f:"sans-serif"},{n:"Foldit",v:[100,200,300,400,500,600,700,800,900],f:"display"},{n:"Fragment Mono",v:[400,"400i"],f:"monospace"},{n:"GFS Didot",v:[400],f:"serif"},{n:"GFS Neohellenic",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Gabriela",v:[400],f:"serif"},{n:"Gaegu",v:["300",400,700],f:"handwriting"},{n:"Gafata",v:[400],f:"sans-serif"},{n:"Galada",v:[400],f:"display"},{n:"Galdeano",v:[400],f:"sans-serif"},{n:"Galindo",v:[400],f:"display"},{n:"Gamja Flower",v:[400],f:"handwriting"},{n:"Gayathri",v:["100",400,700],f:"sans-serif"},{n:"Gelasio",v:[400,"400i",500,"500i",600,"600i",700,"700i"],f:"serif"},{n:"Gemunu Libre",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Genos",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Geo",v:[400,"400i"],f:"sans-serif"},{n:"Georama",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Geostar",v:[400],f:"display"},{n:"Geostar Fill",v:[400],f:"display"},{n:"Germania One",v:[400],f:"display"},{n:"Gideon Roman",v:[400],f:"display"},{n:"Gidugu",v:[400],f:"sans-serif"},{n:"Gilda Display",v:[400],f:"serif"},{n:"Girassol",v:[400],f:"display"},{n:"Give You Glory",v:[400],f:"handwriting"},{n:"Glass Antiqua",v:[400],f:"display"},{n:"Glegoo",v:[400,700],f:"serif"},{n:"Gloria Hallelujah",v:[400],f:"handwriting"},{n:"Glory",v:["100","200","300",400,500,600,700,800,"100i","200i","300i","400i","500i","600i","700i","800i"],f:"sans-serif"},{n:"Gluten",v:["100","200","300",400,500,600,700,800,900],f:"display"},{n:"Goblin One",v:[400],f:"display"},{n:"Gochi Hand",v:[400],f:"handwriting"},{n:"Goldman",v:[400,700],f:"display"},{n:"Gorditas",v:[400,700],f:"display"},{n:"Gothic A1",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Gotu",v:[400],f:"sans-serif"},{n:"Goudy Bookletter 1911",v:[400],f:"serif"},{n:"Gowun Batang",v:[400,700],f:"serif"},{n:"Gowun Dodum",v:[400],f:"sans-serif"},{n:"Graduate",v:[400],f:"display"},{n:"Grand Hotel",v:[400],f:"handwriting"},{n:"Grandstander",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"display"},{n:"Grape Nuts",v:[400],f:"handwriting"},{n:"Gravitas One",v:[400],f:"display"},{n:"Great Vibes",v:[400],f:"handwriting"},{n:"Grechen Fuemen",v:[400],f:"handwriting"},{n:"Grenze",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"serif"},{n:"Grenze Gotisch",v:["100","200","300",400,500,600,700,800,900],f:"display"},{n:"Grey Qo",v:[400],f:"handwriting"},{n:"Griffy",v:[400],f:"display"},{n:"Gruppo",v:[400],f:"sans-serif"},{n:"Gudea",v:[400,"400i",700],f:"sans-serif"},{n:"Gugi",v:[400],f:"display"},{n:"Gupter",v:[400,500,700],f:"serif"},{n:"Gurajada",v:[400],f:"serif"},{n:"Gwendolyn",v:[400,700],f:"handwriting"},{n:"Gajraj One",v:[400],f:"display"},{n:"Gantari",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Gloock",v:[400],f:"serif"},{n:"Golos Text",v:[400,500,600,700,800,900],f:"sans-serif"},{n:"Gulzar",v:[400],f:"serif"},{n:"Gentium Book Plus",v:[400,"400i",700,"700i"],f:"serif"},{n:"Gentium Plus",v:[400,"400i",700,"700i"],f:"serif"},{n:"Habibi",v:[400],f:"serif"},{n:"Hachi Maru Pop",v:[400],f:"handwriting"},{n:"Hahmlet",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Halant",v:["300",400,500,600,700],f:"serif"},{n:"Hammersmith One",v:[400],f:"sans-serif"},{n:"Hanalei",v:[400],f:"display"},{n:"Hanalei Fill",v:[400],f:"display"},{n:"Handlee",v:[400],f:"handwriting"},{n:"Hanuman",v:["100","300",400,700,900],f:"serif"},{n:"Happy Monkey",v:[400],f:"display"},{n:"Harmattan",v:[400,500,600,700],f:"sans-serif"},{n:"Headland One",v:[400],f:"serif"},{n:"Heebo",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Henny Penny",v:[400],f:"display"},{n:"Hepta Slab",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Herr Von Muellerhoff",v:[400],f:"handwriting"},{n:"Hi Melody",v:[400],f:"handwriting"},{n:"Hina Mincho",v:[400],f:"serif"},{n:"Hind",v:["300",400,500,600,700],f:"sans-serif"},{n:"Hind Guntur",v:["300",400,500,600,700],f:"sans-serif"},{n:"Hind Madurai",v:["300",400,500,600,700],f:"sans-serif"},{n:"Hind Siliguri",v:["300",400,500,600,700],f:"sans-serif"},{n:"Hind Vadodara",v:["300",400,500,600,700],f:"sans-serif"},{n:"Holtwood One SC",v:[400],f:"serif"},{n:"Homemade Apple",v:[400],f:"handwriting"},{n:"Homenaje",v:[400],f:"sans-serif"},{n:"Hubballi",v:[400],f:"display"},{n:"Hurricane",v:[400],f:"handwriting"},{n:"Hanken Grotesk",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"IBM Plex Mono",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"monospace"},{n:"IBM Plex Sans",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"IBM Plex Sans Arabic",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"IBM Plex Sans Condensed",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"IBM Plex Sans Devanagari",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"IBM Plex Sans Hebrew",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"IBM Plex Sans KR",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"IBM Plex Sans Thai",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"IBM Plex Sans Thai Looped",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"IBM Plex Serif",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"serif"},{n:"IM Fell DW Pica",v:[400,"400i"],f:"serif"},{n:"IM Fell DW Pica SC",v:[400],f:"serif"},{n:"IM Fell Double Pica",v:[400,"400i"],f:"serif"},{n:"IM Fell Double Pica SC",v:[400],f:"serif"},{n:"IM Fell English",v:[400,"400i"],f:"serif"},{n:"IM Fell English SC",v:[400],f:"serif"},{n:"IM Fell French Canon",v:[400,"400i"],f:"serif"},{n:"IM Fell French Canon SC",v:[400],f:"serif"},{n:"IM Fell Great Primer",v:[400,"400i"],f:"serif"},{n:"IM Fell Great Primer SC",v:[400],f:"serif"},{n:"Ibarra Real Nova",v:[400,500,600,700,"400i","500i","600i","700i"],f:"serif"},{n:"Iceberg",v:[400],f:"display"},{n:"Iceland",v:[400],f:"display"},{n:"Imbue",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Imperial Script",v:[400],f:"handwriting"},{n:"Imprima",v:[400],f:"sans-serif"},{n:"Inconsolata",v:["200","300",400,500,600,700,800,900],f:"monospace"},{n:"Inder",v:[400],f:"sans-serif"},{n:"Indie Flower",v:[400],f:"handwriting"},{n:"Ingrid Darling",v:[400],f:"handwriting"},{n:"Inika",v:[400,700],f:"serif"},{n:"Inknut Antiqua",v:["300",400,500,600,700,800,900],f:"serif"},{n:"Inria Sans",v:["300","300i",400,"400i",700,"700i"],f:"sans-serif"},{n:"Inria Serif",v:["300","300i",400,"400i",700,"700i"],f:"serif"},{n:"Inspiration",v:[400],f:"handwriting"},{n:"Inter",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Irish Grover",v:[400],f:"display"},{n:"Island Moments",v:[400],f:"handwriting"},{n:"Istok Web",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Italiana",v:[400],f:"serif"},{n:"Italianno",v:[400],f:"handwriting"},{n:"Itim",v:[400],f:"handwriting"},{n:"IBM Plex Sans JP",v:[100,200,300,400,500,600,700],f:"sans-serif"},{n:"Instrument Sans",v:[400,500,600,700,"400i","500i","600i","700i"],f:"sans-serif"},{n:"Instrument Serif",v:[400,"400i"],f:"serif"},{n:"Inter Tight",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Jacques Francois",v:[400],f:"serif"},{n:"Jacques Francois Shadow",v:[400],f:"display"},{n:"Jaldi",v:[400,700],f:"sans-serif"},{n:"JetBrains Mono",v:["100","200","300",400,500,600,700,800,"100i","200i","300i","400i","500i","600i","700i","800i"],f:"monospace"},{n:"Jim Nightshade",v:[400],f:"handwriting"},{n:"Jockey One",v:[400],f:"sans-serif"},{n:"Jolly Lodger",v:[400],f:"display"},{n:"Jomhuria",v:[400],f:"display"},{n:"Jomolhari",v:[400],f:"serif"},{n:"Josefin Sans",v:["100","200","300",400,500,600,700,"100i","200i","300i","400i","500i","600i","700i"],f:"sans-serif"},{n:"Josefin Slab",v:["100","200","300",400,500,600,700,"100i","200i","300i","400i","500i","600i","700i"],f:"serif"},{n:"Jost",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Joti One",v:[400],f:"display"},{n:"Jua",v:[400],f:"sans-serif"},{n:"Judson",v:[400,"400i",700],f:"serif"},{n:"Julee",v:[400],f:"handwriting"},{n:"Julius Sans One",v:[400],f:"sans-serif"},{n:"Junge",v:[400],f:"serif"},{n:"Jura",v:["300",400,500,600,700],f:"sans-serif"},{n:"Just Another Hand",v:[400],f:"handwriting"},{n:"Just Me Again Down Here",v:[400],f:"handwriting"},{n:"K2D",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i"],f:"sans-serif"},{n:"Joan",v:[400],f:"serif"},{n:"Kadwa",v:[400,700],f:"serif"},{n:"Kaisei Decol",v:[400,500,700],f:"serif"},{n:"Kaisei HarunoUmi",v:[400,500,700],f:"serif"},{n:"Kaisei Opti",v:[400,500,700],f:"serif"},{n:"Kaisei Tokumin",v:[400,500,700,800],f:"serif"},{n:"Kalam",v:["300",400,700],f:"handwriting"},{n:"Kameron",v:[400,700],f:"serif"},{n:"Kanit",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Karantina",v:["300",400,700],f:"display"},{n:"Karla",v:["200","300",400,500,600,700,800,"200i","300i","400i","500i","600i","700i","800i"],f:"sans-serif"},{n:"Karma",v:["300",400,500,600,700],f:"serif"},{n:"Katibeh",v:[400],f:"display"},{n:"Kaushan Script",v:[400],f:"handwriting"},{n:"Kavivanar",v:[400],f:"handwriting"},{n:"Kavoon",v:[400],f:"display"},{n:"Keania One",v:[400],f:"display"},{n:"Kelly Slab",v:[400],f:"display"},{n:"Kenia",v:[400],f:"display"},{n:"Khand",v:["300",400,500,600,700],f:"sans-serif"},{n:"Khmer",v:[400],f:"display"},{n:"Khula",v:["300",400,600,700,800],f:"sans-serif"},{n:"Kings",v:[400],f:"handwriting"},{n:"Kirang Haerang",v:[400],f:"display"},{n:"Kite One",v:[400],f:"sans-serif"},{n:"Kiwi Maru",v:["300",400,500],f:"serif"},{n:"Klee One",v:[400,600],f:"handwriting"},{n:"Knewave",v:[400],f:"display"},{n:"KoHo",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"Kodchasan",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"Koh Santepheap",v:["100","300",400,700,900],f:"display"},{n:"Kolker Brush",v:[400],f:"handwriting"},{n:"Kosugi",v:[400],f:"sans-serif"},{n:"Kosugi Maru",v:[400],f:"sans-serif"},{n:"Kotta One",v:[400],f:"serif"},{n:"Koulen",v:[400],f:"display"},{n:"Kranky",v:[400],f:"display"},{n:"Kreon",v:["300",400,500,600,700],f:"serif"},{n:"Kristi",v:[400],f:"handwriting"},{n:"Krona One",v:[400],f:"sans-serif"},{n:"Krub",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"Kufam",v:[400,500,600,700,800,900,"400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Kulim Park",v:["200","200i","300","300i",400,"400i",600,"600i",700,"700i"],f:"sans-serif"},{n:"Kumar One",v:[400],f:"display"},{n:"Kumar One Outline",v:[400],f:"display"},{n:"Kumbh Sans",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Kurale",v:[400],f:"serif"},{n:"Kantumruy Pro",v:[100,200,300,400,500,600,700,"100i","200i","300i","400i","500i","600i","700i"],f:"sans-serif"},{n:"Kdam Thmor Pro",v:[400],f:"sans-serif"},{n:"Konkhmer Sleokchher",v:[400],f:"display"},{n:"La Belle Aurore",v:[400],f:"handwriting"},{n:"Lacquer",v:[400],f:"display"},{n:"Laila",v:["300",400,500,600,700],f:"sans-serif"},{n:"Lakki Reddy",v:[400],f:"handwriting"},{n:"Lalezar",v:[400],f:"display"},{n:"Lancelot",v:[400],f:"display"},{n:"Langar",v:[400],f:"display"},{n:"Lateef",v:[200,300,400,500,600,700,800],f:"handwriting"},{n:"Lato",v:["100","100i","300","300i",400,"400i",700,"700i",900,"900i"],f:"sans-serif"},{n:"Lavishly Yours",v:[400],f:"handwriting"},{n:"League Gothic",v:[400],f:"sans-serif"},{n:"League Script",v:[400],f:"handwriting"},{n:"League Spartan",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Leckerli One",v:[400],f:"handwriting"},{n:"Ledger",v:[400],f:"serif"},{n:"Lekton",v:[400,"400i",700],f:"sans-serif"},{n:"Lemon",v:[400],f:"display"},{n:"Lemonada",v:["300",400,500,600,700],f:"display"},{n:"Lexend",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Lexend Deca",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Lexend Exa",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Lexend Giga",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Lexend Mega",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Lexend Peta",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Lexend Tera",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Lexend Zetta",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Libre Barcode 128",v:[400],f:"display"},{n:"Libre Barcode 128 Text",v:[400],f:"display"},{n:"Libre Barcode 39",v:[400],f:"display"},{n:"Libre Barcode 39 Extended",v:[400],f:"display"},{n:"Libre Barcode 39 Extended Text",v:[400],f:"display"},{n:"Libre Barcode 39 Text",v:[400],f:"display"},{n:"Libre Barcode EAN13 Text",v:[400],f:"display"},{n:"Libre Baskerville",v:[400,"400i",700],f:"serif"},{n:"Libre Bodoni",v:[400,500,600,700,"400i","500i","600i","700i"],f:"serif"},{n:"Libre Caslon Display",v:[400],f:"serif"},{n:"Libre Caslon Text",v:[400,"400i",700],f:"serif"},{n:"Libre Franklin",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Licorice",v:[400],f:"handwriting"},{n:"Life Savers",v:[400,700,800],f:"display"},{n:"Lilita One",v:[400],f:"display"},{n:"Lily Script One",v:[400],f:"display"},{n:"Limelight",v:[400],f:"display"},{n:"Linden Hill",v:[400,"400i"],f:"serif"},{n:"Literata",v:["200","300",400,500,600,700,800,900,"200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Liu Jian Mao Cao",v:[400],f:"handwriting"},{n:"Livvic",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",900,"900i"],f:"sans-serif"},{n:"Lobster",v:[400],f:"display"},{n:"Lobster Two",v:[400,"400i",700,"700i"],f:"display"},{n:"Londrina Outline",v:[400],f:"display"},{n:"Londrina Shadow",v:[400],f:"display"},{n:"Londrina Sketch",v:[400],f:"display"},{n:"Londrina Solid",v:["100","300",400,900],f:"display"},{n:"Long Cang",v:[400],f:"handwriting"},{n:"Lora",v:[400,500,600,700,"400i","500i","600i","700i"],f:"serif"},{n:"Love Light",v:[400],f:"handwriting"},{n:"Love Ya Like A Sister",v:[400],f:"display"},{n:"Loved by the King",v:[400],f:"handwriting"},{n:"Lovers Quarrel",v:[400],f:"handwriting"},{n:"Luckiest Guy",v:[400],f:"display"},{n:"Lusitana",v:[400,700],f:"serif"},{n:"Lustria",v:[400],f:"serif"},{n:"Luxurious Roman",v:[400],f:"display"},{n:"Luxurious Script",v:[400],f:"handwriting"},{n:"Labrada",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"M PLUS 1",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"M PLUS 1 Code",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"M PLUS 1p",v:["100","300",400,500,700,800,900],f:"sans-serif"},{n:"M PLUS 2",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"M PLUS Code Latin",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"M PLUS Rounded 1c",v:["100","300",400,500,700,800,900],f:"sans-serif"},{n:"Ma Shan Zheng",v:[400],f:"handwriting"},{n:"Macondo",v:[400],f:"display"},{n:"Macondo Swash Caps",v:[400],f:"display"},{n:"Mada",v:["200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Magra",v:[400,700],f:"sans-serif"},{n:"Maiden Orange",v:[400],f:"display"},{n:"Maitree",v:["200","300",400,500,600,700],f:"serif"},{n:"Major Mono Display",v:[400],f:"monospace"},{n:"Mako",v:[400],f:"sans-serif"},{n:"Mali",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"handwriting"},{n:"Mallanna",v:[400],f:"sans-serif"},{n:"Mandali",v:[400],f:"sans-serif"},{n:"Manjari",v:["100",400,700],f:"sans-serif"},{n:"Manrope",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Mansalva",v:[400],f:"handwriting"},{n:"Manuale",v:["300",400,500,600,700,800,"300i","400i","500i","600i","700i","800i"],f:"serif"},{n:"Marcellus",v:[400],f:"serif"},{n:"Marcellus SC",v:[400],f:"serif"},{n:"Marck Script",v:[400],f:"handwriting"},{n:"Margarine",v:[400],f:"display"},{n:"Markazi Text",v:[400,500,600,700],f:"serif"},{n:"Marko One",v:[400],f:"serif"},{n:"Marmelad",v:[400],f:"sans-serif"},{n:"Martel",v:["200","300",400,600,700,800,900],f:"serif"},{n:"Martel Sans",v:["200","300",400,600,700,800,900],f:"sans-serif"},{n:"Marvel",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Mate",v:[400,"400i"],f:"serif"},{n:"Mate SC",v:[400],f:"serif"},{n:"Maven Pro",v:[400,500,600,700,800,900],f:"sans-serif"},{n:"McLaren",v:[400],f:"display"},{n:"Mea Culpa",v:[400],f:"handwriting"},{n:"Meddon",v:[400],f:"handwriting"},{n:"MedievalSharp",v:[400],f:"display"},{n:"Medula One",v:[400],f:"display"},{n:"Meera Inimai",v:[400],f:"sans-serif"},{n:"Megrim",v:[400],f:"display"},{n:"Meie Script",v:[400],f:"handwriting"},{n:"Meow Script",v:[400],f:"handwriting"},{n:"Merienda",v:[300,400,500,600,700,800,900],f:"handwriting"},{n:"Merriweather",v:["300","300i",400,"400i",700,"700i",900,"900i"],f:"serif"},{n:"Merriweather Sans",v:["300",400,500,600,700,800,"300i","400i","500i","600i","700i","800i"],f:"sans-serif"},{n:"Metal",v:[400],f:"display"},{n:"Metal Mania",v:[400],f:"display"},{n:"Metamorphous",v:[400],f:"display"},{n:"Metrophobic",v:[400],f:"sans-serif"},{n:"Michroma",v:[400],f:"sans-serif"},{n:"Milonga",v:[400],f:"display"},{n:"Miltonian",v:[400],f:"display"},{n:"Miltonian Tattoo",v:[400],f:"display"},{n:"Mina",v:[400,700],f:"sans-serif"},{n:"Miniver",v:[400],f:"display"},{n:"Miriam Libre",v:[400,700],f:"sans-serif"},{n:"Mirza",v:[400,500,600,700],f:"display"},{n:"Miss Fajardose",v:[400],f:"handwriting"},{n:"Mitr",v:["200","300",400,500,600,700],f:"sans-serif"},{n:"Mochiy Pop One",v:[400],f:"sans-serif"},{n:"Mochiy Pop P One",v:[400],f:"sans-serif"},{n:"Modak",v:[400],f:"display"},{n:"Modern Antiqua",v:[400],f:"display"},{n:"Mogra",v:[400],f:"display"},{n:"Mohave",v:["300",400,500,600,700,"300i","400i","500i","600i","700i"],f:"sans-serif"},{n:"Molengo",v:[400],f:"sans-serif"},{n:"Molle",v:["400i"],f:"handwriting"},{n:"Monda",v:[400,700],f:"sans-serif"},{n:"Monofett",v:[400],f:"monospace"},{n:"Monoton",v:[400],f:"display"},{n:"Monsieur La Doulaise",v:[400],f:"handwriting"},{n:"Montaga",v:[400],f:"serif"},{n:"Montagu Slab",v:["100","200","300",400,500,600,700],f:"serif"},{n:"MonteCarlo",v:[400],f:"handwriting"},{n:"Montez",v:[400],f:"handwriting"},{n:"Montserrat",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Montserrat Alternates",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Montserrat Subrayada",v:[400,700],f:"sans-serif"},{n:"Moo Lah Lah",v:[400],f:"display"},{n:"Moon Dance",v:[400],f:"handwriting"},{n:"Moul",v:[400],f:"display"},{n:"Moulpali",v:[400],f:"display"},{n:"Mountains of Christmas",v:[400,700],f:"display"},{n:"Mouse Memoirs",v:[400],f:"sans-serif"},{n:"Mr Bedfort",v:[400],f:"handwriting"},{n:"Mr Dafoe",v:[400],f:"handwriting"},{n:"Mr De Haviland",v:[400],f:"handwriting"},{n:"Mrs Saint Delafield",v:[400],f:"handwriting"},{n:"Mrs Sheppards",v:[400],f:"handwriting"},{n:"Ms Madi",v:[400],f:"handwriting"},{n:"Mukta",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Mukta Mahee",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Mukta Malar",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Mukta Vaani",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Mulish",v:["200","300",400,500,600,700,800,900,"200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Murecho",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"MuseoModerno",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"display"},{n:"My Soul",v:[400],f:"handwriting"},{n:"Mystery Quest",v:[400],f:"display"},{n:"Marhey",v:[300,400,500,600,700],f:"display"},{n:"Martian Mono",v:[100,200,300,400,500,600,700,800],f:"monospace"},{n:"Material Icons",v:[400],f:"monospace"},{n:"Material Icons Outlined",v:[400],f:"monospace"},{n:"Material Icons Round",v:[400],f:"monospace"},{n:"Material Icons Sharp",v:[400],f:"monospace"},{n:"Material Icons Two Tone",v:[400],f:"monospace"},{n:"Material Symbols Outlined",v:[100,200,300,400,500,600,700],f:"monospace"},{n:"Material Symbols Rounded",v:[100,200,300,400,500,600,700],f:"monospace"},{n:"Material Symbols Sharp",v:[100,200,300,400,500,600,700],f:"monospace"},{n:"Mingzat",v:[400],f:"sans-serif"},{n:"Monomaniac One",v:[400],f:"sans-serif"},{n:"Mynerve",v:[400],f:"handwriting"},{n:"NTR",v:[400],f:"sans-serif"},{n:"Nanum Brush Script",v:[400],f:"handwriting"},{n:"Nanum Gothic",v:[400,700,800],f:"sans-serif"},{n:"Nanum Gothic Coding",v:[400,700],f:"monospace"},{n:"Nanum Myeongjo",v:[400,700,800],f:"serif"},{n:"Nanum Pen Script",v:[400],f:"handwriting"},{n:"Neonderthaw",v:[400],f:"handwriting"},{n:"Nerko One",v:[400],f:"handwriting"},{n:"Neucha",v:[400],f:"handwriting"},{n:"Neuton",v:["200","300",400,"400i",700,800],f:"serif"},{n:"New Rocker",v:[400],f:"display"},{n:"New Tegomin",v:[400],f:"serif"},{n:"News Cycle",v:[400,700],f:"sans-serif"},{n:"Newsreader",v:["200","300",400,500,600,700,800,"200i","300i","400i","500i","600i","700i","800i"],f:"serif"},{n:"Niconne",v:[400],f:"handwriting"},{n:"Niramit",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"sans-serif"},{n:"Nixie One",v:[400],f:"display"},{n:"Nobile",v:[400,"400i",500,"500i",700,"700i"],f:"sans-serif"},{n:"Nokora",v:["100","300",400,700,900],f:"sans-serif"},{n:"Norican",v:[400],f:"handwriting"},{n:"Nosifer",v:[400],f:"display"},{n:"Notable",v:[400],f:"sans-serif"},{n:"Nothing You Could Do",v:[400],f:"handwriting"},{n:"Noticia Text",v:[400,"400i",700,"700i"],f:"serif"},{n:"Noto Emoji",v:["300",400,500,600,700],f:"sans-serif"},{n:"Noto Kufi Arabic",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Music",v:[400],f:"sans-serif"},{n:"Noto Naskh Arabic",v:[400,500,600,700],f:"serif"},{n:"Noto Nastaliq Urdu",v:[400,500,600,700],f:"serif"},{n:"Noto Rashi Hebrew",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Sans",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Noto Sans Adlam",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Adlam Unjoined",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Anatolian Hieroglyphs",v:[400],f:"sans-serif"},{n:"Noto Sans Arabic",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Armenian",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Avestan",v:[400],f:"sans-serif"},{n:"Noto Sans Balinese",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Bamum",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Bassa Vah",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Batak",v:[400],f:"sans-serif"},{n:"Noto Sans Bengali",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Bhaiksuki",v:[400],f:"sans-serif"},{n:"Noto Sans Brahmi",v:[400],f:"sans-serif"},{n:"Noto Sans Buginese",v:[400],f:"sans-serif"},{n:"Noto Sans Buhid",v:[400],f:"sans-serif"},{n:"Noto Sans Canadian Aboriginal",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Carian",v:[400],f:"sans-serif"},{n:"Noto Sans Caucasian Albanian",v:[400],f:"sans-serif"},{n:"Noto Sans Chakma",v:[400],f:"sans-serif"},{n:"Noto Sans Cham",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Cherokee",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Coptic",v:[400],f:"sans-serif"},{n:"Noto Sans Cuneiform",v:[400],f:"sans-serif"},{n:"Noto Sans Cypriot",v:[400],f:"sans-serif"},{n:"Noto Sans Deseret",v:[400],f:"sans-serif"},{n:"Noto Sans Devanagari",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Display",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Noto Sans Duployan",v:[400],f:"sans-serif"},{n:"Noto Sans Egyptian Hieroglyphs",v:[400],f:"sans-serif"},{n:"Noto Sans Elbasan",v:[400],f:"sans-serif"},{n:"Noto Sans Elymaic",v:[400],f:"sans-serif"},{n:"Noto Sans Georgian",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Glagolitic",v:[400],f:"sans-serif"},{n:"Noto Sans Gothic",v:[400],f:"sans-serif"},{n:"Noto Sans Grantha",v:[400],f:"sans-serif"},{n:"Noto Sans Gujarati",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Gunjala Gondi",v:[400],f:"sans-serif"},{n:"Noto Sans Gurmukhi",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans HK",v:["100","300",400,500,700,900],f:"sans-serif"},{n:"Noto Sans Hanifi Rohingya",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Hanunoo",v:[400],f:"sans-serif"},{n:"Noto Sans Hatran",v:[400],f:"sans-serif"},{n:"Noto Sans Hebrew",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Imperial Aramaic",v:[400],f:"sans-serif"},{n:"Noto Sans Indic Siyaq Numbers",v:[400],f:"sans-serif"},{n:"Noto Sans Inscriptional Pahlavi",v:[400],f:"sans-serif"},{n:"Noto Sans Inscriptional Parthian",v:[400],f:"sans-serif"},{n:"Noto Sans JP",v:[100,200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Javanese",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans KR",v:["100","300",400,500,700,900],f:"sans-serif"},{n:"Noto Sans Kaithi",v:[400],f:"sans-serif"},{n:"Noto Sans Kannada",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Kayah Li",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Kharoshthi",v:[400],f:"sans-serif"},{n:"Noto Sans Khmer",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Khojki",v:[400],f:"sans-serif"},{n:"Noto Sans Khudawadi",v:[400],f:"sans-serif"},{n:"Noto Sans Lao",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Lepcha",v:[400],f:"sans-serif"},{n:"Noto Sans Limbu",v:[400],f:"sans-serif"},{n:"Noto Sans Linear A",v:[400],f:"sans-serif"},{n:"Noto Sans Linear B",v:[400],f:"sans-serif"},{n:"Noto Sans Lisu",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Lycian",v:[400],f:"sans-serif"},{n:"Noto Sans Lydian",v:[400],f:"sans-serif"},{n:"Noto Sans Mahajani",v:[400],f:"sans-serif"},{n:"Noto Sans Malayalam",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Mandaic",v:[400],f:"sans-serif"},{n:"Noto Sans Manichaean",v:[400],f:"sans-serif"},{n:"Noto Sans Marchen",v:[400],f:"sans-serif"},{n:"Noto Sans Masaram Gondi",v:[400],f:"sans-serif"},{n:"Noto Sans Math",v:[400],f:"sans-serif"},{n:"Noto Sans Mayan Numerals",v:[400],f:"sans-serif"},{n:"Noto Sans Medefaidrin",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Meetei Mayek",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Meroitic",v:[400],f:"sans-serif"},{n:"Noto Sans Miao",v:[400],f:"sans-serif"},{n:"Noto Sans Modi",v:[400],f:"sans-serif"},{n:"Noto Sans Mongolian",v:[400],f:"sans-serif"},{n:"Noto Sans Mono",v:["100","200","300",400,500,600,700,800,900],f:"monospace"},{n:"Noto Sans Mro",v:[400],f:"sans-serif"},{n:"Noto Sans Multani",v:[400],f:"sans-serif"},{n:"Noto Sans Myanmar",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans NKo",v:[400],f:"sans-serif"},{n:"Noto Sans Nabataean",v:[400],f:"sans-serif"},{n:"Noto Sans New Tai Lue",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Newa",v:[400],f:"sans-serif"},{n:"Noto Sans Nushu",v:[400],f:"sans-serif"},{n:"Noto Sans Ogham",v:[400],f:"sans-serif"},{n:"Noto Sans Ol Chiki",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Old Hungarian",v:[400],f:"sans-serif"},{n:"Noto Sans Old Italic",v:[400],f:"sans-serif"},{n:"Noto Sans Old North Arabian",v:[400],f:"sans-serif"},{n:"Noto Sans Old Permic",v:[400],f:"sans-serif"},{n:"Noto Sans Old Persian",v:[400],f:"sans-serif"},{n:"Noto Sans Old Sogdian",v:[400],f:"sans-serif"},{n:"Noto Sans Old South Arabian",v:[400],f:"sans-serif"},{n:"Noto Sans Old Turkic",v:[400],f:"sans-serif"},{n:"Noto Sans Oriya",v:[100,200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Osage",v:[400],f:"sans-serif"},{n:"Noto Sans Osmanya",v:[400],f:"sans-serif"},{n:"Noto Sans Pahawh Hmong",v:[400],f:"sans-serif"},{n:"Noto Sans Palmyrene",v:[400],f:"sans-serif"},{n:"Noto Sans Pau Cin Hau",v:[400],f:"sans-serif"},{n:"Noto Sans Phags Pa",v:[400],f:"sans-serif"},{n:"Noto Sans Phoenician",v:[400],f:"sans-serif"},{n:"Noto Sans Psalter Pahlavi",v:[400],f:"sans-serif"},{n:"Noto Sans Rejang",v:[400],f:"sans-serif"},{n:"Noto Sans Runic",v:[400],f:"sans-serif"},{n:"Noto Sans SC",v:["100","300",400,500,700,900],f:"sans-serif"},{n:"Noto Sans Samaritan",v:[400],f:"sans-serif"},{n:"Noto Sans Saurashtra",v:[400],f:"sans-serif"},{n:"Noto Sans Sharada",v:[400],f:"sans-serif"},{n:"Noto Sans Shavian",v:[400],f:"sans-serif"},{n:"Noto Sans Siddham",v:[400],f:"sans-serif"},{n:"Noto Sans Sinhala",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Sogdian",v:[400],f:"sans-serif"},{n:"Noto Sans Sora Sompeng",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Soyombo",v:[400],f:"sans-serif"},{n:"Noto Sans Sundanese",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Syloti Nagri",v:[400],f:"sans-serif"},{n:"Noto Sans Symbols",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Symbols 2",v:[400],f:"sans-serif"},{n:"Noto Sans Syriac",v:[100,200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans TC",v:["100","300",400,500,700,900],f:"sans-serif"},{n:"Noto Sans Tagalog",v:[400],f:"sans-serif"},{n:"Noto Sans Tagbanwa",v:[400],f:"sans-serif"},{n:"Noto Sans Tai Le",v:[400],f:"sans-serif"},{n:"Noto Sans Tai Tham",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Tai Viet",v:[400],f:"sans-serif"},{n:"Noto Sans Takri",v:[400],f:"sans-serif"},{n:"Noto Sans Tamil",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Tamil Supplement",v:[400],f:"sans-serif"},{n:"Noto Sans Telugu",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Thaana",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Thai",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Thai Looped",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Tifinagh",v:[400],f:"sans-serif"},{n:"Noto Sans Tirhuta",v:[400],f:"sans-serif"},{n:"Noto Sans Ugaritic",v:[400],f:"sans-serif"},{n:"Noto Sans Vai",v:[400],f:"sans-serif"},{n:"Noto Sans Wancho",v:[400],f:"sans-serif"},{n:"Noto Sans Warang Citi",v:[400],f:"sans-serif"},{n:"Noto Sans Yi",v:[400],f:"sans-serif"},{n:"Noto Sans Zanabazar Square",v:[400],f:"sans-serif"},{n:"Noto Serif",v:[400,"400i",700,"700i"],f:"serif"},{n:"Noto Serif Ahom",v:[400],f:"serif"},{n:"Noto Serif Armenian",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Balinese",v:[400],f:"serif"},{n:"Noto Serif Bengali",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Devanagari",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Display",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Noto Serif Dogra",v:[400],f:"serif"},{n:"Noto Serif Ethiopic",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Georgian",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Grantha",v:[400],f:"serif"},{n:"Noto Serif Gujarati",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Gurmukhi",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Hebrew",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif JP",v:["200","300",400,500,600,700,900],f:"serif"},{n:"Noto Serif KR",v:["200","300",400,500,600,700,900],f:"serif"},{n:"Noto Serif Kannada",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Khmer",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Lao",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Malayalam",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Myanmar",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Nyiakeng Puachue Hmong",v:[400,500,600,700],f:"serif"},{n:"Noto Serif SC",v:["200","300",400,500,600,700,900],f:"serif"},{n:"Noto Serif Sinhala",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif TC",v:["200","300",400,500,600,700,900],f:"serif"},{n:"Noto Serif Tamil",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Noto Serif Tangut",v:[400],f:"serif"},{n:"Noto Serif Telugu",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Thai",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Tibetan",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Noto Serif Yezidi",v:[400,500,600,700],f:"serif"},{n:"Noto Traditional Nushu",v:[300,400,500,600,700],f:"sans-serif"},{n:"Nova Cut",v:[400],f:"display"},{n:"Nova Flat",v:[400],f:"display"},{n:"Nova Mono",v:[400],f:"monospace"},{n:"Nova Oval",v:[400],f:"display"},{n:"Nova Round",v:[400],f:"display"},{n:"Nova Script",v:[400],f:"display"},{n:"Nova Slim",v:[400],f:"display"},{n:"Nova Square",v:[400],f:"display"},{n:"Numans",v:[400],f:"sans-serif"},{n:"Nunito",v:["200","300",400,500,600,700,800,900,"200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Nunito Sans",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Nabla",v:[400],f:"display"},{n:"Noto Color Emoji",v:[400],f:"sans-serif"},{n:"Noto Sans Chorasmian",v:[400],f:"sans-serif"},{n:"Noto Sans Ethiopic",v:[100,200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Lao Looped",v:[100,200,300,400,500,600,700,800,900],f:"sans-serif"},{n:"Noto Sans Mende Kikakui",v:[400],f:"sans-serif"},{n:"Noto Sans Nag Mundari",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Sans Nandinagari",v:[400],f:"sans-serif"},{n:"Noto Sans SignWriting",v:[400],f:"sans-serif"},{n:"Noto Sans Tangsa",v:[400,500,600,700],f:"sans-serif"},{n:"Noto Serif HK",v:[200,300,400,500,600,700,800,900],f:"serif"},{n:"Noto Serif NP Hmong",v:[400,500,600,700],f:"serif"},{n:"Noto Serif Oriya",v:[400,500,600,700],f:"serif"},{n:"Noto Serif Toto",v:[400,500,600,700],f:"serif"},{n:"Nuosu SIL",v:[400],f:"serif"},{n:"Odibee Sans",v:[400],f:"display"},{n:"Odor Mean Chey",v:[400],f:"serif"},{n:"Offside",v:[400],f:"display"},{n:"Oi",v:[400],f:"display"},{n:"Old Standard TT",v:[400,"400i",700],f:"serif"},{n:"Oldenburg",v:[400],f:"display"},{n:"Ole",v:[400],f:"handwriting"},{n:"Oleo Script",v:[400,700],f:"display"},{n:"Oleo Script Swash Caps",v:[400,700],f:"display"},{n:"Oooh Baby",v:[400],f:"handwriting"},{n:"Open Sans",v:["300",400,500,600,700,800,"300i","400i","500i","600i","700i","800i"],f:"sans-serif"},{n:"Oranienbaum",v:[400],f:"serif"},{n:"Orbitron",v:[400,500,600,700,800,900],f:"sans-serif"},{n:"Oregano",v:[400,"400i"],f:"display"},{n:"Orelega One",v:[400],f:"display"},{n:"Orienta",v:[400],f:"sans-serif"},{n:"Original Surfer",v:[400],f:"display"},{n:"Oswald",v:["200","300",400,500,600,700],f:"sans-serif"},{n:"Outfit",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Over the Rainbow",v:[400],f:"handwriting"},{n:"Overlock",v:[400,"400i",700,"700i",900,"900i"],f:"display"},{n:"Overlock SC",v:[400],f:"display"},{n:"Overpass",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Overpass Mono",v:["300",400,500,600,700],f:"monospace"},{n:"Ovo",v:[400],f:"serif"},{n:"Oxanium",v:["200","300",400,500,600,700,800],f:"display"},{n:"Oxygen",v:["300",400,700],f:"sans-serif"},{n:"Oxygen Mono",v:[400],f:"monospace"},{n:"PT Mono",v:[400],f:"monospace"},{n:"PT Sans",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"PT Sans Caption",v:[400,700],f:"sans-serif"},{n:"PT Sans Narrow",v:[400,700],f:"sans-serif"},{n:"PT Serif",v:[400,"400i",700,"700i"],f:"serif"},{n:"PT Serif Caption",v:[400,"400i"],f:"serif"},{n:"Pacifico",v:[400],f:"handwriting"},{n:"Padauk",v:[400,700],f:"sans-serif"},{n:"Palanquin",v:["100","200","300",400,500,600,700],f:"sans-serif"},{n:"Palanquin Dark",v:[400,500,600,700],f:"sans-serif"},{n:"Pangolin",v:[400],f:"handwriting"},{n:"Paprika",v:[400],f:"display"},{n:"Parisienne",v:[400],f:"handwriting"},{n:"Passero One",v:[400],f:"display"},{n:"Passion One",v:[400,700,900],f:"display"},{n:"Passions Conflict",v:[400],f:"handwriting"},{n:"Pathway Gothic One",v:[400],f:"sans-serif"},{n:"Patrick Hand",v:[400],f:"handwriting"},{n:"Patrick Hand SC",v:[400],f:"handwriting"},{n:"Pattaya",v:[400],f:"sans-serif"},{n:"Patua One",v:[400],f:"display"},{n:"Pavanam",v:[400],f:"sans-serif"},{n:"Paytone One",v:[400],f:"sans-serif"},{n:"Peddana",v:[400],f:"serif"},{n:"Peralta",v:[400],f:"display"},{n:"Permanent Marker",v:[400],f:"handwriting"},{n:"Petemoss",v:[400],f:"handwriting"},{n:"Petit Formal Script",v:[400],f:"handwriting"},{n:"Petrona",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Philosopher",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Piazzolla",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Piedra",v:[400],f:"display"},{n:"Pinyon Script",v:[400],f:"handwriting"},{n:"Pirata One",v:[400],f:"display"},{n:"Plaster",v:[400],f:"display"},{n:"Play",v:[400,700],f:"sans-serif"},{n:"Playball",v:[400],f:"display"},{n:"Playfair Display",v:[400,500,600,700,800,900,"400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Playfair Display SC",v:[400,"400i",700,"700i",900,"900i"],f:"serif"},{n:"Plus Jakarta Sans",v:["200","300",400,500,600,700,800,"200i","300i","400i","500i","600i","700i","800i"],f:"sans-serif"},{n:"Podkova",v:[400,500,600,700,800],f:"serif"},{n:"Poiret One",v:[400],f:"display"},{n:"Poller One",v:[400],f:"display"},{n:"Poly",v:[400,"400i"],f:"serif"},{n:"Pompiere",v:[400],f:"display"},{n:"Pontano Sans",v:[300,400,500,600,700],f:"sans-serif"},{n:"Poor Story",v:[400],f:"display"},{n:"Poppins",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Port Lligat Sans",v:[400],f:"sans-serif"},{n:"Port Lligat Slab",v:[400],f:"serif"},{n:"Potta One",v:[400],f:"display"},{n:"Pragati Narrow",v:[400,700],f:"sans-serif"},{n:"Praise",v:[400],f:"handwriting"},{n:"Prata",v:[400],f:"serif"},{n:"Preahvihear",v:[400],f:"sans-serif"},{n:"Press Start 2P",v:[400],f:"display"},{n:"Pridi",v:["200","300",400,500,600,700],f:"serif"},{n:"Princess Sofia",v:[400],f:"handwriting"},{n:"Prociono",v:[400],f:"serif"},{n:"Prompt",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Prosto One",v:[400],f:"display"},{n:"Proza Libre",v:[400,"400i",500,"500i",600,"600i",700,"700i",800,"800i"],f:"sans-serif"},{n:"Public Sans",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Puppies Play",v:[400],f:"handwriting"},{n:"Puritan",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Purple Purse",v:[400],f:"display"},{n:"Padyakke Expanded One",v:[400],f:"display"},{n:"Pathway Extreme",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Phudu",v:[300,400,500,600,700,800,900],f:"display"},{n:"Playfair",v:[300,400,500,600,700,800,900,"300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Poltawski Nowy",v:[400,500,600,700,"400i","500i","600i","700i"],f:"serif"},{n:"Qahiri",v:[400],f:"sans-serif"},{n:"Quando",v:[400],f:"serif"},{n:"Quantico",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Quattrocento",v:[400,700],f:"serif"},{n:"Quattrocento Sans",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Questrial",v:[400],f:"sans-serif"},{n:"Quicksand",v:["300",400,500,600,700],f:"sans-serif"},{n:"Quintessential",v:[400],f:"handwriting"},{n:"Qwigley",v:[400],f:"handwriting"},{n:"Qwitcher Grypen",v:[400,700],f:"handwriting"},{n:"Racing Sans One",v:[400],f:"display"},{n:"Radio Canada",v:[300,400,500,600,700,"300i","400i","500i","600i","700i"],f:"sans-serif"},{n:"Radley",v:[400,"400i"],f:"serif"},{n:"Rajdhani",v:["300",400,500,600,700],f:"sans-serif"},{n:"Rakkas",v:[400],f:"display"},{n:"Raleway",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Raleway Dots",v:[400],f:"display"},{n:"Ramabhadra",v:[400],f:"sans-serif"},{n:"Ramaraja",v:[400],f:"serif"},{n:"Rambla",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Rammetto One",v:[400],f:"display"},{n:"Rampart One",v:[400],f:"display"},{n:"Ranchers",v:[400],f:"display"},{n:"Rancho",v:[400],f:"handwriting"},{n:"Ranga",v:[400,700],f:"display"},{n:"Rasa",v:["300",400,500,600,700,"300i","400i","500i","600i","700i"],f:"serif"},{n:"Rationale",v:[400],f:"sans-serif"},{n:"Ravi Prakash",v:[400],f:"display"},{n:"Readex Pro",v:["200","300",400,500,600,700],f:"sans-serif"},{n:"Recursive",v:["300",400,500,600,700,800,900],f:"sans-serif"},{n:"Red Hat Display",v:["300",400,500,600,700,800,900,"300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Red Hat Mono",v:["300",400,500,600,700,"300i","400i","500i","600i","700i"],f:"monospace"},{n:"Red Hat Text",v:["300",400,500,600,700,"300i","400i","500i","600i","700i"],f:"sans-serif"},{n:"Red Rose",v:["300",400,500,600,700],f:"display"},{n:"Redacted",v:[400],f:"display"},{n:"Redacted Script",v:["300",400,700],f:"display"},{n:"Redressed",v:[400],f:"handwriting"},{n:"Reem Kufi",v:[400,500,600,700],f:"sans-serif"},{n:"Reenie Beanie",v:[400],f:"handwriting"},{n:"Reggae One",v:[400],f:"display"},{n:"Revalia",v:[400],f:"display"},{n:"Rhodium Libre",v:[400],f:"serif"},{n:"Ribeye",v:[400],f:"display"},{n:"Ribeye Marrow",v:[400],f:"display"},{n:"Righteous",v:[400],f:"display"},{n:"Risque",v:[400],f:"display"},{n:"Road Rage",v:[400],f:"display"},{n:"Roboto",v:["100","100i","300","300i",400,"400i",500,"500i",700,"700i",900,"900i"],f:"sans-serif"},{n:"Roboto Condensed",v:["300","300i",400,"400i",700,"700i"],f:"sans-serif"},{n:"Roboto Flex",v:[400],f:"sans-serif"},{n:"Roboto Mono",v:["100","200","300",400,500,600,700,"100i","200i","300i","400i","500i","600i","700i"],f:"monospace"},{n:"Roboto Serif",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Roboto Slab",v:["100","200","300",400,500,600,700,800,900],f:"serif"},{n:"Rochester",v:[400],f:"handwriting"},{n:"Rock Salt",v:[400],f:"handwriting"},{n:"RocknRoll One",v:[400],f:"sans-serif"},{n:"Rokkitt",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Romanesco",v:[400],f:"handwriting"},{n:"Ropa Sans",v:[400,"400i"],f:"sans-serif"},{n:"Rosario",v:["300",400,500,600,700,"300i","400i","500i","600i","700i"],f:"sans-serif"},{n:"Rosarivo",v:[400,"400i"],f:"serif"},{n:"Rouge Script",v:[400],f:"handwriting"},{n:"Rowdies",v:["300",400,700],f:"display"},{n:"Rozha One",v:[400],f:"serif"},{n:"Rubik",v:["300",400,500,600,700,800,900,"300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Rubik Beastly",v:[400],f:"display"},{n:"Rubik Bubbles",v:[400],f:"display"},{n:"Rubik Glitch",v:[400],f:"display"},{n:"Rubik Microbe",v:[400],f:"display"},{n:"Rubik Mono One",v:[400],f:"sans-serif"},{n:"Rubik Moonrocks",v:[400],f:"display"},{n:"Rubik Puddles",v:[400],f:"display"},{n:"Rubik Wet Paint",v:[400],f:"display"},{n:"Ruda",v:[400,500,600,700,800,900],f:"sans-serif"},{n:"Rufina",v:[400,700],f:"serif"},{n:"Ruge Boogie",v:[400],f:"handwriting"},{n:"Ruluko",v:[400],f:"sans-serif"},{n:"Rum Raisin",v:[400],f:"sans-serif"},{n:"Ruslan Display",v:[400],f:"display"},{n:"Russo One",v:[400],f:"sans-serif"},{n:"Ruthie",v:[400],f:"handwriting"},{n:"Rye",v:[400],f:"display"},{n:"Reem Kufi Fun",v:[400,500,600,700],f:"sans-serif"},{n:"Reem Kufi Ink",v:[400],f:"sans-serif"},{n:"Rubik 80s Fade",v:[400],f:"display"},{n:"Rubik Burned",v:[400],f:"display"},{n:"Rubik Dirt",v:[400],f:"display"},{n:"Rubik Distressed",v:[400],f:"display"},{n:"Rubik Gemstones",v:[400],f:"display"},{n:"Rubik Iso",v:[400],f:"display"},{n:"Rubik Marker Hatch",v:[400],f:"display"},{n:"Rubik Maze",v:[400],f:"display"},{n:"Rubik Pixels",v:[400],f:"display"},{n:"Rubik Spray Paint",v:[400],f:"display"},{n:"Rubik Storm",v:[400],f:"display"},{n:"Rubik Vinyl",v:[400],f:"display"},{n:"STIX Two Text",v:[400,500,600,700,"400i","500i","600i","700i"],f:"serif"},{n:"Sacramento",v:[400],f:"handwriting"},{n:"Sahitya",v:[400,700],f:"serif"},{n:"Sail",v:[400],f:"display"},{n:"Saira",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Saira Condensed",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Saira Extra Condensed",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Saira Semi Condensed",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Saira Stencil One",v:[400],f:"display"},{n:"Salsa",v:[400],f:"display"},{n:"Sanchez",v:[400,"400i"],f:"serif"},{n:"Sancreek",v:[400],f:"display"},{n:"Sansita",v:[400,"400i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Sansita Swashed",v:["300",400,500,600,700,800,900],f:"display"},{n:"Sarabun",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i"],f:"sans-serif"},{n:"Sarala",v:[400,700],f:"sans-serif"},{n:"Sarina",v:[400],f:"display"},{n:"Sarpanch",v:[400,500,600,700,800,900],f:"sans-serif"},{n:"Sassy Frass",v:[400],f:"handwriting"},{n:"Satisfy",v:[400],f:"handwriting"},{n:"Sawarabi Gothic",v:[400],f:"sans-serif"},{n:"Sawarabi Mincho",v:[400],f:"serif"},{n:"Scada",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"Scheherazade New",v:[400,500,600,700],f:"serif"},{n:"Schoolbell",v:[400],f:"handwriting"},{n:"Scope One",v:[400],f:"serif"},{n:"Seaweed Script",v:[400],f:"display"},{n:"Secular One",v:[400],f:"sans-serif"},{n:"Sedgwick Ave",v:[400],f:"handwriting"},{n:"Sedgwick Ave Display",v:[400],f:"handwriting"},{n:"Sen",v:[400,700,800],f:"sans-serif"},{n:"Send Flowers",v:[400],f:"handwriting"},{n:"Sevillana",v:[400],f:"display"},{n:"Seymour One",v:[400],f:"sans-serif"},{n:"Shadows Into Light",v:[400],f:"handwriting"},{n:"Shadows Into Light Two",v:[400],f:"handwriting"},{n:"Shalimar",v:[400],f:"handwriting"},{n:"Shanti",v:[400],f:"sans-serif"},{n:"Share",v:[400,"400i",700,"700i"],f:"display"},{n:"Share Tech",v:[400],f:"sans-serif"},{n:"Share Tech Mono",v:[400],f:"monospace"},{n:"Shippori Antique",v:[400],f:"sans-serif"},{n:"Shippori Antique B1",v:[400],f:"sans-serif"},{n:"Shippori Mincho",v:[400,500,600,700,800],f:"serif"},{n:"Shippori Mincho B1",v:[400,500,600,700,800],f:"serif"},{n:"Shojumaru",v:[400],f:"display"},{n:"Short Stack",v:[400],f:"handwriting"},{n:"Shrikhand",v:[400],f:"display"},{n:"Siemreap",v:[400],f:"display"},{n:"Sigmar One",v:[400],f:"display"},{n:"Signika",v:["300",400,500,600,700],f:"sans-serif"},{n:"Signika Negative",v:["300",400,500,600,700],f:"sans-serif"},{n:"Simonetta",v:[400,"400i",900,"900i"],f:"display"},{n:"Single Day",v:[400],f:"display"},{n:"Sintony",v:[400,700],f:"sans-serif"},{n:"Sirin Stencil",v:[400],f:"display"},{n:"Six Caps",v:[400],f:"sans-serif"},{n:"Skranji",v:[400,700],f:"display"},{n:"Slabo 13px",v:[400],f:"serif"},{n:"Slabo 27px",v:[400],f:"serif"},{n:"Slackey",v:[400],f:"display"},{n:"Smokum",v:[400],f:"display"},{n:"Smooch",v:[400],f:"handwriting"},{n:"Smooch Sans",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Smythe",v:[400],f:"display"},{n:"Sniglet",v:[400,800],f:"display"},{n:"Snippet",v:[400],f:"sans-serif"},{n:"Snowburst One",v:[400],f:"display"},{n:"Sofadi One",v:[400],f:"display"},{n:"Sofia",v:[400],f:"handwriting"},{n:"Solway",v:["300",400,500,700,800],f:"serif"},{n:"Song Myung",v:[400],f:"serif"},{n:"Sonsie One",v:[400],f:"display"},{n:"Sora",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Sorts Mill Goudy",v:[400,"400i"],f:"serif"},{n:"Source Code Pro",v:["200","300",400,500,600,700,800,900,"200i","300i","400i","500i","600i","700i","800i","900i"],f:"monospace"},{n:"Source Sans 3",v:["200","300",400,500,600,700,800,900,"200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Source Sans Pro",v:["200","200i","300","300i",400,"400i",600,"600i",700,"700i",900,"900i"],f:"sans-serif"},{n:"Source Serif 4",v:["200","300",400,500,600,700,800,900,"200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Source Serif Pro",v:["200","200i","300","300i",400,"400i",600,"600i",700,"700i",900,"900i"],f:"serif"},{n:"Space Grotesk",v:["300",400,500,600,700],f:"sans-serif"},{n:"Space Mono",v:[400,"400i",700,"700i"],f:"monospace"},{n:"Special Elite",v:[400],f:"display"},{n:"Spectral",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i"],f:"serif"},{n:"Spectral SC",v:["200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i"],f:"serif"},{n:"Spicy Rice",v:[400],f:"display"},{n:"Spinnaker",v:[400],f:"sans-serif"},{n:"Spirax",v:[400],f:"display"},{n:"Spline Sans",v:["300",400,500,600,700],f:"sans-serif"},{n:"Squada One",v:[400],f:"display"},{n:"Square Peg",v:[400],f:"handwriting"},{n:"Sree Krushnadevaraya",v:[400],f:"serif"},{n:"Sriracha",v:[400],f:"handwriting"},{n:"Srisakdi",v:[400,700],f:"display"},{n:"Staatliches",v:[400],f:"display"},{n:"Stalemate",v:[400],f:"handwriting"},{n:"Stalinist One",v:[400],f:"display"},{n:"Stardos Stencil",v:[400,700],f:"display"},{n:"Stick",v:[400],f:"sans-serif"},{n:"Stick No Bills",v:["200","300",400,500,600,700,800],f:"sans-serif"},{n:"Stint Ultra Condensed",v:[400],f:"display"},{n:"Stint Ultra Expanded",v:[400],f:"display"},{n:"Stoke",v:["300",400],f:"serif"},{n:"Strait",v:[400],f:"sans-serif"},{n:"Style Script",v:[400],f:"handwriting"},{n:"Stylish",v:[400],f:"sans-serif"},{n:"Sue Ellen Francisco",v:[400],f:"handwriting"},{n:"Suez One",v:[400],f:"serif"},{n:"Sulphur Point",v:["300",400,700],f:"sans-serif"},{n:"Sumana",v:[400,700],f:"serif"},{n:"Sunflower",v:["300",500,700],f:"sans-serif"},{n:"Sunshiney",v:[400],f:"handwriting"},{n:"Supermercado One",v:[400],f:"display"},{n:"Sura",v:[400,700],f:"serif"},{n:"Suranna",v:[400],f:"serif"},{n:"Suravaram",v:[400],f:"serif"},{n:"Suwannaphum",v:["100","300",400,700,900],f:"serif"},{n:"Swanky and Moo Moo",v:[400],f:"handwriting"},{n:"Syncopate",v:[400,700],f:"sans-serif"},{n:"Syne",v:[400,500,600,700,800],f:"sans-serif"},{n:"Syne Mono",v:[400],f:"monospace"},{n:"Syne Tactile",v:[400],f:"display"},{n:"Schibsted Grotesk",v:[400,500,600,700,800,900,"400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Shantell Sans",v:[300,400,500,600,700,800,"300i","400i","500i","600i","700i","800i"],f:"display"},{n:"Sigmar",v:[400],f:"display"},{n:"Silkscreen",v:[400,700],f:"display"},{n:"Slackside One",v:[400],f:"handwriting"},{n:"Sofia Sans",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Sofia Sans Condensed",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Sofia Sans Extra Condensed",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Sofia Sans Semi Condensed",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Solitreo",v:[400],f:"handwriting"},{n:"Sono",v:[200,300,400,500,600,700,800],f:"sans-serif"},{n:"Splash",v:[400],f:"handwriting"},{n:"Spline Sans Mono",v:[300,400,500,600,700,"300i","400i","500i","600i","700i"],f:"monospace"},{n:"Tajawal",v:["200","300",400,500,700,800,900],f:"sans-serif"},{n:"Tangerine",v:[400,700],f:"handwriting"},{n:"Tapestry",v:[400],f:"handwriting"},{n:"Taprom",v:[400],f:"display"},{n:"Tauri",v:[400],f:"sans-serif"},{n:"Taviraj",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"serif"},{n:"Teko",v:["300",400,500,600,700],f:"sans-serif"},{n:"Telex",v:[400],f:"sans-serif"},{n:"Tenali Ramakrishna",v:[400],f:"sans-serif"},{n:"Tenor Sans",v:[400],f:"sans-serif"},{n:"Text Me One",v:[400],f:"sans-serif"},{n:"Texturina",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Thasadith",v:[400,"400i",700,"700i"],f:"sans-serif"},{n:"The Girl Next Door",v:[400],f:"handwriting"},{n:"The Nautigal",v:[400,700],f:"handwriting"},{n:"Tienne",v:[400,700,900],f:"serif"},{n:"Tillana",v:[400,500,600,700,800],f:"handwriting"},{n:"Timmana",v:[400],f:"sans-serif"},{n:"Tinos",v:[400,"400i",700,"700i"],f:"serif"},{n:"Titan One",v:[400],f:"display"},{n:"Titillium Web",v:["200","200i","300","300i",400,"400i",600,"600i",700,"700i",900],f:"sans-serif"},{n:"Tomorrow",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"sans-serif"},{n:"Tourney",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"display"},{n:"Trade Winds",v:[400],f:"display"},{n:"Train One",v:[400],f:"display"},{n:"Trirong",v:["100","100i","200","200i","300","300i",400,"400i",500,"500i",600,"600i",700,"700i",800,"800i",900,"900i"],f:"serif"},{n:"Trispace",v:["100","200","300",400,500,600,700,800],f:"sans-serif"},{n:"Trocchi",v:[400],f:"serif"},{n:"Trochut",v:[400,"400i",700],f:"display"},{n:"Truculenta",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Trykker",v:[400],f:"serif"},{n:"Tulpen One",v:[400],f:"display"},{n:"Turret Road",v:["200","300",400,500,700,800],f:"display"},{n:"Twinkle Star",v:[400],f:"handwriting"},{n:"Tai Heritage Pro",v:[400,700],f:"serif"},{n:"Tilt Neon",v:[400],f:"display"},{n:"Tilt Prism",v:[400],f:"display"},{n:"Tilt Warp",v:[400],f:"display"},{n:"Tiro Bangla",v:[400,"400i"],f:"serif"},{n:"Tiro Devanagari Hindi",v:[400,"400i"],f:"serif"},{n:"Tiro Devanagari Marathi",v:[400,"400i"],f:"serif"},{n:"Tiro Devanagari Sanskrit",v:[400,"400i"],f:"serif"},{n:"Tiro Gurmukhi",v:[400,"400i"],f:"serif"},{n:"Tiro Kannada",v:[400,"400i"],f:"serif"},{n:"Tiro Tamil",v:[400,"400i"],f:"serif"},{n:"Tiro Telugu",v:[400,"400i"],f:"serif"},{n:"Tsukimi Rounded",v:[300,400,500,600,700],f:"sans-serif"},{n:"Ubuntu",v:["300","300i",400,"400i",500,"500i",700,"700i"],f:"sans-serif"},{n:"Ubuntu Condensed",v:[400],f:"sans-serif"},{n:"Ubuntu Mono",v:[400,"400i",700,"700i"],f:"monospace"},{n:"Uchen",v:[400],f:"serif"},{n:"Ultra",v:[400],f:"serif"},{n:"Uncial Antiqua",v:[400],f:"display"},{n:"Underdog",v:[400],f:"display"},{n:"Unica One",v:[400],f:"display"},{n:"UnifrakturCook",v:[700],f:"display"},{n:"UnifrakturMaguntia",v:[400],f:"display"},{n:"Unkempt",v:[400,700],f:"display"},{n:"Unlock",v:[400],f:"display"},{n:"Unna",v:[400,"400i",700,"700i"],f:"serif"},{n:"Updock",v:[400],f:"handwriting"},{n:"Urbanist",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Unbounded",v:[200,300,400,500,600,700,800,900],f:"display"},{n:"VT323",v:[400],f:"monospace"},{n:"Vampiro One",v:[400],f:"display"},{n:"Varela",v:[400],f:"sans-serif"},{n:"Varela Round",v:[400],f:"sans-serif"},{n:"Varta",v:["300",400,500,600,700],f:"sans-serif"},{n:"Vast Shadow",v:[400],f:"display"},{n:"Vazirmatn",v:["100","200","300",400,500,600,700,800,900],f:"sans-serif"},{n:"Vesper Libre",v:[400,500,700,900],f:"serif"},{n:"Viaoda Libre",v:[400],f:"display"},{n:"Vibes",v:[400],f:"display"},{n:"Vibur",v:[400],f:"handwriting"},{n:"Vidaloka",v:[400],f:"serif"},{n:"Viga",v:[400],f:"sans-serif"},{n:"Voces",v:[400],f:"display"},{n:"Volkhov",v:[400,"400i",700,"700i"],f:"serif"},{n:"Vollkorn",v:[400,500,600,700,800,900,"400i","500i","600i","700i","800i","900i"],f:"serif"},{n:"Vollkorn SC",v:[400,600,700,900],f:"serif"},{n:"Voltaire",v:[400],f:"sans-serif"},{n:"Vujahday Script",v:[400],f:"handwriting"},{n:"Vina Sans",v:[400],f:"display"},{n:"Waiting for the Sunrise",v:[400],f:"handwriting"},{n:"Wallpoet",v:[400],f:"display"},{n:"Walter Turncoat",v:[400],f:"handwriting"},{n:"Warnes",v:[400],f:"display"},{n:"Water Brush",v:[400],f:"handwriting"},{n:"Waterfall",v:[400],f:"handwriting"},{n:"Wellfleet",v:[400],f:"display"},{n:"Wendy One",v:[400],f:"sans-serif"},{n:"Whisper",v:[400],f:"handwriting"},{n:"WindSong",v:[400,500],f:"handwriting"},{n:"Wire One",v:[400],f:"sans-serif"},{n:"Work Sans",v:["100","200","300",400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"Wix Madefor Display",v:[400,500,600,700,800],f:"sans-serif"},{n:"Wix Madefor Text",v:[400,"400i",500,"500i",600,"600i",700,"700i",800,"800i"],f:"sans-serif"},{n:"Xanh Mono",v:[400,"400i"],f:"monospace"},{n:"Yaldevi",v:["200","300",400,500,600,700],f:"sans-serif"},{n:"Yanone Kaffeesatz",v:["200","300",400,500,600,700],f:"sans-serif"},{n:"Yantramanav",v:["100","300",400,500,700,900],f:"sans-serif"},{n:"Yatra One",v:[400],f:"display"},{n:"Yellowtail",v:[400],f:"handwriting"},{n:"Yeon Sung",v:[400],f:"display"},{n:"Yeseva One",v:[400],f:"display"},{n:"Yesteryear",v:[400],f:"handwriting"},{n:"Yomogi",v:[400],f:"handwriting"},{n:"Yrsa",v:["300",400,500,600,700,"300i","400i","500i","600i","700i"],f:"serif"},{n:"Yuji Boku",v:[400],f:"serif"},{n:"Yuji Mai",v:[400],f:"serif"},{n:"Yuji Syuku",v:[400],f:"serif"},{n:"Yusei Magic",v:[400],f:"sans-serif"},{n:"Ysabeau",v:[100,200,300,400,500,600,700,800,900,"100i","200i","300i","400i","500i","600i","700i","800i","900i"],f:"sans-serif"},{n:"ZCOOL KuaiLe",v:[400],f:"sans-serif"},{n:"ZCOOL QingKe HuangYou",v:[400],f:"sans-serif"},{n:"ZCOOL XiaoWei",v:[400],f:"sans-serif"},{n:"Zen Antique",v:[400],f:"serif"},{n:"Zen Antique Soft",v:[400],f:"serif"},{n:"Zen Dots",v:[400],f:"display"},{n:"Zen Kaku Gothic Antique",v:["300",400,500,700,900],f:"sans-serif"},{n:"Zen Kaku Gothic New",v:["300",400,500,700,900],f:"sans-serif"},{n:"Zen Kurenaido",v:[400],f:"sans-serif"},{n:"Zen Loop",v:[400,"400i"],f:"display"},{n:"Zen Maru Gothic",v:["300",400,500,700,900],f:"sans-serif"},{n:"Zen Old Mincho",v:[400,500,600,700,900],f:"serif"},{n:"Zen Tokyo Zoo",v:[400],f:"display"},{n:"Zeyada",v:[400],f:"handwriting"},{n:"Zhi Mang Xing",v:[400],f:"handwriting"},{n:"Zilla Slab",v:["300","300i",400,"400i",500,"500i",600,"600i",700,"700i"],f:"serif"},{n:"Zilla Slab Highlight",v:[400,700],f:"display"}]},3245:(e,t,l)=>{"use strict";l.d(t,{T0:()=>a,ZP:()=>n});var o=l(7294);const a={subtract:(0,o.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M5 12H19",stroke:"#070707",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),plus:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M12 19.8c-.4 0-.8-.3-.8-.8v-6.2H5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6.2V5c0-.4.3-.8.8-.8s.8.3.8.8v6.2H19c.4 0 .8.3.8.8s-.3.8-.8.8h-6.2V19c0 .4-.4.8-.8.8z"})),skype:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 99.964"},(0,o.createElement)("path",{d:"M97.637 61.79a3.8 3.8 0 0 1-.265-2.338c2.854-16.467-1.618-30.679-13.443-42.449A46.289 46.289 0 0 0 57.307 3.971a45.987 45.987 0 0 0-13.429.031 3.88 3.88 0 0 1-2.678-.468 27.868 27.868 0 0 0-37.106 9.469 27.009 27.009 0 0 0-.722 27.349 2.2 2.2 0 0 1 .268 1.577c-4.109 21.989 7.627 42.639 27.735 51.084a48.685 48.685 0 0 0 26.784 3.2 3.168 3.168 0 0 1 2.058.3 28.253 28.253 0 0 0 14.99 3.392 24.78 24.78 0 0 0 10.7-3.344 28.036 28.036 0 0 0 13.784-19.714 26.476 26.476 0 0 0-2.054-15.057Zm-22.9 2.118c-1.145 6.065-5.1 9.919-10.639 12.005a34.579 34.579 0 0 1-25.014.047 17.5 17.5 0 0 1-10.124-9.767 10.7 10.7 0 0 1-.823-3.5 4.786 4.786 0 0 1 2.69-4.8 5.42 5.42 0 0 1 5.954.641 8.434 8.434 0 0 1 1.858 2.609c.575 1.166 1.117 2.344 1.763 3.477a10.145 10.145 0 0 0 8.116 5.239c3.849.439 7.6.181 11.051-1.866 3.034-1.8 4.327-4.8 3.344-7.958a6.789 6.789 0 0 0-3.821-3.96 36.8 36.8 0 0 0-8.484-2.527c-4.659-1.075-9.32-2.134-13.636-4.306-6.146-3.093-8.925-8.983-7.25-15.629a12.974 12.974 0 0 1 5.917-7.83 26.362 26.362 0 0 1 12.494-3.723c1.1-.089 2.212-.11 2.953-.145 5.344.04 10.179.739 14.54 3.347 3.038 1.816 5.483 4.183 6.521 7.712a5.465 5.465 0 0 1-1.221 5.8 5.212 5.212 0 0 1-8.142-.932c-.8-1.185-1.506-2.436-2.312-3.618a9.062 9.062 0 0 0-6.6-4.222c-3.583-.437-7.092-.415-10.344 1.435a5.654 5.654 0 0 0-3.072 3.721c-.446 2.16.408 3.849 2.36 5.136 2.449 1.616 5.253 2.209 8.032 2.887a123.979 123.979 0 0 1 12.525 3.358 19.776 19.776 0 0 1 8.3 4.956c3.252 3.573 3.917 7.862 3.06 12.414Z"})),link:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})),facebook:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},(0,o.createElement)("path",{d:"M50 4.4v41.1c0 2.5-2 4.4-4.4 4.4H34.5V31.1c0-.4.1-.6.5-.5h5.4c.4 0 .6 0 .6-.5.3-2.3.6-4.6.9-7 0-.4-.1-.4-.4-.4h-6.6c-.3 0-.5-.1-.5-.4v-4.8c-.1-1.5 1-2.9 2.6-3H41.6c.3 0 .4-.1.4-.4V7.9c0-.4-.1-.4-.5-.4-1.5 0-6.7 0-7.8.2-4 .7-6.9 4-7.2 8.1-.1 2.2 0 4.4 0 6.6 0 .5-.1.6-.6.6h-5.5c-.3 0-.4.1-.4.4v7c0 .3.1.4.4.4h5.5c.5 0 .6.1.6.6v18.8H4.4C2 50 0 48 0 45.5V4.4C0 2 2 0 4.4 0h41.1C48 0 50 2 50 4.4z"})),twitter:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M17.7512 3H20.818L14.1179 10.6246L22 21H15.8284L10.9946 14.7074L5.46359 21H2.39494L9.5613 12.8446L2 3H8.32828L12.6976 8.75169L17.7512 3ZM16.6748 19.1723H18.3742L7.4049 4.73169H5.58133L16.6748 19.1723Z"})),tiktok_lite_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35.699 50"},(0,o.createElement)("path",{d:"M27.638 5.514A13.716 13.716 0 0 1 26.162 0h-6.835v28.914a6.244 6.244 0 1 1-6.241-6.247 6.086 6.086 0 0 1 1.965.32v-7.002a12.836 12.836 0 0 0-1.965-.149A13.082 13.082 0 1 0 26.16 28.918V14.134a17.847 17.847 0 0 0 10.454 3.277l.162-6.834c-4.405-.105-7.4-1.761-9.14-5.063"})),tiktok_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0m11.606 21.714a11.347 11.347 0 0 1-6.656-2.086v9.413a8.323 8.323 0 1 1-7.076-8.236v4.461a3.9 3.9 0 0 0-1.251-.2 3.978 3.978 0 1 0 3.974 3.977V10.628h4.353a8.761 8.761 0 0 0 .94 3.514c1.112 2.1 3.015 3.156 5.821 3.223Z"})),instagram_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M30.889 22a8.883 8.883 0 0 1-8.976 8.888A8.932 8.932 0 1 1 30.889 22"}),(0,o.createElement)("path",{d:"M22 0C1.18 0 0 1.179 0 22s1.18 22 22 22 22-1.179 22-22S42.821 0 22 0m0 35.816A13.818 13.818 0 1 1 35.816 22 13.817 13.817 0 0 1 22 35.816m14.362-24.948a3.194 3.194 0 0 1-3.256-3.256 3.248 3.248 0 0 1 3.256-3.256 3.175 3.175 0 0 1 3.168 3.256 3.123 3.123 0 0 1-3.168 3.256"}))),linkedin:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 42 42"},(0,o.createElement)("path",{d:"M37.53 0H4.47A4.468 4.468 0 0 0 0 4.47v33.06A4.468 4.468 0 0 0 4.47 42h33.06A4.468 4.468 0 0 0 42 37.53V4.47A4.468 4.468 0 0 0 37.53 0M12.49 35.12c0 .51-.09.59-.59.59H6.87c-.5 0-.59-.17-.59-.59V16.43c0-.5.09-.67.67-.67h5.03c.42 0 .59.08.59.59-.08 6.28-.08 12.49-.08 18.77m-3.1-22.04a3.583 3.583 0 0 1-3.61-3.61 3.626 3.626 0 0 1 3.61-3.6 3.572 3.572 0 0 1 3.6 3.6 3.692 3.692 0 0 1-3.6 3.61m25.65 22.63h-4.78c-.5 0-.75-.08-.75-.67v-9.3a13.485 13.485 0 0 0-.26-2.6 2.664 2.664 0 0 0-2.43-2.35 3.264 3.264 0 0 0-3.69 1.68 6.537 6.537 0 0 0-.58 2.51v9.98c0 .67-.17.84-.84.75-1.59-.08-3.19 0-4.78 0-.42 0-.59-.17-.59-.59V16.35c0-.42.09-.59.51-.59h4.86c.42 0 .5.17.5.5v2.1a7.617 7.617 0 0 1 3.69-2.77 8.813 8.813 0 0 1 6.2.51 5.948 5.948 0 0 1 3.11 4.44 20.4 20.4 0 0 1 .42 3.94v10.56c.08.59-.09.67-.59.67"})),whatsapp:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44.26"},(0,o.createElement)("path",{d:"M22.311 0A21.555 21.555 0 0 0 .798 21.6a22.259 22.259 0 0 0 3.01 11.067l-3.807 11.6 11.951-3.805A21.656 21.656 0 0 0 44 21.517 21.687 21.687 0 0 0 22.311 0m10.637 29.915a5.156 5.156 0 0 1-3.487 2.414c-4.559.983-9.387-2.593-12.338-5.633a22.894 22.894 0 0 1-5.275-8.046c-.983-2.861.358-8.583 4.381-7.689.984.179 1.163 1.073 1.431 1.878.447 1.162.8 2.235 1.251 3.4a1.514 1.514 0 0 1 0 .894c-.357.805-1.162 1.341-1.7 2.056-.805 1.252 2.324 4.292 3.218 5.1 1.163 1.072 2.951 2.682 4.56 2.861.894.089 2.056-1.7 2.5-2.325.358-.447.626-.536 1.073-.358 1.52.626 2.951 1.52 4.47 2.325a.811.811 0 0 1 .537.983 3.565 3.565 0 0 1-.626 2.146"})),wordpress_lite_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0M2.724 24a21.149 21.149 0 0 1 1.844-8.657L14.716 43.15A21.283 21.283 0 0 1 2.724 24M24 45.278a21.317 21.317 0 0 1-6.01-.865l6.384-18.55 6.538 17.917a1.806 1.806 0 0 0 .154.293 21.224 21.224 0 0 1-7.066 1.2m2.931-31.249c1.282-.065 2.436-.2 2.436-.2a.88.88 0 0 0-.135-1.754s-3.447.272-5.671.272c-2.09 0-5.6-.272-5.6-.272a.88.88 0 0 0-.133 1.754s1.084.136 2.23.2l3.317 9.084-4.657 13.963-7.754-23.047a42.05 42.05 0 0 0 2.436-.2.88.88 0 0 0-.135-1.754s-3.447.272-5.671.272c-.4 0-.871-.009-1.371-.025a21.273 21.273 0 0 1 32.144-4.006c-.093-.006-.182-.015-.275-.015a3.682 3.682 0 0 0-3.573 3.774c0 1.754 1.01 3.237 2.091 4.991a11.211 11.211 0 0 1 1.754 5.869 24.615 24.615 0 0 1-1.547 7.014l-2.2 6.952Zm7.764 28.366 6.5-18.788a20.025 20.025 0 0 0 1.618-7.62 16.1 16.1 0 0 0-.142-2.189 21.276 21.276 0 0 1-7.974 28.6"})),wordpress_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M4 23.999a20 20 0 0 0 11.272 18L5.732 15.86A19.923 19.923 0 0 0 4 24m33.5-1.009a10.531 10.531 0 0 0-1.646-5.517c-1.014-1.648-1.964-3.042-1.964-4.69a3.463 3.463 0 0 1 3.358-3.55c.089 0 .173.011.259.016A20 20 0 0 0 7.29 13.013c.47.015.912.025 1.288.025 2.091 0 5.33-.254 5.33-.254a.827.827 0 0 1 .128 1.648s-1.084.127-2.289.19l7.283 21.664 4.378-13.127-3.117-8.535c-1.078-.063-2.1-.19-2.1-.19a.827.827 0 0 1 .127-1.648s3.3.254 5.267.254c2.092 0 5.331-.254 5.331-.254a.827.827 0 0 1 .128 1.648s-1.085.127-2.289.19l7.228 21.5 2.063-6.538a23.047 23.047 0 0 0 1.454-6.593m-13.146 2.755-6 17.437a20.006 20.006 0 0 0 12.292-.319 1.835 1.835 0 0 1-.143-.276Zm17.2-11.344a15.342 15.342 0 0 1 .134 2.057 18.884 18.884 0 0 1-1.524 7.163l-6.11 17.661a20 20 0 0 0 7.5-26.881"}),(0,o.createElement)("path",{d:"M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0m0 46.56A22.56 22.56 0 1 1 46.56 24 22.559 22.559 0 0 1 24 46.56"}))),youtube_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 33.86"},(0,o.createElement)("path",{d:"M47.134 5.29a5.893 5.893 0 0 0-4.232-4.232C39.055 0 24.05 0 24.05 0S9.044 0 5.293.962A6.146 6.146 0 0 0 .965 5.29C.003 9.041.003 16.929.003 16.929s0 7.887.962 11.638A5.894 5.894 0 0 0 5.197 32.8c3.847 1.058 18.853 1.058 18.853 1.058s15.005 0 18.756-1.058a6.059 6.059 0 0 0 4.232-4.233C48 24.816 48 16.929 48 16.929s.1-7.888-.866-11.639M19.141 21.928v-10a1.237 1.237 0 0 1 1.845-1.077l8.85 5a1.237 1.237 0 0 1 0 2.153l-8.85 5a1.237 1.237 0 0 1-1.845-1.077"})),pinterest:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M48.004 23.995a24 24 0 0 1-24 24.005 23.735 23.735 0 0 1-10.948-2.65h.086a15.084 15.084 0 0 0 4.8-6.914 35.685 35.685 0 0 0 1.729-7.009v-.192c.1-.384.192-.384.48-.192.1 0 .1.1.192.1a7.385 7.385 0 0 0 4.322 2.112 11.879 11.879 0 0 0 7.491-.96 16.739 16.739 0 0 0 4.513-3.649 11.277 11.277 0 0 0 1-1.354 17.413 17.413 0 0 0 2.574-7.278 16.381 16.381 0 0 0-1.1-8.555 13.1 13.1 0 0 0-4.774-5.569 17.523 17.523 0 0 0-8.067-2.977A20.935 20.935 0 0 0 15.45 4.065a15.91 15.91 0 0 0-9.028 8.258 11.865 11.865 0 0 0-.288 9.89 8.5 8.5 0 0 0 5.859 4.993c.288.1.384 0 .384-.288.192-1.056.384-2.112.576-3.073 0-.192 0-.384-.192-.48a8.869 8.869 0 0 1-1.825-2.688 6.966 6.966 0 0 1 .1-5.377 12.226 12.226 0 0 1 7.875-7.778 14.92 14.92 0 0 1 7.4-.672c5.475.912 7.914 6.625 7.559 11.685a15.147 15.147 0 0 1-2.757 7.423 7.589 7.589 0 0 1-4.129 2.976 5.108 5.108 0 0 1-4.226-.768 2.864 2.864 0 0 1-1.153-2.3 9.668 9.668 0 0 1 .769-3.745c.48-1.44 1.056-2.785 1.44-4.225a10.787 10.787 0 0 0 .384-3.072 3.408 3.408 0 0 0-4.206-2.977 5.336 5.336 0 0 0-2.641 1.364c-1.892 1.785-2.4 5.175-1.6 7.566a7.772 7.772 0 0 1-.1 4.9c-.864 2.976-1.825 6.049-2.5 9.122a28.284 28.284 0 0 0-.672 7.489 8.268 8.268 0 0 0 .576 3.063 24 24 0 1 1 34.949-21.356"})),reddit:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 45.85 48"},(0,o.createElement)("path",{d:"M44.492 25.179a6.625 6.625 0 0 0 .192-7.766 6.482 6.482 0 0 0-9.492-1.151c-.192.1-.288.192-.384.1a28.339 28.339 0 0 0-9.684-2.493c-.192 0-.287-.095-.192-.287.288-.959.672-1.822 1.055-2.781a29.239 29.239 0 0 1 3.068-5.657 7.62 7.62 0 0 1 2.017-1.919 2.338 2.338 0 0 1 2.493 0 6.138 6.138 0 0 1 1.246.959c.192.191.192.287.192.575a3.868 3.868 0 0 0 3.26 4.506 3.786 3.786 0 0 0 4.309-3.739 3.8 3.8 0 0 0-5.463-3.547.358.358 0 0 1-.479-.1 4.481 4.481 0 0 0-1.151-.863 5.486 5.486 0 0 0-6.232-.1 14.609 14.609 0 0 0-3.26 3.643 38.376 38.376 0 0 0-4.123 9.013c-.1.287-.192.383-.479.383a26.861 26.861 0 0 0-10.163 2.493c-.192.1-.288.1-.48-.1a6.631 6.631 0 0 0-8.054-.383 6.539 6.539 0 0 0-1.246 9.4c.192.192.192.288.1.479a13.425 13.425 0 0 0-.959 3.74 14.384 14.384 0 0 0 2.3 8.821 20.414 20.414 0 0 0 7.191 6.519 27.739 27.739 0 0 0 12.752 3.069 27.311 27.311 0 0 0 12.464-2.781 19.211 19.211 0 0 0 7.282-5.933c3.068-4.219 3.835-8.725 1.822-13.615a.865.865 0 0 1 .1-.48m-12.656 5.421a3.645 3.645 0 1 1 3.024-3.023 3.646 3.646 0 0 1-3.024 3.023m-.192 8.1a14.556 14.556 0 0 1-9.013 3.26 14.886 14.886 0 0 1-8.533-3.164 1.469 1.469 0 1 1 1.822-2.3 11.081 11.081 0 0 0 7.862 2.493 11.805 11.805 0 0 0 5.369-2.014c.288-.191.479-.383.767-.575a1.488 1.488 0 0 1 2.014.288 1.6 1.6 0 0 1-.288 2.013m-16.683-15.34a3.646 3.646 0 1 1-3.644 3.643 3.526 3.526 0 0 1 3.644-3.643m-12.464.767a4.959 4.959 0 0 1 7.095-6.808 18.573 18.573 0 0 0-7.095 6.808m41.036-.288a18.259 18.259 0 0 0-6.807-6.424c-.1-.1-.192-.1-.288-.192a5.75 5.75 0 0 1 2.4-.959 4.811 4.811 0 0 1 4.794 2.206 4.978 4.978 0 0 1 .1 5.273c0 .1-.1.384-.192.1"})),google_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47.04 48"},(0,o.createElement)("path",{d:"M24 19.625v8.907h13.227a11.731 11.731 0 0 1-4.907 7.786 14.2 14.2 0 0 1-8.32 2.4 14.447 14.447 0 0 1-13.653-9.973 14.764 14.764 0 0 1-.8-4.747 15.523 15.523 0 0 1 .773-4.746A14.507 14.507 0 0 1 24 9.278a13.3 13.3 0 0 1 9.28 3.574l6.773-6.614A23.061 23.061 0 0 0 24-.002a24 24 0 0 0 0 48 22.873 22.873 0 0 0 15.893-5.813c4.534-4.187 7.147-10.347 7.147-17.653a20.536 20.536 0 0 0-.507-4.907Z"}))},i={hamicon_1:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{"fill-rule":"evenodd",d:"M3.25 6c0-.41.34-.75.75-.75h16a.75.75 0 0 1 0 1.5H4A.75.75 0 0 1 3.25 6ZM3.25 12c0-.41.34-.75.75-.75h12a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75ZM3.25 18c0-.41.34-.75.75-.75h16a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})),hamicon_2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{"fill-rule":"evenodd",d:"M3.25 6c0-.41.34-.75.75-.75h16a.75.75 0 0 1 0 1.5H4A.75.75 0 0 1 3.25 6ZM3.25 12c0-.41.34-.75.75-.75h16a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75ZM3.25 18c0-.41.34-.75.75-.75h16a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})),hamicon_3:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{"fill-rule":"evenodd",d:"M3.25 6c0-.41.34-.75.75-.75h16a.75.75 0 0 1 0 1.5H4A.75.75 0 0 1 3.25 6ZM3.25 12c0-.41.34-.75.75-.75h12a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75ZM3.25 18c0-.41.34-.75.75-.75h8a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})),hamicon_4:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M4.5 5.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM4.5 11.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM4.5 17.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM10.5 5.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM10.5 11.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM10.5 17.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM16.5 5.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM16.5 11.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM16.5 17.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1Z"})),hamicon_5:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{"fill-rule":"evenodd",d:"M19 19.25H5v-2.5h14v2.5ZM19 13.25H5v-2.5h14v2.5ZM19 7.25H5v-2.5h14v2.5Z","clip-rule":"evenodd"})),hamicon_6:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{"fill-rule":"evenodd",d:"M12 11.75a.25.25 0 1 0 0 .5.25.25 0 0 0 0-.5Zm-1.75.25a1.75 1.75 0 1 1 3.5 0 1.75 1.75 0 0 1-3.5 0ZM12 4.75a.25.25 0 1 0 0 .5.25.25 0 0 0 0-.5ZM10.25 5a1.75 1.75 0 1 1 3.5 0 1.75 1.75 0 0 1-3.5 0ZM12 18.75a.25.25 0 1 0 0 .5.25.25 0 0 0 0-.5Zm-1.75.25a1.75 1.75 0 1 1 3.5 0 1.75 1.75 0 0 1-3.5 0Z","clip-rule":"evenodd"}))},n={angle_bottom_left_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.6 32.75"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M2.55 32.254H.5V2.704a2.05 2.05 0 0 1 4.1 0v22.55l24-24a2.05 2.05 0 1 1 2.9 2.9l-24 24h22.55a2.05 2.05 0 1 1 0 4.1Z"})),angle_bottom_right_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.6 32.75"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M30.05 32.254H2.55a2.05 2.05 0 1 1 0-4.1H25.1l-24-24a2.05 2.05 0 0 1 2.9-2.9l24 24V2.704a2.05 2.05 0 1 1 4.1 0v29.55Z"})),angle_top_left_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.6 32.6"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"m28.6 31.5-24-24v22.55a2.05 2.05 0 1 1-4.1 0V.5h29.55a2.05 2.05 0 1 1 0 4.1H7.5l24 24a2.05 2.05 0 1 1-2.9 2.9Z"})),angle_top_right_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.6 32.6"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M28 30.05V7.5l-24 24a2.05 2.05 0 1 1-2.9-2.9l24-24H2.551a2.05 2.05 0 1 1 0-4.1H32.1V30.05a2.05 2.05 0 1 1-4.1 0Z"})),leftAngle:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 53.76 53.76",version:"1.1",viewBox:"0 0 53.76 53.76"},(0,o.createElement)("g",null,(0,o.createElement)("path",{className:"active-path",d:"M44.574,53.76L9.186,26.88L44.574,0V53.76z M13.044,26.88l29.194,22.172V4.709L13.044,26.88z","data-original":"#000000"}))),rightAngle:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 53.76 53.76",version:"1.1",viewBox:"0 0 53.76 53.76"},(0,o.createElement)("g",{transform:"matrix(-1 3.6739e-16 -3.6739e-16 -1 53.76 53.76)"},(0,o.createElement)("path",{className:"active-path",d:"M44.574,53.76L9.186,26.88L44.574,0V53.76z M13.044,26.88l29.194,22.172V4.709L13.044,26.88z","data-original":"#000000"}))),leftAngle2:(0,o.createElement)("svg",{enableBackground:"new 0 0 477.175 477.175",version:"1.1",viewBox:"0 0 477.18 477.18"},(0,o.createElement)("path",{d:"m145.19 238.58 215.5-215.5c5.3-5.3 5.3-13.8 0-19.1s-13.8-5.3-19.1 0l-225.1 225.1c-5.3 5.3-5.3 13.8 0 19.1l225.1 225c2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-4c5.3-5.3 5.3-13.8 0-19.1l-215.4-215.5z"})),rightAngle2:(0,o.createElement)("svg",{enableBackground:"new 0 0 477.175 477.175",version:"1.1",viewBox:"0 0 477.18 477.18"},(0,o.createElement)("path",{d:"m360.73 229.08-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8 0.1-19z"})),collapse_bottom_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.1 19.95"},(0,o.createElement)("path",{d:"M17.05 19.949.601 3.499a2.05 2.05 0 0 1 2.9-2.9l13.551 13.55L30.603.599a2.05 2.05 0 0 1 2.9 2.9Z"})),arrowUp2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.1 19.95"},(0,o.createElement)("path",{d:"M32.05 19.949a2.041 2.041 0 0 1-1.45-.6L17.05 5.8 3.498 19.349a2.05 2.05 0 0 1-2.9-2.9l16.45-16.45 16.448 16.45a2.05 2.05 0 0 1-1.448 3.5"})),longArrowUp2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 493.35 493.35"},(0,o.createElement)("path",{d:"m354.03 112.49-101.36-109.64c-1.905-1.903-4.189-2.853-6.856-2.853-2.478 0-4.665 0.95-6.567 2.853l-99.927 109.64c-2.475 3.049-2.952 6.377-1.431 9.994 1.524 3.616 4.283 5.424 8.28 5.424h63.954v356.32c0 2.663 0.855 4.853 2.57 6.564 1.713 1.707 3.899 2.562 6.567 2.562h54.816c2.669 0 4.859-0.855 6.563-2.562 1.711-1.712 2.573-3.901 2.573-6.564v-356.32h63.954c3.806 0 6.563-1.809 8.274-5.424 1.53-3.621 1.052-6.949-1.412-9.995z"})),arrow_left_circle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.922 19.922 0 0 1 24 4.1M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0"}),(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"m22.551 34.324-8.849-8.85-.055-.055-1.422-1.42 1.418-1.418.063-.063 8.845-8.844a2.05 2.05 0 0 1 2.9 2.9l-5.378 5.375h12.8a2.05 2.05 0 0 1 0 4.1h-12.8l5.376 5.377a2.05 2.05 0 1 1-2.9 2.9Z"}))),arrow_bottom_circle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.922 19.922 0 0 1 24 4.1M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0"}),(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M13.675 25.449a2.05 2.05 0 0 1 2.9-2.9l5.377 5.376V15.124a2.05 2.05 0 1 1 4.1 0v12.8l5.377-5.377a2.05 2.05 0 0 1 2.9 2.9L24 35.774Z"}))),arrow_right_circle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.922 19.922 0 0 1 24 4.1M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0"}),(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M22.551 34.324a2.048 2.048 0 0 1 0-2.9l5.376-5.377H15.125a2.05 2.05 0 0 1 0-4.1h12.8l-5.374-5.373a2.05 2.05 0 1 1 2.9-2.9l8.845 8.843.063.062 1.416 1.42-1.422 1.422-.055.055-8.849 8.848a2.047 2.047 0 0 1-2.9 0Z"}))),arrow_top_circle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.922 19.922 0 0 1 24 4.1M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0"}),(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M21.951 32.875V20.073l-5.376 5.375a2.05 2.05 0 0 1-2.9-2.9l8.852-8.849.048-.049 1.426-1.425 1.422 1.422.055.055 8.847 8.847a2.05 2.05 0 1 1-2.9 2.9l-5.374-5.376v12.8a2.05 2.05 0 0 1-4.1 0Z"}))),close_circle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.922 19.922 0 0 1 24 4.1M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0"}),(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"m29.655 32.553-5.656-5.656-5.654 5.656a2.05 2.05 0 0 1-2.9-2.9l5.656-5.654-5.656-5.654a2.05 2.05 0 0 1 2.9-2.9l5.654 5.656 5.656-5.656a2.05 2.05 0 0 1 2.9 2.9l-5.658 5.654 5.656 5.655a2.05 2.05 0 1 1-2.9 2.9Z"}))),close_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 31.1 31.25"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M27.1 30.153 15.549 18.601 4 30.153a2.05 2.05 0 0 1-2.9-2.9l11.551-11.55L1.1 4.153a2.05 2.05 0 0 1 2.9-2.9l11.549 11.552L27.1 1.253a2.05 2.05 0 0 1 2.9 2.9l-11.553 11.55L30 27.253a2.05 2.05 0 1 1-2.9 2.9Z"})),arrow_down_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.1 49.16"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M1.1 31A2.05 2.05 0 1 1 4 28.1l12.5 12.5V2.55a2.05 2.05 0 0 1 4.1 0V40.6l12.5-12.5A2.05 2.05 0 1 1 36 31L18.549 48.45Z"})),leftArrowLg:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.16 37.25"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M18.157 36.154 2.183 20.179l-.053-.053-1.423-1.423 17.45-17.449a2.05 2.05 0 0 1 2.9 2.9l-12.503 12.5h38.053a2.05 2.05 0 1 1 0 4.1H8.555l12.5 12.5a2.05 2.05 0 1 1-2.9 2.9Z"})),rightArrowLg:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.16 37.25"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M28.1 36.154a2.048 2.048 0 0 1 0-2.9l12.5-12.5H2.55a2.05 2.05 0 1 1 0-4.1H40.6l-12.5-12.5a2.05 2.05 0 1 1 2.9-2.9l17.45 17.448L31 36.154a2.047 2.047 0 0 1-2.9 0Z"})),arrow_up_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.1 49.16"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M16.5 46.607V8.555L4 21.055a2.05 2.05 0 0 1-2.9-2.9L18.549.707l1.423 1.423.053.053L36 18.157a2.05 2.05 0 1 1-2.9 2.9L20.6 8.556v38.051a2.05 2.05 0 1 1-4.1 0Z"})),down_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M.002 24a24 24 0 1 1 24 24 24 24 0 0 1-24-24m25.114 12.043 11.063-11.057a1.126 1.126 0 0 0-.795-1.921h-7.135V12.437a.952.952 0 0 0-.952-.951h-6.6a.95.95 0 0 0-.945.951v10.624h-7.136a1.126 1.126 0 0 0-.8 1.921l11.063 11.057a1.572 1.572 0 0 0 2.234 0"})),right_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0m12.043 25.114L24.986 36.177a1.125 1.125 0 0 1-1.92-.8v-7.135H12.438a.952.952 0 0 1-.951-.952v-6.6a.95.95 0 0 1 .951-.945h10.629v-7.136a1.126 1.126 0 0 1 1.92-.8l11.057 11.063a1.572 1.572 0 0 1 0 2.234"})),left_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M24 48A24 24 0 1 0 0 24a24 24 0 0 0 24 24M11.956 22.886l11.057-11.063a1.126 1.126 0 0 1 1.921.795v7.135h10.628a.952.952 0 0 1 .951.952v6.6a.95.95 0 0 1-.951.945H24.934v7.136a1.126 1.126 0 0 1-1.921.8L11.956 25.123a1.572 1.572 0 0 1 0-2.234"})),up_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M0 24A24 24 0 1 0 24 0 24 24 0 0 0 0 24m25.114-12.045 11.063 11.058a1.126 1.126 0 0 1-.795 1.921h-7.135v10.627a.952.952 0 0 1-.952.951h-6.6a.95.95 0 0 1-.945-.951V24.934h-7.136a1.126 1.126 0 0 1-.8-1.921l11.064-11.058a1.573 1.573 0 0 1 2.233 0"})),wrong_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M24 0a24 24 0 1 0 24 24A24.032 24.032 0 0 0 24 0m9.648 30.151a2.475 2.475 0 0 1-3.5 3.5l-6.139-6.138-6.151 6.138a2.475 2.475 0 0 1-3.5-3.5l6.15-6.139-6.15-6.15a2.475 2.475 0 1 1 3.5-3.5l6.151 6.151 6.139-6.151a2.475 2.475 0 1 1 3.5 3.5l-6.139 6.15Z"})),bottom_right_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.2 35.44"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M.5 32.893V22.62a10.284 10.284 0 0 1 10.272-10.272h29.871l-8.192-8.193a2.05 2.05 0 0 1 2.9-2.9l11.667 11.669.048.048 1.425 1.425-13.142 13.141a2.05 2.05 0 0 1-2.9-2.9l8.193-8.193h-29.87A6.178 6.178 0 0 0 4.6 22.62v10.273a2.05 2.05 0 0 1-4.1 0Z"})),bottom_left_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.2 35.29"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M44.6 32.738V22.465a6.179 6.179 0 0 0-6.173-6.172H8.555l8.192 8.193a2.05 2.05 0 1 1-2.9 2.9L.707 14.243 13.849 1.1a2.05 2.05 0 1 1 2.9 2.9l-8.194 8.193h29.872A10.285 10.285 0 0 1 48.7 22.465v10.273a2.05 2.05 0 0 1-4.1 0Z"})),top_left_angle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.2 35.29"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M13.849 34.186.707 21.046 13.849 7.9a2.05 2.05 0 1 1 2.9 2.9L8.556 19h29.871a6.179 6.179 0 0 0 6.173-6.17V2.55a2.05 2.05 0 1 1 4.1 0v10.276A10.283 10.283 0 0 1 38.427 23.1H8.556l8.191 8.192a2.05 2.05 0 1 1-2.9 2.9Z"})),top_right_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.2 35.29"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M32.452 34.186a2.048 2.048 0 0 1 0-2.9l8.192-8.186H10.772A10.283 10.283 0 0 1 .5 12.826V2.55a2.05 2.05 0 0 1 4.1 0v10.276a6.177 6.177 0 0 0 6.171 6.17h29.873L32.452 10.8a2.05 2.05 0 1 1 2.9-2.9l13.141 13.146-13.143 13.14a2.047 2.047 0 0 1-2.9 0Z"})),at_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.01 49"},(0,o.createElement)("g",null,(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M22.827 48.441A24 24 0 0 1 25.213.51c12.848.371 23.3 11.359 23.3 24.492a10.359 10.359 0 0 1-10.349 10.352 6.9 6.9 0 0 1-5.878-3.289 10.854 10.854 0 1 1-1.022-16.055v-.313a2.05 2.05 0 1 1 4.1 0v12.757a2.8 2.8 0 0 0 2.8 2.8 6.255 6.255 0 0 0 6.249-6.252c0-10.94-8.663-20.091-19.312-20.4a20.089 20.089 0 0 0-15 6.172 19.723 19.723 0 0 0-5.426 15.328 19.9 19.9 0 0 0 32.162 14.02 2.05 2.05 0 1 1 2.542 3.217 23.974 23.974 0 0 1-14.887 5.163q-.832 0-1.665-.061Zm-5.071-23.939a6.754 6.754 0 1 0 6.757-6.757 6.762 6.762 0 0 0-6.757 6.757Z"}))),refresh:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 491.236 491.236",version:"1.1",viewBox:"0 0 491.24 491.24"},(0,o.createElement)("path",{d:"m55.89 262.82c-3-26-0.5-51.1 6.3-74.3 22.6-77.1 93.5-133.8 177.6-134.8v-50.4c0-2.8 3.5-4.3 5.8-2.6l103.7 76.2c1.7 1.3 1.7 3.9 0 5.1l-103.6 76.2c-2.4 1.7-5.8 0.2-5.8-2.6v-50.3c-55.3 0.9-102.5 35-122.8 83.2-7.7 18.2-11.6 38.3-10.5 59.4 1.5 29 12.4 55.7 29.6 77.3 9.2 11.5 7 28.3-4.9 37-11.3 8.3-27.1 6-35.8-5-21.3-26.6-35.5-59-39.6-94.4zm299.4-96.8c17.3 21.5 28.2 48.3 29.6 77.3 1.1 21.2-2.9 41.3-10.5 59.4-20.3 48.2-67.5 82.4-122.8 83.2v-50.3c0-2.8-3.5-4.3-5.8-2.6l-103.7 76.2c-1.7 1.3-1.7 3.9 0 5.1l103.6 76.2c2.4 1.7 5.8 0.2 5.8-2.6v-50.4c84.1-0.9 155.1-57.6 177.6-134.8 6.8-23.2 9.2-48.3 6.3-74.3-4-35.4-18.2-67.8-39.5-94.4-8.8-11-24.5-13.3-35.8-5-11.8 8.7-14 25.5-4.8 37z"})),cart_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44.45 44.14"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M16.72 37.679a3.232 3.232 0 1 0 3.232 3.231 3.234 3.234 0 0 0-3.232-3.231"}),(0,o.createElement)("path",{d:"M33.751 37.679a3.232 3.232 0 1 0 3.232 3.231 3.234 3.234 0 0 0-3.232-3.231"}),(0,o.createElement)("path",{d:"M43.4 6.841A4.557 4.557 0 0 0 39.888 5.2H9.727A6.3 6.3 0 0 0 3.567 0H2.05a2.05 2.05 0 1 0 0 4.1h1.517a2.177 2.177 0 0 1 2.14 1.844l3.2 21.424a8.818 8.818 0 0 0 8.669 7.47h19.2a2.05 2.05 0 1 0 0-4.1h-19.2a4.694 4.694 0 0 1-4.614-3.977l-.022-.145h23.628a5.817 5.817 0 0 0 5.718-4.755l2.091-11.266a4.558 4.558 0 0 0-.977-3.754m-5.145 14.271a1.715 1.715 0 0 1-1.687 1.4H12.332L10.354 9.3h29.534a.466.466 0 0 1 .458.551Z"}))),cart_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44.46 44.14"},(0,o.createElement)("defs",null,(0,o.createElement)("clipPath",null,(0,o.createElement)("path",{d:"M0 0h44.458v44.14H0z"}))),(0,o.createElement)("g",{"clip-path":"url(#a)"},(0,o.createElement)("path",{d:"M19.95 40.91a3.23 3.23 0 1 1-3.23-3.23 3.235 3.235 0 0 1 3.23 3.23"}),(0,o.createElement)("path",{d:"M36.99 40.91a3.235 3.235 0 1 1-3.24-3.23 3.237 3.237 0 0 1 3.24 3.23"}),(0,o.createElement)("path",{d:"M43.4 6.84a4.568 4.568 0 0 0-3.51-1.64H9.73A6.3 6.3 0 0 0 3.57 0H2.05a2.05 2.05 0 0 0 0 4.1h1.52a2.179 2.179 0 0 1 2.14 1.84l3.2 21.43a8.826 8.826 0 0 0 8.67 7.47h19.2a2.05 2.05 0 1 0 0-4.1h-19.2a4.693 4.693 0 0 1-4.61-3.98l-.02-.14h23.62a5.819 5.819 0 0 0 5.72-4.76l2.09-11.26a4.567 4.567 0 0 0-.98-3.76m-10.96 9.79a.48.48 0 0 1-.48.48h-4.08a.48.48 0 0 0-.48.48v4.08a.48.48 0 0 1-.48.48h-2.04a.487.487 0 0 1-.48-.48v-4.08a.474.474 0 0 0-.48-.48h-4.08a.487.487 0 0 1-.48-.48v-2.04a.48.48 0 0 1 .48-.48h4.08a.48.48 0 0 0 .48-.48V9.55a.48.48 0 0 1 .48-.48h2.04a.474.474 0 0 1 .48.48v4.08a.487.487 0 0 0 .48.48h4.08a.474.474 0 0 1 .48.48Z"}))),cog_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47.02 47.02"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"m26.755 4.404 3.5.939-.432 3.236-.324 2.43 1.987 1.435a12.34 12.34 0 0 1 3.091 3.091l1.435 1.987 2.43-.324 3.236-.432.939 3.5-3 1.237-2.272.937-.246 2.444a13.573 13.573 0 0 1-1.143 4.222l-1 2.238 1.5 1.944 1.989 2.582-2.565 2.565-2.583-1.989-1.944-1.5-2.238 1.006a13.632 13.632 0 0 1-4.221 1.143l-2.445.245-.936 2.272-1.237 3-3.5-.939.432-3.235.324-2.429-1.986-1.436a12.3 12.3 0 0 1-3.092-3.092l-1.436-1.986-2.429.324-3.236.431-.938-3.5 3-1.237 2.271-.936.246-2.445a13.644 13.644 0 0 1 1.143-4.222l1.005-2.238-1.5-1.943-1.989-2.583 2.564-2.565 2.583 1.989 1.944 1.5 2.238-1.005a13.613 13.613 0 0 1 4.222-1.144l2.444-.245.936-2.271Zm-.928-4.4a2.529 2.529 0 0 0-2.337 1.565l-1.763 4.278a17.735 17.735 0 0 0-5.492 1.483l-3.677-2.832a2.527 2.527 0 0 0-3.33.216L4.71 9.231a2.528 2.528 0 0 0-.215 3.33l2.831 3.677a17.765 17.765 0 0 0-1.483 5.492l-4.277 1.764a2.527 2.527 0 0 0-1.479 2.991l1.654 6.171a2.53 2.53 0 0 0 2.776 1.852l4.6-.614a16.438 16.438 0 0 0 4.013 4.013l-.614 4.6a2.527 2.527 0 0 0 1.852 2.776l6.17 1.654a2.56 2.56 0 0 0 .656.086 2.528 2.528 0 0 0 2.336-1.565l1.763-4.278a17.732 17.732 0 0 0 5.493-1.482l3.676 2.831a2.53 2.53 0 0 0 3.331-.215l4.517-4.518a2.528 2.528 0 0 0 .216-3.33l-2.832-3.677a17.738 17.738 0 0 0 1.483-5.492l4.278-1.763a2.529 2.529 0 0 0 1.478-2.992l-1.653-6.171a2.528 2.528 0 0 0-2.44-1.874 2.562 2.562 0 0 0-.337.022l-4.6.615a16.347 16.347 0 0 0-4.013-4.013l.614-4.6a2.528 2.528 0 0 0-1.851-2.776L26.482.092a2.506 2.506 0 0 0-.655-.087"}),(0,o.createElement)("path",{d:"M23.513 19.631a3.877 3.877 0 1 1-2.742 1.136 3.851 3.851 0 0 1 2.742-1.136m0-4.1a7.977 7.977 0 1 0 5.641 2.337 7.952 7.952 0 0 0-5.641-2.337"}))),cog_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"m47.916 20.964-1.7-6.3a2.568 2.568 0 0 0-2.828-1.889l-4.706.623a19.016 19.016 0 0 0-1.868-2.225 18.136 18.136 0 0 0-2.225-1.868l.622-4.7a2.579 2.579 0 0 0-1.888-2.838l-6.3-1.684a2.569 2.569 0 0 0-3.052 1.511l-1.8 4.358a18.146 18.146 0 0 0-5.614 1.521L12.81 4.585a2.57 2.57 0 0 0-3.4.214L4.796 9.413a2.584 2.584 0 0 0-.225 3.4l2.889 3.756a18.282 18.282 0 0 0-1.511 5.6l-4.369 1.8a2.58 2.58 0 0 0-1.5 3.052l1.685 6.3a2.578 2.578 0 0 0 2.838 1.888l4.7-.622a16.716 16.716 0 0 0 4.093 4.093l-.623 4.706a2.561 2.561 0 0 0 1.889 2.827l6.3 1.695a2.58 2.58 0 0 0 3.052-1.511l1.807-4.369a18.124 18.124 0 0 0 5.6-1.511l3.747 2.889a2.6 2.6 0 0 0 3.409-.224l4.6-4.6a2.585 2.585 0 0 0 .225-3.4l-2.889-3.757a18.143 18.143 0 0 0 1.511-5.6l4.369-1.806a2.591 2.591 0 0 0 1.511-3.052m-17.622 9.327a8.9 8.9 0 1 1 0-12.592 8.895 8.895 0 0 1 0 12.592"})),correct_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M24 0a24 24 0 1 0 24 24A24.032 24.032 0 0 0 24 0m12.808 18.247L21.877 33.19a2.68 2.68 0 0 1-1.917.784h-.012a2.724 2.724 0 0 1-1.918-.784l-6.826-6.839a2.475 2.475 0 1 1 3.5-3.5l5.247 5.258 13.362-13.362a2.475 2.475 0 1 1 3.5 3.5"})),dot_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16.39 16.39"},(0,o.createElement)("path",{d:"M16.389 8.194A8.194 8.194 0 1 1 8.195 0a8.194 8.194 0 0 1 8.194 8.194"})),clock:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 559.98 559.98",viewBox:"0 0 559.98 559.98"},(0,o.createElement)("path",{d:"m279.99 0c-154.39 0-279.99 125.6-279.99 279.99 0 154.39 125.6 279.99 279.99 279.99 154.39 0 279.99-125.6 279.99-279.99s-125.6-279.99-279.99-279.99zm0 498.78c-120.64 0-218.79-98.146-218.79-218.79 0-120.64 98.146-218.79 218.79-218.79s218.79 98.152 218.79 218.79c0 120.64-98.146 218.79-218.79 218.79z"}),(0,o.createElement)("path",{d:"m304.23 280.33v-117.35c0-13.103-10.618-23.721-23.716-23.721-13.102 0-23.721 10.618-23.721 23.721v124.93c0 0.373 0.092 0.723 0.11 1.096-0.312 6.45 1.91 12.999 6.836 17.926l88.343 88.336c9.266 9.266 24.284 9.266 33.543 0 9.26-9.266 9.266-24.284 0-33.544l-81.395-81.392z"})),book:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 485.5 485.5",viewBox:"0 0 485.5 485.5"},(0,o.createElement)("path",{d:"m422.1 126.2h-295.7c-27.4 0-49.8-22.3-49.8-49.8 0-27.4 22.3-49.8 49.8-49.8h295.8c7.4 0 13.3-6 13.3-13.3 0-7.4-6-13.3-13.3-13.3h-295.8c-42.1 0-76.4 34.3-76.4 76.4v332.7c0 42.1 34.3 76.4 76.4 76.4h295.8c7.4 0 13.3-6 13.3-13.3v-332.7c-0.1-7.3-6-13.3-13.4-13.3zm-13.3 332.7h-282.4c-27.4 0-49.8-22.3-49.8-49.8v-274.7c13.4 11.5 30.8 18.5 49.8 18.5h282.4v306z"}),(0,o.createElement)("path",{d:"M130.6,64.3c-7.4,0-13.3,6-13.3,13.3s6,13.3,13.3,13.3h249.8c7.4,0,13.3-6,13.3-13.3s-6-13.3-13.3-13.3H130.6z"}),(0,o.createElement)("path",{d:"m177.4 400.7c1.5 0.5 3 0.8 4.5 0.8 5.5 0 10.6-3.4 12.5-8.8l16.2-45.3h62.4c0.5 0 1.1 0 1.6-0.1l16.2 45.4c1.9 5.4 7.1 8.8 12.5 8.8 1.5 0 3-0.3 4.5-0.8 6.9-2.5 10.5-10.1 8-17l-60.6-169.9c-0.1-0.4-0.3-0.8-0.5-1.2l-0.6-1.2c-0.1-0.2-0.3-0.4-0.4-0.7-0.1-0.1-0.2-0.3-0.3-0.4-0.1-0.2-0.3-0.4-0.5-0.6-0.1-0.1-0.2-0.3-0.4-0.4-0.1-0.2-0.3-0.3-0.5-0.5s-0.3-0.3-0.5-0.5c-0.1-0.1-0.3-0.2-0.4-0.4-0.2-0.2-0.4-0.3-0.6-0.5-0.1-0.1-0.3-0.2-0.4-0.3-0.2-0.1-0.4-0.3-0.6-0.4l-0.6-0.3s-0.4-0.2-0.6-0.3c-0.4-0.2-0.8-0.4-1.2-0.5h-0.1l-1.2-0.3c-0.2 0-0.3-0.1-0.5-0.1-0.3-0.1-0.5-0.1-0.8-0.2-0.2 0-0.4 0-0.6-0.1-0.2 0-0.5-0.1-0.7-0.1s-0.4 0-0.6 0h-0.7c-0.2 0-0.5 0-0.7 0.1-0.2 0-0.4 0-0.6 0.1-0.3 0-0.5 0.1-0.8 0.2-0.2 0-0.3 0.1-0.5 0.1-0.4 0.1-0.8 0.2-1.1 0.3h-0.1c-0.4 0.1-0.8 0.3-1.2 0.5l-1.2 0.6c-0.2 0.1-0.4 0.3-0.7 0.4-0.1 0.1-0.3 0.2-0.4 0.3-0.2 0.2-0.4 0.3-0.6 0.5-0.1 0.1-0.3 0.2-0.4 0.4l-0.5 0.5s-0.3 0.3-0.5 0.5c-0.1 0.1-0.2 0.3-0.4 0.4-0.2 0.2-0.3 0.4-0.5 0.6-0.1 0.1-0.2 0.3-0.3 0.4-0.1 0.2-0.3 0.4-0.4 0.6l-0.6 1.2c-0.2 0.4-0.4 0.8-0.5 1.2l-60.8 169.9c-2.2 7 1.4 14.6 8.3 17.1zm65.3-142.9 22.5 63h-45.1l22.6-63z"})),download_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 42 41.99"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M21 32.48 9.307 20.786a2.05 2.05 0 0 1 2.9-2.9l8.8 8.794 8.795-8.794a2.05 2.05 0 0 1 2.9 2.9Z"}),(0,o.createElement)("path",{d:"M21 31.625a2.05 2.05 0 0 1-2.05-2.05V2.045a2.05 2.05 0 1 1 4.1 0v27.53a2.05 2.05 0 0 1-2.05 2.05"}),(0,o.createElement)("path",{d:"M37.603 41.992H4.397a4.368 4.368 0 0 1-4.4-4.331v-8.693a2.05 2.05 0 0 1 4.1 0v8.693a.273.273 0 0 0 .3.231h33.206a.273.273 0 0 0 .3-.231v-8.693a2.05 2.05 0 1 1 4.1 0v8.693a4.368 4.368 0 0 1-4.4 4.331"}))),download_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 41.6"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M30.777 0a17.252 17.252 0 0 0-15.969 10.734 12.026 12.026 0 1 0-5.2 23.479 2.084 2.084 0 0 0 .413.042 2.051 2.051 0 0 0 .409-4.06 7.924 7.924 0 0 1 1.6-15.686 7.84 7.84 0 0 1 3.231.691l2.2.986.617-2.333a13.132 13.132 0 0 1 25.821 3.372 12.993 12.993 0 0 1-4.169 9.6 2.052 2.052 0 0 0 2.8 3A17.229 17.229 0 0 0 30.779.002"}),(0,o.createElement)("path",{d:"M34.188 29.466h-5.18V15.578a1.164 1.164 0 0 0-1.164-1.164h-3.94a1.164 1.164 0 0 0-1.164 1.164v13.888h-5.18a1.164 1.164 0 0 0-.888 1.917l8.314 9.8a1.164 1.164 0 0 0 1.775 0l8.315-9.8a1.164 1.164 0 0 0-.888-1.917"}))),downlod_bottom_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"m35.531 19.421-15.929 15.91a2.257 2.257 0 0 1-3.208 0L.479 19.421a1.617 1.617 0 0 1 1.152-2.762H11.89V1.381A1.379 1.379 0 0 1 13.257 0h9.482a1.369 1.369 0 0 1 1.367 1.381v15.278H34.38a1.623 1.623 0 0 1 1.151 2.762"}),(0,o.createElement)("path",{d:"M34.743 48H1.259a1.257 1.257 0 0 1-1.257-1.257v-4.762a1.257 1.257 0 0 1 1.257-1.257h33.486a1.257 1.257 0 0 1 1.257 1.257v4.762A1.257 1.257 0 0 1 34.745 48"}))),eye:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 35.9"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24.001 4.1c6.315 0 12.993 4.6 19.847 13.684a.3.3 0 0 1 0 .337c-6.854 9.08-13.532 13.683-19.847 13.683s-12.993-4.6-19.847-13.683a.3.3 0 0 1 0-.337C11.008 8.704 17.686 4.1 24.001 4.1m0-4.1Q12.44 0 .881 15.313a4.395 4.395 0 0 0 0 5.278q11.559 15.312 23.12 15.313T47.12 20.591a4.393 4.393 0 0 0 0-5.277Q35.561.001 24.001 0"}),(0,o.createElement)("path",{d:"M24.001 13.284a4.669 4.669 0 1 1-4.669 4.669 4.674 4.674 0 0 1 4.669-4.669m0-4.1a8.769 8.769 0 1 0 8.769 8.769 8.769 8.769 0 0 0-8.769-8.769"}))),hidden_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.24 41"},(0,o.createElement)("g",null,(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"m41.124 39.9-5.14-5.14a20.7 20.7 0 0 1-11.36 3.69q-11.565 0-23.12-15.311a4.409 4.409 0 0 1 0-5.279 56.335 56.335 0 0 1 8.44-9.14L5.224 4a2.051 2.051 0 0 1 2.9-2.9l35.9 35.9a2.05 2.05 0 0 1-2.9 2.9ZM4.771 20.33a.3.3 0 0 0 0 .34c6.861 9.08 13.531 13.68 19.853 13.68a16.26 16.26 0 0 0 8.38-2.57l-3.8-3.8a8.771 8.771 0 0 1-13.353-7.48 8.584 8.584 0 0 1 1.3-4.57l-4.3-4.3a51.722 51.722 0 0 0-8.08 8.7Zm15.18.17a4.675 4.675 0 0 0 4.673 4.67 4.743 4.743 0 0 0 1.52-.25l-5.93-5.93a4.437 4.437 0 0 0-.262 1.51Zm19.46 6.09a60.236 60.236 0 0 0 5.06-5.92.3.3 0 0 0 0-.34c-6.86-9.08-13.53-13.68-19.847-13.68a14.119 14.119 0 0 0-4.42.73l-3.18-3.18a18.991 18.991 0 0 1 7.6-1.65q11.565 0 23.12 15.31a4.409 4.409 0 0 1 0 5.279 62.616 62.616 0 0 1-5.431 6.35Z"}))),home_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 42 42"},(0,o.createElement)("path",{d:"m21.002 4.511 16.9 13.6V37.9h-9.05V22.61a4.215 4.215 0 0 0-4.21-4.21h-7.28a4.215 4.215 0 0 0-4.21 4.21V37.9h-9.05V18.111Zm0-4.511a2.647 2.647 0 0 0-1.663.586L.992 15.352a2.65 2.65 0 0 0-.99 2.068v21.93a2.652 2.652 0 0 0 2.652 2.652h11.948a2.652 2.652 0 0 0 2.652-2.652V22.61a.11.11 0 0 1 .11-.11h7.28a.11.11 0 0 1 .11.11v16.738A2.652 2.652 0 0 0 27.406 42h11.946a2.652 2.652 0 0 0 2.652-2.652V17.42a2.653 2.653 0 0 0-.989-2.066L22.667.588a2.645 2.645 0 0 0-1.663-.586"})),home_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 42 42"},(0,o.createElement)("path",{d:"M42 17.418v21.93A2.652 2.652 0 0 1 39.348 42H28.402a2.652 2.652 0 0 1-2.652-2.652V23.205a1.705 1.705 0 0 0-1.705-1.705h-6.09a1.705 1.705 0 0 0-1.7 1.705v16.143A2.652 2.652 0 0 1 13.603 42H2.652A2.652 2.652 0 0 1 0 39.348v-21.93a2.653 2.653 0 0 1 .989-2.066L19.337.586a2.654 2.654 0 0 1 3.326 0l18.348 14.768A2.653 2.653 0 0 1 42 17.42"})),location_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M18 4.1A13.916 13.916 0 0 1 31.9 18c0 8.944-8.482 19.142-13.9 24.445-5.42-5.3-13.9-15.5-13.9-24.445A13.916 13.916 0 0 1 18 4.1M18 0A18 18 0 0 0 0 18c0 14.9 18 30 18 30s18-15.1 18-30A18 18 0 0 0 18 0"}),(0,o.createElement)("path",{d:"M18 12.301a5.7 5.7 0 1 1-5.7 5.7 5.706 5.706 0 0 1 5.7-5.7m0-4.1a9.8 9.8 0 1 0 9.8 9.8 9.8 9.8 0 0 0-9.8-9.8"}))),location_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 48"},(0,o.createElement)("path",{d:"M18 0A18 18 0 0 0 0 18c0 14.9 18 30 18 30s18-15.1 18-30A18 18 0 0 0 18 0m0 27.8a9.8 9.8 0 1 1 9.8-9.8 9.8 9.8 0 0 1-9.8 9.8"})),love_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46 41"},(0,o.createElement)("path",{d:"M12.724 4.1a8.539 8.539 0 0 1 6.1 2.529l1.285 1.285 2.912 2.912 2.9-2.925 1.258-1.269a8.624 8.624 0 1 1 12.2 12.192l-1.286 1.286-15.084 15.093L7.916 20.109 6.63 18.824a8.635 8.635 0 0 1 .007-12.2 8.533 8.533 0 0 1 6.091-2.522m0-4.1a12.726 12.726 0 0 0-9 21.723l1.286 1.286 17.993 17.993L40.99 23.011l1.285-1.286A12.723 12.723 0 0 0 24.281 3.732l-1.274 1.285-1.285-1.285a12.646 12.646 0 0 0-9-3.73"})),love_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46 39.92"},(0,o.createElement)("path",{d:"M46.004 12.889a16.521 16.521 0 0 1-1.227 5.493C39.998 30.36 23.004 39.917 23.004 39.917s-17-9.557-21.773-21.535a16.518 16.518 0 0 1-1.227-5.493 12.893 12.893 0 0 1 23-8 12.889 12.889 0 0 1 23 8"})),notice_circle_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M24.002 0a24 24 0 1 0 24 24 24.032 24.032 0 0 0-24-24m2.51 37.17a3.557 3.557 0 0 1-5.03-5.03 3.6 3.6 0 0 1 2.52-1.04 3.551 3.551 0 0 1 3.55 3.55 3.6 3.6 0 0 1-1.04 2.52m1.04-13.57a3.55 3.55 0 1 1-7.1 0V13.34a3.55 3.55 0 1 1 7.1 0Z"})),notice_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 42.2"},(0,o.createElement)("path",{d:"M47.67 38.57 26.105 1.218a2.417 2.417 0 0 0-4.2 0L.328 38.57a2.42 2.42 0 0 0 2.1 3.632h43.143a2.42 2.42 0 0 0 2.1-3.632m-21.915-3.529a2.473 2.473 0 1 1 .724-1.748 2.456 2.456 0 0 1-.724 1.748m.724-9.471a2.473 2.473 0 1 1-4.945 0V15.148a2.473 2.473 0 0 1 4.945 0Z"})),pause_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.87 42"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M9.583 42.002H1.992A1.992 1.992 0 0 1 0 40.01V1.991A1.992 1.992 0 0 1 1.992 0h7.591a1.991 1.991 0 0 1 1.991 1.991v38.018a1.992 1.992 0 0 1-1.991 1.992"}),(0,o.createElement)("path",{d:"M30.88 42.002h-7.59a1.992 1.992 0 0 1-1.992-1.992V1.991A1.992 1.992 0 0 1 23.29 0h7.59a1.991 1.991 0 0 1 1.991 1.991v38.018a1.992 1.992 0 0 1-1.991 1.992"}))),play_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.922 19.922 0 0 1 24 4.1M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0"}),(0,o.createElement)("path",{d:"M19.961 16.237v15.526L31.175 24Z"}))),videoplay:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.06 42"},(0,o.createElement)("path",{d:"M30.717 18.446 4.87.557A3.106 3.106 0 0 0-.004 3.111v35.778a3.106 3.106 0 0 0 4.874 2.554l25.843-17.889a3.105 3.105 0 0 0 0-5.107"})),left_angle_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.06 42"},(0,o.createElement)("path",{d:"M1.339 18.446 27.182.557a3.106 3.106 0 0 1 4.874 2.554v35.778a3.106 3.106 0 0 1-4.874 2.554L1.339 23.554a3.105 3.105 0 0 1 0-5.107"})),caretArrow:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 292.36 292.36"},(0,o.createElement)("path",{d:"m286.94 197.29-127.91-127.91c-3.613-3.617-7.895-5.424-12.847-5.424s-9.233 1.807-12.85 5.424l-127.91 127.91c-3.617 3.617-5.424 7.899-5.424 12.847s1.807 9.233 5.424 12.847c3.621 3.617 7.902 5.425 12.85 5.425h255.81c4.949 0 9.233-1.808 12.848-5.425 3.613-3.613 5.427-7.898 5.427-12.847s-1.814-9.23-5.427-12.847z"})),rectangle_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16.39 16.39"},(0,o.createElement)("path",{d:"M0 0h16.389v16.389H0z"})),restriction_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49 49"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M.5 24.5a24 24 0 1 1 24 24 24 24 0 0 1-24-24Zm24 19.9a19.89 19.89 0 0 0 15.44-32.441L11.958 39.94A19.809 19.809 0 0 0 24.5 44.4ZM4.6 24.5a19.808 19.808 0 0 0 4.46 12.542L37.041 9.06A19.891 19.891 0 0 0 4.6 24.5Z"})),right_circle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.922 19.922 0 0 1 24 4.1M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0"}),(0,o.createElement)("path",{d:"M20.333 32.836a2.258 2.258 0 0 1-1.6-.664l-6.179-6.178a2.05 2.05 0 0 1 2.9-2.9l4.885 4.884 12.217-12.216a2.05 2.05 0 0 1 2.9 2.9l-13.51 13.51a2.259 2.259 0 0 1-1.6.664"}))),save_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40.1 28.53"},(0,o.createElement)("path",{d:"M13.451 28.532a2.428 2.428 0 0 1-1.73-.716L.6 16.696a2.05 2.05 0 0 1 2.9-2.9l9.952 9.95L36.601.598a2.05 2.05 0 0 1 2.9 2.9L15.183 27.816a2.428 2.428 0 0 1-1.73.716"})),search_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47.05 47.05"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"m43.051 45.948-9.618-9.616a20.183 20.183 0 1 1 2.9-2.9l9.617 9.616a2.05 2.05 0 1 1-2.9 2.9Zm-22.367-9.179A16.084 16.084 0 1 0 4.6 20.684a16.1 16.1 0 0 0 16.084 16.085Z"})),search_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44 44"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M15.772 12.518a2.3 2.3 0 0 0-3.254 0 8.572 8.572 0 0 0 0 12.125 2.301 2.301 0 0 0 3.254-3.255 3.97 3.97 0 0 1 0-5.615 2.3 2.3 0 0 0 0-3.255"}),(0,o.createElement)("path",{d:"m42.83 38.178-9.589-8.208a18.627 18.627 0 1 0-3.268 3.267l8.209 9.589a3.294 3.294 0 1 0 4.648-4.648m-24.25-5.624a13.978 13.978 0 1 1 13.977-13.977A13.993 13.993 0 0 1 18.58 32.554"}))),triangle_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.92 16.39"},(0,o.createElement)("path",{d:"M9.462 0 0 16.389h18.924Z"})),warning_circle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.922 19.922 0 0 1 24 4.1M24 0a24 24 0 1 0 24 24A24 24 0 0 0 24 0"}),(0,o.createElement)("path",{d:"M24 27.789a2.05 2.05 0 0 1-2.05-2.05V15.448a2.05 2.05 0 0 1 4.1 0v10.291a2.05 2.05 0 0 1-2.05 2.05"}),(0,o.createElement)("path",{d:"M24 35.161a2.05 2.05 0 1 1 2.049-2.05A2.05 2.05 0 0 1 24 35.161"}))),warning_triangle_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 43.19"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M23.999 27.248a2.05 2.05 0 0 1-2.05-2.05V14.907a2.05 2.05 0 0 1 4.1 0v10.291a2.05 2.05 0 0 1-2.05 2.05"}),(0,o.createElement)("path",{d:"M23.999 34.621a2.05 2.05 0 1 1 2.05-2.05 2.05 2.05 0 0 1-2.05 2.05"}),(0,o.createElement)("path",{d:"M23.999 4.1a1.975 1.975 0 0 1 1.739 1l17.887 30.978a2.009 2.009 0 0 1-1.739 3.013H6.116a2.009 2.009 0 0 1-1.739-3.013L22.26 5.104a1.975 1.975 0 0 1 1.739-1m0-4.1a6.051 6.051 0 0 0-5.29 3.055L.825 34.029a6.107 6.107 0 0 0 5.289 9.161H41.88a6.108 6.108 0 0 0 5.29-9.161L29.287 3.055A6.05 6.05 0 0 0 23.997 0"}))),upload_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 41.6"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M30.777 0a17.253 17.253 0 0 0-15.97 10.731 12.026 12.026 0 1 0-5.2 23.48 2.09 2.09 0 0 0 .413.042 2.051 2.051 0 0 0 .409-4.06 7.924 7.924 0 0 1 1.6-15.685 7.85 7.85 0 0 1 3.23.689l2.2.988.618-2.333a13.132 13.132 0 0 1 25.821 3.372 13 13 0 0 1-4.17 9.6 2.052 2.052 0 0 0 2.8 3A17.227 17.227 0 0 0 30.778.003"}),(0,o.createElement)("path",{d:"M26.761 14.824a1.164 1.164 0 0 0-1.775 0l-8.314 9.8a1.164 1.164 0 0 0 .888 1.917h5.179v13.888a1.164 1.164 0 0 0 1.164 1.164h3.941a1.164 1.164 0 0 0 1.164-1.164V26.546h5.179a1.164 1.164 0 0 0 .888-1.917Z"}))),cat1:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 41.903 50"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M41.904.999v17.31l-.453.813-1.846 1.143a3.248 3.248 0 0 0-1.546 2.766v17.817a1 1 0 0 1-1 1h-1.6a2.141 2.141 0 0 0-.366.021V11.046a3.265 3.265 0 0 0-3.255-3.255H3.888A3.883 3.883 0 0 1 1.142 1.16 3.8 3.8 0 0 1 3.888 0h37.02a1 1 0 0 1 .996.999Z"}),(0,o.createElement)("path",{d:"M31.222 10.68H3.885A6.73 6.73 0 0 1 0 9.459v36.656A3.885 3.885 0 0 0 3.885 50h27.337a.978.978 0 0 0 .979-.978V11.658a.978.978 0 0 0-.979-.978Zm-12.243 34.5H6.916a1.444 1.444 0 0 1 0-2.888h12.063a1.444 1.444 0 0 1 0 2.888Zm0-6.55H6.916a1.444 1.444 0 1 1 0-2.888h12.063a1.444 1.444 0 0 1 0 2.888Z"}))),cat2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 42.76 50"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M39.837 0H6.08A6.081 6.081 0 0 0 .001 6.081v37.841A6.085 6.085 0 0 0 6.08 50h25.051a2.927 2.927 0 0 0 2.923-2.923v-4.068a.331.331 0 0 1 .33-.331h2.006a2.926 2.926 0 0 0 2.923-2.923V23.23a.33.33 0 0 1 .155-.281l1.919-1.2a2.908 2.908 0 0 0 1.374-2.479V2.923A2.927 2.927 0 0 0 39.837 0Zm-8.376 47.077a.331.331 0 0 1-.331.331H6.08a3.49 3.49 0 0 1-3.487-3.486V11.06a6.048 6.048 0 0 0 3.487 1.1h25.051a.331.331 0 0 1 .331.331Zm8.707-27.8a.331.331 0 0 1-.156.281l-1.918 1.2a2.906 2.906 0 0 0-1.374 2.479v16.522a.331.331 0 0 1-.331.331h-2.006a2.76 2.76 0 0 0-.33.019V12.493A2.927 2.927 0 0 0 31.13 9.57H6.08a3.489 3.489 0 0 1 0-6.978h33.757a.332.332 0 0 1 .331.331Z"}),(0,o.createElement)("path",{d:"M19.602 34.623h-10.8a1.3 1.3 0 1 0 0 2.592h10.8a1.3 1.3 0 0 0 0-2.592ZM19.602 40.484h-10.8a1.3 1.3 0 0 0 0 2.592h10.8a1.3 1.3 0 0 0 0-2.592Z"}))),cat3:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 42.669"},(0,o.createElement)("path",{d:"M43.86 42.669H6.141a6.146 6.146 0 0 1-6.139-6.14V13.972a6.146 6.146 0 0 1 6.139-6.139h16.146a2.578 2.578 0 0 0 1.559-.529l7.778-5.95a6.607 6.607 0 0 1 4-1.354h8.243a6.146 6.146 0 0 1 6.14 6.139v30.39a6.146 6.146 0 0 1-6.147 6.14ZM6.141 11.843a2.134 2.134 0 0 0-2.13 2.131v22.557a2.133 2.133 0 0 0 2.13 2.131h37.721a2.133 2.133 0 0 0 2.131-2.131V6.143a2.133 2.133 0 0 0-2.131-2.13h-8.243a2.583 2.583 0 0 0-1.559.528l-7.777 5.95a6.606 6.606 0 0 1-3.995 1.353Z"})),cat4:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.999 43.039"},(0,o.createElement)("g",null,(0,o.createElement)("g",null,(0,o.createElement)("g",{transform:"translate(-504.441 -266.472)"},(0,o.createElement)("rect",{width:"41.146",height:"29.051",rx:"1.176",transform:"translate(513.295 280.459)"})),(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M3.029 43.039H0V4.828A4.831 4.831 0 0 1 4.825.002h9.652a4.85 4.85 0 0 1 2.975 1.026l5.381 4.214a1.8 1.8 0 0 0 1.107.382h15.607v3.03H23.94a4.845 4.845 0 0 1-2.975-1.027l-5.381-4.213a1.805 1.805 0 0 0-1.107-.382H4.825a1.8 1.8 0 0 0-1.8 1.8Z"}))))),cat5:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 41.557"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M28.107 12.77a5.549 5.549 0 0 0 3.7-1.4l5.451-4.809a3.206 3.206 0 0 1 2.124-.8h5.036v-3.9A1.853 1.853 0 0 0 42.561.005h-10.1a1.888 1.888 0 0 0-1.229.454l-5.45 4.821a6.926 6.926 0 0 1-4.6 1.737H1.852a1.864 1.864 0 0 0-1.857 1.87V33.93a1.865 1.865 0 0 0 1.857 1.87h3.714V15.98a3.216 3.216 0 0 1 3.206-3.206Z"}),(0,o.createElement)("path",{d:"M48.876 8.429h-9.26l-.753.285-5.279 4.657a8.291 8.291 0 0 1-5.477 2.071H9.382a1.142 1.142 0 0 0-1.139 1.139v23.837a1.142 1.142 0 0 0 1.139 1.139h39.48a1.142 1.142 0 0 0 1.139-1.139V9.554a1.125 1.125 0 0 0-1.125-1.125Z"}))),cat6:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50.001 40.271"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M49.354 15.089a4.21 4.21 0 0 0-3.416-1.5h-1.842v-1.774a4.741 4.741 0 0 0-4.734-4.738h-18.2a2.348 2.348 0 0 1-2.348-2.343A4.741 4.741 0 0 0 14.08-.004H4.735A4.744 4.744 0 0 0-.004 4.734v30.8a4.725 4.725 0 0 0 1.544 3.492 4.178 4.178 0 0 0 2.745 1.222c.041 0 .077.005.107.006h.092c.083 0 .164.011.249.011H39.36c2.5 0 4.894-1.614 5.452-3.676l5.065-18.7a3.157 3.157 0 0 0-.523-2.8ZM4.739 2.389h9.341a2.349 2.349 0 0 1 2.344 2.348 4.741 4.741 0 0 0 4.738 4.734h18.2a2.347 2.347 0 0 1 2.343 2.347v1.774h-30.39c-2.5 0-4.894 1.615-5.452 3.676L2.391 30.085V4.738A2.35 2.35 0 0 1 4.739 2.39ZM47.57 17.268l-5.065 18.7a3.326 3.326 0 0 1-3.068 1.908h-34.7a1.783 1.783 0 0 1-.179-.009l-.078-.006a2.319 2.319 0 0 1-1.266-.549.786.786 0 0 1-.111-.72l5.065-18.7a3.343 3.343 0 0 1 3.145-1.91h34.623a1.908 1.908 0 0 1 1.517.558.789.789 0 0 1 .117.729Z"}),(0,o.createElement)("path",{d:"M36.805 25.737H14.26a.513.513 0 0 0-.495.377l-.375 1.364a.514.514 0 0 0 .495.65h22.546a.515.515 0 0 0 .495-.378l.374-1.364a.513.513 0 0 0-.495-.649Z"}))),cat7:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40.902 50"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M39.721 9.573a3.6 3.6 0 0 1-.934-7.073 1.228 1.228 0 0 0 .934-1.177v-.11A1.208 1.208 0 0 0 38.513.004H5.974A5.968 5.968 0 0 0 .001 5.949v36.814a7.249 7.249 0 0 0 7.241 7.241h31.939a1.724 1.724 0 0 0 1.722-1.721V10.756a1.187 1.187 0 0 0-1.182-1.183ZM3.431 3.432a3.588 3.588 0 0 1 2.548-1.054h28.976a5.969 5.969 0 0 0 0 7.195H5.975a3.6 3.6 0 0 1-2.548-6.141Zm3.816 44.2a4.873 4.873 0 0 1-4.867-4.868V10.653a6.167 6.167 0 0 0 3.75 1.29h32.4v6.609H23.644a1.2 1.2 0 0 0-1.2 1.2v7.541a1.2 1.2 0 0 0 1.2 1.2h14.885v19.142Z"}),(0,o.createElement)("path",{d:"M31.201 35.2H9.283a1.187 1.187 0 0 0 0 2.374h21.918a1.187 1.187 0 1 0 0-2.374ZM31.201 41.362H9.283a1.187 1.187 0 0 0 0 2.374h21.918a1.187 1.187 0 0 0 0-2.374Z"}))),commentCount1:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 77.5 56"},(0,o.createElement)("path",{d:"M51.2 0H26.3C11.8 0 0 11.8 0 26.3V56h51.2c14.5 0 26.3-11.8 26.3-26.3v-3.4C77.5 11.8 65.7 0 51.2 0zm21.9 29.7c0 12.1-9.8 21.9-21.9 21.9H4.4V26.3c0-12.1 9.8-21.9 21.9-21.9h24.9c12.1 0 21.9 9.8 21.9 21.9v3.4z"}),(0,o.createElement)("path",{d:"M58.1 15.2H19.4c-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2H58c1.2 0 2.2-1 2.2-2.2.1-1.2-.9-2.2-2.1-2.2zM58.1 25.8H19.4c-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2H58c1.2 0 2.2-1 2.2-2.2.1-1.2-.9-2.2-2.1-2.2zM58.1 36.4H19.4c-1.2 0-2.2 1-2.2 2.2s1 2.2 2.2 2.2H58c1.2 0 2.2-1 2.2-2.2s-.9-2.2-2.1-2.2z"})),commentCount2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 77.5 54.7"},(0,o.createElement)("path",{d:"M50.1 0H27.3C12.2 0 0 12.3 0 27.4v27.3h50.1c7.6 0 14.4-3.1 19.3-8 5-4.9 8-11.8 8-19.3C77.5 12.3 65.2 0 50.1 0zM16.4 33.8c-3.6 0-6.5-2.9-6.5-6.5s2.9-6.5 6.5-6.5 6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zm21.7 0c-3.6 0-6.5-2.9-6.5-6.5s2.9-6.5 6.5-6.5 6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zm21.8 0c-3.6 0-6.5-2.9-6.5-6.5s2.9-6.5 6.5-6.5 6.5 2.9 6.5 6.5-3 6.5-6.5 6.5z"})),commentCount3:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 61.9 54.7"},(0,o.createElement)("path",{d:"M49.8 0H12.1C5.4 0 0 5.4 0 12.1v19.7c0 6.6 5.4 12.1 12.1 12.1h5.8v8.7c0 .9.5 1.7 1.3 2.1.3.2.7.2 1 .2.5 0 1-.2 1.4-.5L34.8 44h15.1C56.5 44 62 38.6 62 31.9V12.1C61.9 5.4 56.4 0 49.8 0zm8 31.7c0 4.4-3.6 8-8 8H33.3l-11.3 9v-9h-9.9c-4.4 0-8-3.6-8-8V12.1c0-4.4 3.6-8 8-8h37.7c4.4 0 8 3.6 8 8v19.6z"}),(0,o.createElement)("circle",{cx:"17.2",cy:"21.9",r:"4"}),(0,o.createElement)("circle",{cx:"30.9",cy:"21.9",r:"4"}),(0,o.createElement)("circle",{cx:"44.6",cy:"21.9",r:"4"})),commentCount4:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 61.9 50.1"},(0,o.createElement)("path",{d:"M61.9 15.6C61.9 7 54.8 0 46.2 0H27.5c-8.6 0-15.6 7-15.6 15.6v4.2C5.3 20.3 0 25.8 0 32.5v17.6h27.4c7 0 12.6-5.6 12.7-12.6h21.7V15.6zM27.4 47.4H2.7V32.5c0-5.2 4.1-9.5 9.2-9.9.4 8.3 7.2 15 15.6 15h9.8c0 5.4-4.4 9.8-9.9 9.8zm31.7-12.6H27.5c-7.1 0-12.9-5.8-12.9-12.9v-6.3c0-7.1 5.8-12.9 12.9-12.9h18.7c7.1 0 12.9 5.8 12.9 12.9v19.2z"}),(0,o.createElement)("path",{d:"M42.9 24.5H24.6c-.8 0-1.4.6-1.4 1.4 0 .8.6 1.4 1.4 1.4h18.3c.8 0 1.4-.6 1.4-1.4 0-.8-.6-1.4-1.4-1.4zM49.2 17.4H24.6c-.8 0-1.4.6-1.4 1.4 0 .8.6 1.4 1.4 1.4h24.6c.8 0 1.4-.6 1.4-1.4-.1-.8-.7-1.4-1.4-1.4zM49.2 10.3H24.6c-.8 0-1.4.6-1.4 1.4 0 .8.6 1.4 1.4 1.4h24.6c.8 0 1.4-.6 1.4-1.4-.1-.8-.7-1.4-1.4-1.4z"})),commentCount5:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.2 50.2"},(0,o.createElement)("path",{d:"M24.6 0C11 0 0 9.8 0 21.9c0 6.6 3.2 12.7 8.8 16.8v11.5l12-6.7c1.3.2 2.5.3 3.8.3 13.6 0 24.6-9.8 24.6-21.9S38.2 0 24.6 0zm0 40.5c-1.3 0-2.6-.1-3.8-.3l-.6-.2-8 4.4V37l-.7-.5C6.3 33 3.4 27.7 3.4 21.9c0-10.2 9.5-18.5 21.2-18.5s21.2 8.3 21.2 18.5-9.5 18.6-21.2 18.6z"}),(0,o.createElement)("path",{d:"M33.8 15.9H15.4c-.9 0-1.7.8-1.7 1.7s.8 1.7 1.7 1.7h18.5c.9 0 1.7-.8 1.7-1.7s-.8-1.7-1.8-1.7zM29.6 24.5h-10c-.9 0-1.7.8-1.7 1.7s.8 1.7 1.7 1.7h10.1c.9 0 1.7-.8 1.7-1.7s-.8-1.7-1.8-1.7z"})),commentCount6:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.2 38"},(0,o.createElement)("path",{d:"M30.7 0C24 0 17.9 3.2 14.6 8.3h-.5C6.3 8.2 0 13.9 0 20.8c0 3.7 1.8 7.2 4.9 9.5v6.9l7.2-4c.7.1 1.4.1 2 .1 2.9 0 5.7-.8 8-2.2 2.6 1.2 5.6 1.9 8.6 1.9 1 0 1.9-.1 2.8-.2l9.1 5.1v-8.8c4.2-3.1 6.6-7.7 6.6-12.7 0-9-8.3-16.4-18.5-16.4zM12 30.4l-.5-.1-3.8 2.1v-3.6l-.6-.4c-2.7-1.9-4.3-4.6-4.3-7.6 0-5.1 4.5-9.3 10.3-9.7-.7 1.7-1 3.5-1 5.4 0 5.1 2.7 9.9 7.1 13-2.2 1-4.5 1.3-7.2.9zm28.4-3.1-.6.4v5.4L34 29.9l-.5.1c-.9.2-1.8.2-2.8.2-2.8 0-5.6-.7-8.1-1.9-4.8-2.5-7.7-6.9-7.7-11.8 0-2.1.6-4.2 1.6-6.1 2.7-4.7 8.1-7.6 14.1-7.6 8.7 0 15.7 6.1 15.7 13.7.1 4.3-2.1 8.2-5.9 10.8z"})),comment:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19 19"},(0,o.createElement)("path",{d:"M9.43016863,13.2235931 C9.58624731,13.094699 9.7823475,13.0241935 9.98476849,13.0241935 L15.0564516,13.0241935 C15.8581553,13.0241935 16.5080645,12.3742843 16.5080645,11.5725806 L16.5080645,3.44354839 C16.5080645,2.64184472 15.8581553,1.99193548 15.0564516,1.99193548 L3.44354839,1.99193548 C2.64184472,1.99193548 1.99193548,2.64184472 1.99193548,3.44354839 L1.99193548,11.5725806 C1.99193548,12.3742843 2.64184472,13.0241935 3.44354839,13.0241935 L5.76612903,13.0241935 C6.24715123,13.0241935 6.63709677,13.4141391 6.63709677,13.8951613 L6.63709677,15.5301903 L9.43016863,13.2235931 Z M3.44354839,14.766129 C1.67980032,14.766129 0.25,13.3363287 0.25,11.5725806 L0.25,3.44354839 C0.25,1.67980032 1.67980032,0.25 3.44354839,0.25 L15.0564516,0.25 C16.8201997,0.25 18.25,1.67980032 18.25,3.44354839 L18.25,11.5725806 C18.25,13.3363287 16.8201997,14.766129 15.0564516,14.766129 L10.2979143,14.766129 L6.32072889,18.0506004 C5.75274472,18.5196577 4.89516129,18.1156602 4.89516129,17.3790323 L4.89516129,14.766129 L3.44354839,14.766129 Z"})),date1:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 94.9 88.7"},(0,o.createElement)("path",{d:"M84.5 7.9H71.8V3.2c0-1.8-1.5-3.2-3.2-3.2s-3.2 1.5-3.2 3.2v4.7H50.7V3.2c0-1.8-1.5-3.2-3.2-3.2-1.8 0-3.2 1.5-3.2 3.2v4.7H29.6V3.2c0-1.8-1.5-3.2-3.2-3.2s-3.2 1.5-3.2 3.2v4.7H10.4C4.7 7.9 0 12.6 0 18.3v60C0 84 4.7 88.7 10.4 88.7h74.1c5.7 0 10.4-4.7 10.4-10.4v-60c0-5.7-4.7-10.4-10.4-10.4zm3.9 70.4c0 2.1-1.7 3.9-3.9 3.9H10.4c-2.1 0-3.9-1.7-3.9-3.9v-60c0-2.1 1.7-3.9 3.9-3.9h12.8V20c0 1.8 1.5 3.2 3.2 3.2s3.2-1.5 3.2-3.2v-5.6h14.6V20c0 1.8 1.5 3.2 3.2 3.2 1.8 0 3.2-1.5 3.2-3.2v-5.6h14.6V20c0 1.8 1.5 3.2 3.2 3.2s3.2-1.5 3.2-3.2v-5.6h12.8c2.1 0 3.9 1.7 3.9 3.9v60z"}),(0,o.createElement)("circle",{cx:"26.4",cy:"36.8",r:"3.6"}),(0,o.createElement)("path",{d:"M47.4 33.2c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6 3.6-1.6 3.6-3.6-1.6-3.6-3.6-3.6z"}),(0,o.createElement)("circle",{cx:"68.5",cy:"36.8",r:"3.6"}),(0,o.createElement)("circle",{cx:"26.4",cy:"51.9",r:"3.6"}),(0,o.createElement)("path",{d:"M47.4 48.3c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6 3.6-1.6 3.6-3.6-1.6-3.6-3.6-3.6z"}),(0,o.createElement)("circle",{cx:"68.5",cy:"51.9",r:"3.6"}),(0,o.createElement)("circle",{cx:"26.4",cy:"67",r:"3.6"}),(0,o.createElement)("path",{d:"M47.4 63.4c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6S51 69 51 67s-1.6-3.6-3.6-3.6z"}),(0,o.createElement)("circle",{cx:"68.5",cy:"67",r:"3.6"})),date2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 94.9 89.8"},(0,o.createElement)("path",{d:"M85.2 8.9H73.6V3.2c0-1.8-1.4-3.2-3.2-3.2-1.8 0-3.2 1.4-3.2 3.2v5.7H27.7V3.2c0-1.8-1.4-3.2-3.2-3.2s-3.2 1.4-3.2 3.2v5.7H9.7C4.3 8.9 0 13.3 0 18.6V80c0 5.4 4.3 9.7 9.7 9.7h75.5c5.4 0 9.7-4.4 9.7-9.7V18.6c0-5.3-4.4-9.7-9.7-9.7zm0 74.5H9.7c-1.8 0-3.3-1.5-3.3-3.3V30.4h82.1V80c0 1.9-1.5 3.4-3.3 3.4z"}),(0,o.createElement)("path",{d:"M16 40.4h8.5v8.5H16zM43.2 40.4h8.5v8.5h-8.5zM70.4 40.4h8.5v8.5h-8.5zM16 65.1h8.5v8.5H16zM43.2 65.1h8.5v8.5h-8.5zM70.4 65.1h8.5v8.5h-8.5z"})),date3:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 92.8 84"},(0,o.createElement)("path",{d:"M87.2 6.7h-5.9V2.4c0-1.3-1.1-2.4-2.4-2.4-1.3 0-2.4 1.1-2.4 2.4v4.3H64.1V2.4C64.1 1.1 63 0 61.6 0s-2.4 1.1-2.4 2.4v4.3H46.8V2.4c0-1.3-1.1-2.4-2.4-2.4S42 1.1 42 2.4v4.3h-6c-2.7 0-5.3 1.5-6.7 3.9l-28 48.9C-.2 62.2-.4 64.8.9 67c1.3 2.3 4.1 3.6 7.7 3.6h21.9v1.5c0 2.5.8 4.9 2.2 6.9 2.2 3.1 5.8 5 9.7 5H81c6.5 0 11.8-5.3 11.8-11.8V12.3c0-3-2.5-5.6-5.6-5.6zM5.1 64.6c-.4-.6-.2-1.5.4-2.6l28-48.9c.5-.9 1.4-1.4 2.4-1.4h49c.3 0 .5.2.6.3.1.2.2.4 0 .7L58.7 59.6c-1.9 3.4-7.2 6.2-11.6 6.2H8.5c-1.7 0-3-.5-3.4-1.2zM81 79.1H42.3c-2.3 0-4.4-1.1-5.7-2.9-.8-1.2-1.3-2.6-1.3-4v-1.5h11.8c6.1 0 13-3.8 15.8-8.7l25-43.6v53.8c0 3.8-3.1 6.9-6.9 6.9z"}),(0,o.createElement)("path",{d:"M41.8 23.8h-6.7l-3 5.3h6.7zM56.6 23.8H50l-3.1 5.3h6.7zM71.4 23.8h-6.6l-3 5.3h6.6zM28.1 36.1l-3 5.3h6.6l3-5.3zM46.5 41.4l3.1-5.3h-6.7l-3 5.3zM61.4 41.4l3-5.3h-6.7l-3 5.3zM18 53.7h6.7l3-5.3H21zM42.5 48.4h-6.6l-3.1 5.3h6.7zM47.7 53.7h6.6l3.1-5.3h-6.7z"})),date4:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 84.8 84"},(0,o.createElement)("path",{d:"M74.7 12.2h-9V4.4c0-2.4-2-4.4-4.4-4.4-2.4 0-4.4 2-4.4 4.4v7.8h-29V4.4c0-2.4-2-4.4-4.4-4.4C21 0 19 2 19 4.4v7.8h-9c-5.5 0-10 4.5-10 10.1v7.2h84.8v-7.2c0-5.6-4.5-10.1-10.1-10.1zM0 74c0 5.5 4.5 10 10.1 10h64.7c5.6 0 10-4.5 10-10.1V38.4H0V74z"})),date5:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 84.8 79.3"},(0,o.createElement)("path",{d:"M75.6 7.1H64.1V2.9c0-1.6-1.3-2.9-2.9-2.9-1.6 0-2.9 1.3-2.9 2.9v4.2H26.4V2.9c0-1.6-1.3-2.9-2.9-2.9s-2.9 1.3-2.9 2.9v4.2H9.2C4.1 7.1 0 11.2 0 16.2v53.9c0 5.1 4.1 9.2 9.2 9.2h66.4c5.1 0 9.2-4.1 9.2-9.2V16.2c0-5-4.1-9.1-9.2-9.1zM9.2 12.8h11.5v5c0 1.6 1.3 2.9 2.9 2.9s2.9-1.3 2.9-2.9v-5h31.9v5c0 1.6 1.3 2.9 2.9 2.9 1.6 0 2.9-1.3 2.9-2.9v-5h11.5c1.9 0 3.4 1.5 3.4 3.4v9.5H5.7v-9.5c0-1.8 1.6-3.4 3.5-3.4zm66.4 60.7H9.2c-1.9 0-3.4-1.5-3.4-3.4V31.5h73.3v38.6c0 1.9-1.6 3.4-3.5 3.4z"})),calendar:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 19"},(0,o.createElement)("path",{d:"M4.60069444,4.09375 L3.25,4.09375 C2.47334957,4.09375 1.84375,4.72334957 1.84375,5.5 L1.84375,7.26736111 L16.15625,7.26736111 L16.15625,5.5 C16.15625,4.72334957 15.5266504,4.09375 14.75,4.09375 L13.3993056,4.09375 L13.3993056,4.55555556 C13.3993056,5.02154581 13.0215458,5.39930556 12.5555556,5.39930556 C12.0895653,5.39930556 11.7118056,5.02154581 11.7118056,4.55555556 L11.7118056,4.09375 L6.28819444,4.09375 L6.28819444,4.55555556 C6.28819444,5.02154581 5.9104347,5.39930556 5.44444444,5.39930556 C4.97845419,5.39930556 4.60069444,5.02154581 4.60069444,4.55555556 L4.60069444,4.09375 Z M6.28819444,2.40625 L11.7118056,2.40625 L11.7118056,1 C11.7118056,0.534009742 12.0895653,0.15625 12.5555556,0.15625 C13.0215458,0.15625 13.3993056,0.534009742 13.3993056,1 L13.3993056,2.40625 L14.75,2.40625 C16.4586309,2.40625 17.84375,3.79136906 17.84375,5.5 L17.84375,15.875 C17.84375,17.5836309 16.4586309,18.96875 14.75,18.96875 L3.25,18.96875 C1.54136906,18.96875 0.15625,17.5836309 0.15625,15.875 L0.15625,5.5 C0.15625,3.79136906 1.54136906,2.40625 3.25,2.40625 L4.60069444,2.40625 L4.60069444,1 C4.60069444,0.534009742 4.97845419,0.15625 5.44444444,0.15625 C5.9104347,0.15625 6.28819444,0.534009742 6.28819444,1 L6.28819444,2.40625 Z M1.84375,8.95486111 L1.84375,15.875 C1.84375,16.6516504 2.47334957,17.28125 3.25,17.28125 L14.75,17.28125 C15.5266504,17.28125 16.15625,16.6516504 16.15625,15.875 L16.15625,8.95486111 L1.84375,8.95486111 Z"})),readingTime1:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 33.7 33.6"},(0,o.createElement)("path",{d:"M4.8 22.3h12.1v2H4.8zM4.8 27.2h9.7v2H4.8z"}),(0,o.createElement)("path",{d:"M33.7 11.3C33.7 5.1 28.6 0 22.4 0c-6.2 0-11.3 5.1-11.3 11.3 0 1.2.2 2.4.6 3.6H9.4C4.2 14.9 0 19 0 24.2v9.4h17.9c2.5 0 4.8-1 6.6-2.7 1.8-1.8 2.7-4.1 2.7-6.6 0-.9-.1-1.7-.4-2.6 4.1-1.8 6.9-5.8 6.9-10.4zm-8.4 12.9c0 2-.8 3.8-2.2 5.2-1.4 1.4-3.2 2.2-5.2 2.2H2v-7.4c0-4.1 3.3-7.4 7.4-7.4h3.2c1.9 3.4 5.6 5.7 9.8 5.7.9 0 1.8-.1 2.6-.3.2.7.3 1.3.3 2zm-2.9-3.6c-5.1 0-9.3-4.2-9.3-9.3S17.3 2 22.4 2s9.3 4.2 9.3 9.3-4.2 9.3-9.3 9.3z"}),(0,o.createElement)("path",{d:"M23.4 5.8h-2v5.9l3.9 3.9 1.4-1.4-3.3-3.3z"})),readingTime2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 33.7 33.7"},(0,o.createElement)("path",{d:"M16.8 0C7.6 0 0 7.6 0 16.8c0 9.3 7.6 16.8 16.8 16.8 9.3 0 16.8-7.6 16.8-16.8C33.7 7.6 26.1 0 16.8 0zM18 31.4v-2.3h-2.2v2.3C8.6 30.8 2.9 25.1 2.3 18h2.3v-2.2H2.3C2.9 8.6 8.6 2.9 15.7 2.3v2.3H18V2.3c7.2.5 12.9 6.3 13.4 13.4h-2.3V18h2.3c-.6 7.1-6.3 12.8-13.4 13.4z"}),(0,o.createElement)("path",{d:"M18 7.7h-2.3v9.6l6 6 1.6-1.6-5.3-5.3z"})),readingTime3:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28.5 31.3"},(0,o.createElement)("path",{d:"M22 17.9c-.4 0-.8.3-.8.8v4.9H5.3V7.2h4.5c.4 0 .8-.3.8-.8s-.3-.8-.8-.8h-6C1.7 5.7 0 7.4 0 9.6v17.9c0 1 .4 2 1.1 2.7.7.7 1.7 1.1 2.7 1.1H22c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H3.8c-.6 0-1.2-.2-1.7-.7-.4-.4-.7-1-.7-1.7 0-.6.2-1.2.7-1.7.4-.4 1-.7 1.7-.7h18.8v-6.4c.1-.2-.2-.6-.6-.6zM1.5 24.4V9.6c0-1.3 1-2.3 2.3-2.3v16.4c-.8-.1-1.6.2-2.3.7z"}),(0,o.createElement)("path",{d:"M3.6 26.7c-.4 0-.8.3-.8.8s.3.8.8.8H22c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H3.6zM19.9 0c-4.8 0-8.7 3.9-8.7 8.7s3.9 8.7 8.7 8.7 8.7-3.9 8.7-8.7-4-8.7-8.7-8.7zm0 15.9c-4 0-7.2-3.2-7.2-7.2s3.2-7.2 7.2-7.2S27 4.7 27 8.7s-3.2 7.2-7.1 7.2z"}),(0,o.createElement)("path",{d:"M20.6 8.4V3.8c0-.4-.3-.8-.8-.8s-.8.3-.8.8V9l3.6 3.6c.1.1.3.2.5.2s.4-.1.5-.2c.3-.3.3-.8 0-1.1l-3-3.1z"})),readingTime4:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},(0,o.createElement)("path",{d:"M15 0C6.7 0 0 6.7 0 15s6.7 15 15 15 15-6.7 15-15S23.3 0 15 0zm0 27.5C8.1 27.5 2.5 21.9 2.5 15S8.1 2.5 15 2.5 27.5 8.1 27.5 15 21.9 27.5 15 27.5z"}),(0,o.createElement)("path",{d:"M16.2 14.5V8.4c0-.7-.6-1.2-1.2-1.2s-1.2.6-1.2 1.2v7.1l4.9 4.9c.2.2.6.4.9.4s.6-.1.9-.4c.5-.5.5-1.3 0-1.8l-4.3-4.1z"})),readingTime5:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.1 30"},(0,o.createElement)("path",{d:"M12.1 15.9c-.3-.6-.3-1.3 0-1.8l5.6-9.7c.5-.9.5-2 0-2.9-.5-1-1.5-1.5-2.5-1.5H2.9C1.8 0 .9.5.4 1.5c-.5.9-.5 2 0 2.9L6 14.1c.3.6.3 1.3 0 1.8L.4 25.6c-.5.9-.5 2 0 2.9.5.9 1.5 1.5 2.5 1.5h12.2c1.1 0 2-.5 2.5-1.5.5-.9.5-2 0-2.9l-5.5-9.7zM16.7 28c-.3.6-.9.9-1.6.9H2.9c-.7 0-1.3-.3-1.6-.9-.3-.6-.3-1.3 0-1.8l5.6-9.7c.5-.9.5-2 0-2.9L1.4 3.9C1 3.3 1 2.6 1.4 2c.3-.6.9-.9 1.6-.9h12.2c.7 0 1.3.3 1.6.9s.3 1.3 0 1.8l-5.6 9.7c-.5.9-.5 2 0 2.9l5.6 9.7c.3.6.3 1.3-.1 1.9z"}),(0,o.createElement)("path",{d:"M15 25.2c-.3-.5-.8-.8-1.4-.8h-3.1c-.4 0-.8-.3-.8-.8V15c0-.7.2-1.4.5-2l2.5-4.4c.3-.5-.1-1.1-.7-1.1H6c-.6 0-.9.6-.7 1.1L7.9 13c.4.6.5 1.3.5 2v8.7c0 .4-.3.8-.8.8h-3c-.6 0-1.1.3-1.4.8l-.8 1.5c-.2.3-.1.6 0 .7.1.1.3.4.6.4h12.2c.4 0 .6-.2.6-.4.1-.1.2-.4 0-.7l-.8-1.6z"})),tag1:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36.053 50"},(0,o.createElement)("path",{d:"M394.89,173.425H365.409a3.29,3.29,0,0,0-3.286,3.286v44.321a2.4,2.4,0,0,0,2.4,2.393,2.358,2.358,0,0,0,1.46-.508l13.46-10.5a1.172,1.172,0,0,1,1.417,0l13.462,10.5a2.358,2.358,0,0,0,1.46.508,2.4,2.4,0,0,0,2.4-2.393V176.711A3.29,3.29,0,0,0,394.89,173.425Zm-.5,3.783v40.968l-11.208-8.739a4.937,4.937,0,0,0-6.07,0l-11.207,8.739V177.208Z",transform:"translate(-362.123 -173.425)"})),tag2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},(0,o.createElement)("g",{transform:"translate(-415.893 -173.425)"},(0,o.createElement)("path",{d:"M465.893,195.139l-.055-17.262a4.407,4.407,0,0,0-4.4-4.4l-17.262-.054a4.4,4.4,0,0,0-3.135,1.29l-23.858,23.858a4.411,4.411,0,0,0,0,6.239l17.32,17.32a4.413,4.413,0,0,0,6.24,0L464.6,198.275A4.406,4.406,0,0,0,465.893,195.139Zm-13.915-7.8a4.908,4.908,0,1,1,6.945,0A4.908,4.908,0,0,1,451.978,187.336Z"}))),tag3:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.996 50"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M21.897 50a5.435 5.435 0 0 1-3.87-1.6L1.6 31.976a5.48 5.48 0 0 1 0-7.741L24.227 1.607a5.5 5.5 0 0 1 3.864-1.6h.029l16.369.052a5.483 5.483 0 0 1 5.456 5.457l.051 16.368a5.5 5.5 0 0 1-1.6 3.893L25.768 48.404A5.435 5.435 0 0 1 21.897 50Zm6.2-47.422a2.906 2.906 0 0 0-2.043.847L3.42 26.052a2.895 2.895 0 0 0 0 4.1l16.429 16.424a2.9 2.9 0 0 0 4.1 0l22.627-22.627a2.9 2.9 0 0 0 .847-2.055l-.052-16.372a2.9 2.9 0 0 0-2.885-2.886l-16.377-.06Zm10.711 14.559a5.911 5.911 0 0 1-4.205-1.742 5.945 5.945 0 1 1 4.205 1.742Zm0-9.31a3.366 3.366 0 0 0-2.388 5.749 3.366 3.366 0 1 0 2.382-5.745Z"}))),tag4:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 45.945 50"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"m41.499 29.13 3.459-12.847a4.647 4.647 0 0 0-1.2-4.48l-.695-.694-3.78 3.78a4.693 4.693 0 1 1-4.167-4.168l3.78-3.779-.691-.692a4.633 4.633 0 0 0-4.48-1.2L20.869 8.501a4.73 4.73 0 0 0-2.075 1.2L1.353 27.146a4.629 4.629 0 0 0 .008 6.547l14.955 14.955a4.629 4.629 0 0 0 6.539 0l17.441-17.439a4.6 4.6 0 0 0 1.203-2.079ZM22.064 40.809 9.192 27.937l1.647-1.647 12.872 12.872Zm5.2-5.2L14.392 22.738l1.647-1.647 12.872 12.871Z"}),(0,o.createElement)("path",{d:"M38.587 3.298a1.01 1.01 0 0 0 1.429 0l.734-.734a1.86 1.86 0 0 1 2.631 2.631l-9.486 9.486a1.01 1.01 0 0 0 1.429 1.428l9.486-9.486a3.881 3.881 0 0 0-5.489-5.489l-.734.734a1.012 1.012 0 0 0 0 1.43Z"}))),tag5:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50.003 50"},(0,o.createElement)("g",null,(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"m46.162 27.099 3.633-13.513a6.171 6.171 0 0 0-1.591-5.943l-.775-.776-1.8 1.8.776.776a3.612 3.612 0 0 1 .929 3.478l-3.631 13.51a3.631 3.631 0 0 1-.933 1.614L24.42 46.394a3.6 3.6 0 0 1-5.087 0L3.606 30.666a3.6 3.6 0 0 1 0-5.087L21.951 7.238a3.617 3.617 0 0 1 1.612-.933l13.513-3.628a3.61 3.61 0 0 1 3.48.929l.772.773 1.8-1.8-.772-.773a6.172 6.172 0 0 0-5.944-1.59l-13.517 3.63a6.179 6.179 0 0 0-2.752 1.592L1.798 23.779a6.156 6.156 0 0 0 0 8.7l15.73 15.723a6.156 6.156 0 0 0 8.7 0l18.35-18.349a6.183 6.183 0 0 0 1.584-2.754Z"}),(0,o.createElement)("path",{d:"M31.065 10.164a6.2 6.2 0 1 0 9.578 1l8.52-8.52-1.8-1.8-8.52 8.519a6.211 6.211 0 0 0-7.778.801Zm6.967 6.967a3.651 3.651 0 1 1 0-5.163 3.656 3.656 0 0 1-.004 5.163Z"})),(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"m17.406 21.542 1.414-1.414 11.052 11.051-1.415 1.414z"})),(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"m12.949 25.999 1.414-1.414 11.052 11.051L24 37.05z"})))),tag6:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35.699 50"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"m32.767 49.613-13.8-10.761a1.818 1.818 0 0 0-2.233 0l-13.8 10.761a1.815 1.815 0 0 1-2.931-1.431V2.736A2.736 2.736 0 0 1 2.739 0h30.227a2.736 2.736 0 0 1 2.736 2.736v45.446a1.815 1.815 0 0 1-2.935 1.431Z"}))),viewCount1:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100.4 63.9"},(0,o.createElement)("path",{d:"M99.7 30.7C90.3 11.8 71.3 0 50.2 0S10.1 11.8.6 30.7L0 31.9l.6 1.3C10 52.1 29 63.9 50.2 63.9s40.1-11.8 49.6-30.7l.6-1.3-.7-1.2zm-43-19.5c5.2 0 9.4 4.2 9.4 9.4S61.9 30 56.7 30s-9.4-4.2-9.4-9.4 4.2-9.4 9.4-9.4zm-6.5 47c-18.5 0-35.1-10-43.8-26.3C12.9 19.7 23.9 11 36.9 7.5c-5 3.9-8.2 10-8.2 16.9 0 11.9 9.6 21.5 21.5 21.5s21.5-9.6 21.5-21.5c0-6.8-3.2-12.9-8.2-16.9 13 3.6 24 12.3 30.5 24.4-8.7 16.3-25.3 26.3-43.8 26.3z"})),viewCount2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 63.7"},(0,o.createElement)("path",{d:"M99.4 30.6C90 11.7 71.1 0 50 0S10 11.7.6 30.6L0 31.8l.6 1.3C10 52 29 63.7 50 63.7S90 52 99.4 33.1l.6-1.3-.6-1.2zM50 58C31.6 58 15 48 6.4 31.8 15 15.7 31.6 5.7 50 5.7s35 10 43.6 26.1C85 48 68.4 58 50 58z"}),(0,o.createElement)("path",{d:"M50 12c-10.9 0-19.8 8.9-19.8 19.8S39.1 51.6 50 51.6s19.8-8.9 19.8-19.8S61 12 50 12zm0 34c-7.8 0-14.2-6.3-14.2-14.2S42.2 17.7 50 17.7 64.2 24 64.2 31.8 57.8 46 50 46z"})),viewCount3:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 53.5"},(0,o.createElement)("path",{d:"M98.9 25.1C87.6 9.4 69.4 0 50 0 30.7 0 12.4 9.4 1.2 25.1L0 26.7l1.2 1.6C12.4 44.1 30.7 53.5 50 53.5c19.3 0 37.6-9.4 48.8-25.1l1.2-1.6-1.1-1.7zm-27.8 1.6c0 11.6-9.5 21.1-21.1 21.1-11.6 0-21.1-9.5-21.1-21.1 0-11.6 9.5-21.1 21.1-21.1 11.7.1 21.1 9.5 21.1 21.1zM7 26.7c5.9-7.6 13.7-13.4 22.4-17-3.8 4.6-6.1 10.6-6.1 17 0 6.5 2.3 12.4 6.1 17-8.7-3.5-16.5-9.3-22.4-17zm63.6 17.1c3.8-4.6 6.1-10.6 6.1-17 0-6.5-2.3-12.4-6.1-17 8.7 3.6 16.5 9.4 22.4 17-5.8 7.6-13.6 13.4-22.4 17z"})),viewCount4:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90.5 76.9"},(0,o.createElement)("path",{d:"M60.7 43.2c-6.2 0-11.2-5-11.2-11.2 0-5.4 3.8-9.9 8.9-11-4-2-8.4-3.1-13.1-3.1-16.3 0-29.5 13.2-29.5 29.6C15.8 63.8 29 77 45.3 77s29.6-13.2 29.6-29.5c0-4.7-1.1-9.2-3.1-13.1-1.2 4.9-5.7 8.8-11.1 8.8z"}),(0,o.createElement)("path",{d:"M45.2 0C24.3 0 6.2 13.4 0 33.2L5.9 35C11.2 17.8 27.1 6.2 45.2 6.2c18.2 0 34 11.6 39.3 28.9l5.9-1.8C84.3 13.4 66.1 0 45.2 0z"})),viewCount5:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90.5 56"},(0,o.createElement)("path",{d:"M45.2 0C25.4 0 8.3 11.4 0 28c8.3 16.6 25.4 28 45.2 28 19.8 0 37-11.4 45.3-28C82.2 11.4 65 0 45.2 0zm0 48.7c-11.4 0-20.7-9.3-20.7-20.7 0-11.5 9.3-20.7 20.7-20.7 11.5 0 20.7 9.3 20.7 20.7 0 11.4-9.2 20.7-20.7 20.7z"}),(0,o.createElement)("path",{d:"M45.2 15.2c-7.1 0-12.8 5.7-12.8 12.8 0 7 5.7 12.8 12.8 12.8 7 0 12.8-5.7 12.8-12.8H45.2V15.2z"})),viewCount6:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 42.5 37.4"},(0,o.createElement)("path",{d:"M40.8 1.9C40.6.5 39.2-.4 37.9.1L24.9 5c-1.7.6-1.9 3-.4 3.9l5.6 3.4-6 9.9c-.5.9-1.7 1.2-2.6.6l-5.8-3.5c-1.2-.8-2.7-1-4.1-.6-1.4.3-2.6 1.2-3.3 2.5l-8 13.5c-.5.8-.2 1.9.6 2.4.3.2.6.3.9.3.6 0 1.2-.3 1.5-.8L11.4 23c.3-.4.7-.7 1.2-.9.5-.1 1 0 1.4.2l5.8 3.5c2.6 1.5 5.9.7 7.4-1.8l6-9.9 6 3.6c1.6.9 3.5-.3 3.3-2.1L40.8 1.9z"})),author1:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.8 37.6"},(0,o.createElement)("path",{d:"M16.4 19.9C7.4 19.9 0 27.3 0 36.3v1.3h32.8v-1.3c0-9-7.3-16.4-16.4-16.4zM2.7 35c.7-7 6.6-12.5 13.8-12.5S29.5 28 30.2 35H2.7zM16.4 17.7c4.9 0 8.9-4 8.9-8.9S21.3 0 16.4 0 7.6 4 7.6 8.9s3.9 8.8 8.8 8.8zm0-15.1c3.5 0 6.3 2.8 6.3 6.3s-2.8 6.3-6.3 6.3-6.3-2.8-6.3-6.3 2.9-6.3 6.3-6.3z"})),author2:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28.1 36.6"},(0,o.createElement)("path",{d:"M14 16.8c-7.8 0-14 6.3-14 14 0 3.9 7 5.8 14 5.8s14-1.9 14-5.8c.1-7.7-6.2-14-14-14zm0 17.3c-7.5 0-11.6-2.2-11.6-3.3 0-6.4 5.2-11.6 11.6-11.6 6.4 0 11.6 5.2 11.6 11.6 0 1.2-4.1 3.3-11.6 3.3zM9 14.5h2.6c-1.8-1-3.1-3.1-3.1-5.5 0-.5 0-.9.1-1.4.1-.6.5-1.1 1.1-1.4l1.7-1c.6-.3 1.3-.4 1.9-.2l4.9 1.7c.9.3 1.5 1.1 1.5 2V9c0 2.4-1.3 4.5-3.1 5.5h2.5c1.2 0 2.2-1 2.2-2.2v-5c0-4.3-3.8-7.8-8.2-7.2-3.7.4-6.3 3.7-6.3 7.4v4.8c0 1.2 1 2.2 2.2 2.2z"})),author3:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 27.8 29.5"},(0,o.createElement)("path",{d:"M27.7 26.7c-1.3-6.5-7-11.3-13.8-11.3S1.3 20.3 0 26.7c-.3 1.4.9 2.8 2.3 2.8h23c1.6 0 2.7-1.3 2.4-2.8z"}),(0,o.createElement)("circle",{cx:"13.9",cy:"6.4",r:"6.4"})),author4:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 27.3 27.6"},(0,o.createElement)("path",{d:"M13.6 13.1c3.6 0 6.6-2.9 6.6-6.6 0-3.6-2.9-6.6-6.6-6.6H7.1v6.6c0 3.7 2.9 6.6 6.5 6.6zM9.1 2h4.6c2.5 0 4.6 2 4.6 4.6s-2 4.6-4.6 4.6-4.6-2-4.6-4.6V2zM13.6 14C6.1 14 0 20.1 0 27.6h2C2 21.2 7.2 16 13.6 16c6.4 0 11.6 5.2 11.6 11.6h2c.1-7.5-6-13.6-13.6-13.6z"})),author5:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28.8 26.6"},(0,o.createElement)("path",{d:"M28.8 23.7c-.7-3.5-2.6-6.5-5.3-8.6-1.5-1.2-3.6-1.5-5.5-.8-1.1.4-2.4.6-3.6.6-1.3 0-2.5-.2-3.6-.6-1.9-.6-3.9-.4-5.5.8C2.6 17.2.7 20.2.1 23.7c-.3 1.5.9 2.9 2.4 2.9h23.9c1.5 0 2.7-1.4 2.4-2.9z"}),(0,o.createElement)("circle",{transform:"rotate(-67.5 14.418 6.372)",cx:"14.4",cy:"6.4",r:"6.4"})),user:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 20"},(0,o.createElement)("path",{d:"M18,19 C18,19.5522847 17.5522847,20 17,20 C16.4477153,20 16,19.5522847 16,19 L16,17 C16,15.3431458 14.6568542,14 13,14 L5,14 C3.34314575,14 2,15.3431458 2,17 L2,19 C2,19.5522847 1.55228475,20 1,20 C0.44771525,20 0,19.5522847 0,19 L0,17 C0,14.2385763 2.23857625,12 5,12 L13,12 C15.7614237,12 18,14.2385763 18,17 L18,19 Z M9,10 C6.23857625,10 4,7.76142375 4,5 C4,2.23857625 6.23857625,0 9,0 C11.7614237,0 14,2.23857625 14,5 C14,7.76142375 11.7614237,10 9,10 Z M9,8 C10.6568542,8 12,6.65685425 12,5 C12,3.34314575 10.6568542,2 9,2 C7.34314575,2 6,3.34314575 6,5 C6,6.65685425 7.34314575,8 9,8 Z"})),desktop:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,o.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z"}))),laptop:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("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"})),tablet:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,o.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z"}))),mobile:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,o.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z"}))),angry_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.767 19.767 0 0 1 24 4.1M24 0a24 24 0 1 0 16.97 7.03A24.006 24.006 0 0 0 24 0"}),(0,o.createElement)("path",{d:"M31.79 36.919a1.5 1.5 0 0 1-1.28-.717 7.644 7.644 0 0 0-13.02 0 1.5 1.5 0 1 1-2.558-1.566 10.642 10.642 0 0 1 18.136 0 1.5 1.5 0 0 1-1.278 2.283"}),(0,o.createElement)("path",{d:"M19.003 17.219a1.482 1.482 0 0 1-.778-.219l-4.079-2.481a1.5 1.5 0 0 1 1.558-2.563l4.079 2.482a1.5 1.5 0 0 1-.78 2.781"}),(0,o.createElement)("path",{d:"M28.996 17.219a1.5 1.5 0 0 1-.78-2.781l4.079-2.482a1.5 1.5 0 0 1 1.558 2.563L29.774 17a1.482 1.482 0 0 1-.778.219"}),(0,o.createElement)("path",{d:"M35.355 22.728c0 2.49-1.45 4.53-3.25 4.53s-3.28-2.04-3.28-4.53c0-2.51 1.48-4.52 3.28-4.52 1.77 0 3.25 2.01 3.25 4.52"}),(0,o.createElement)("path",{d:"M19.175 22.728c0 2.49-1.48 4.53-3.28 4.53s-3.25-2.04-3.25-4.53c0-2.51 1.44-4.52 3.25-4.52s3.28 2.01 3.28 4.52"}))),angry_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M40.97 7.03A24 24 0 1 0 48 24a24 24 0 0 0-7.03-16.97m-12.85 5.48.01-.01 4.08-2.46a1.605 1.605 0 0 1 1.21-.21 1.639 1.639 0 0 1 .51 2.99l-4.08 2.49a1.537 1.537 0 0 1-.85.22 1.71 1.71 0 0 1-1.41-.75 1.677 1.677 0 0 1 .53-2.27m7.23 8.99c0 2.49-1.45 4.53-3.25 4.53s-3.28-2.04-3.28-4.53c0-2.51 1.48-4.52 3.28-4.52 1.77 0 3.25 2.01 3.25 4.52M13.53 10.59a1.617 1.617 0 0 1 1.02-.75 1.537 1.537 0 0 1 1.22.21l4.07 2.45a1.631 1.631 0 0 1-.84 3.03 1.537 1.537 0 0 1-.85-.22l-4.08-2.49a1.625 1.625 0 0 1-.54-2.23m2.36 6.39c1.8 0 3.28 2.01 3.28 4.52 0 2.49-1.48 4.53-3.28 4.53s-3.25-2.04-3.25-4.53c0-2.51 1.44-4.52 3.25-4.52m20.25 20.56-.01.01a1.706 1.706 0 0 1-.83.23 1.633 1.633 0 0 1-1.4-.78 11.636 11.636 0 0 0-19.81 0 1.673 1.673 0 0 1-2.26.55 1.654 1.654 0 0 1-.73-1.04 1.61 1.61 0 0 1 .22-1.21 14.867 14.867 0 0 1 25.36.01 1.626 1.626 0 0 1-.54 2.23"})),confused_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.767 19.767 0 0 1 24 4.1M24 0a24 24 0 1 0 16.97 7.03A24.006 24.006 0 0 0 24 0"}),(0,o.createElement)("path",{d:"M19.633 37.082a1.5 1.5 0 0 1-1.418-1.983 12.827 12.827 0 0 1 6.2-6.838c3.287-1.57 7.2-1.546 11.637.069a1.5 1.5 0 0 1-1.027 2.818c-3.633-1.323-6.756-1.388-9.283-.2a9.923 9.923 0 0 0-4.694 5.125 1.506 1.506 0 0 1-1.418 1.005"}),(0,o.createElement)("path",{d:"M35.355 17.11c0 2.49-1.45 4.53-3.25 4.53s-3.28-2.04-3.28-4.53c0-2.51 1.48-4.52 3.28-4.52 1.77 0 3.25 2.01 3.25 4.52"}),(0,o.createElement)("path",{d:"M19.175 17.11c0 2.49-1.48 4.53-3.28 4.53s-3.25-2.04-3.25-4.53c0-2.51 1.44-4.52 3.25-4.52s3.28 2.01 3.28 4.52"}))),confused_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M40.97 7.03A24 24 0 1 0 48 24a23.934 23.934 0 0 0-7.03-16.97m-8.85 4.4c1.78 0 3.25 2.01 3.25 4.52 0 2.49-1.44 4.53-3.25 4.53s-3.28-2.04-3.28-4.53c0-2.51 1.48-4.52 3.28-4.52m-16.21 9.05c-1.8 0-3.25-2.04-3.25-4.53 0-2.51 1.45-4.52 3.25-4.52s3.28 2.01 3.28 4.52c0 2.49-1.48 4.53-3.28 4.53m21.17 9.84a1.658 1.658 0 0 1-2.09.98c-3.6-1.32-6.68-1.39-9.17-.22a9.783 9.783 0 0 0-4.62 5.04 1.659 1.659 0 0 1-1.55 1.11 1.3 1.3 0 0 1-.56-.11 1.562 1.562 0 0 1-.9-.78 1.713 1.713 0 0 1-.1-1.26 13.126 13.126 0 0 1 6.29-6.93c3.3-1.59 7.25-1.57 11.73.07a1.564 1.564 0 0 1 .92.83 1.6 1.6 0 0 1 .05 1.27"})),happy_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.766 19.766 0 0 1 24 4.1M24 0a24 24 0 1 0 16.969 7.03A24.006 24.006 0 0 0 24 0"}),(0,o.createElement)("path",{d:"M36.191 26.853a12.192 12.192 0 0 1-24.383 0Z"}),(0,o.createElement)("path",{d:"M35.356 16.741c0 2.49-1.45 4.53-3.25 4.53s-3.28-2.04-3.28-4.53c0-2.51 1.48-4.52 3.28-4.52 1.77 0 3.25 2.01 3.25 4.52"}),(0,o.createElement)("path",{d:"M19.175 16.741c0 2.49-1.48 4.53-3.28 4.53s-3.25-2.04-3.25-4.53c0-2.51 1.44-4.52 3.25-4.52s3.28 2.01 3.28 4.52"}))),happy_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M40.97 7.03A24 24 0 1 0 48 24a23.934 23.934 0 0 0-7.03-16.97m-8.85 4.4c1.77 0 3.25 2.01 3.25 4.52 0 2.49-1.45 4.53-3.25 4.53s-3.28-2.04-3.28-4.53c0-2.51 1.48-4.52 3.28-4.52m-16.21 0c1.8 0 3.28 2.01 3.28 4.52 0 2.49-1.48 4.53-3.28 4.53s-3.25-2.04-3.25-4.53c0-2.51 1.44-4.52 3.25-4.52m8 27.39a12.16 12.16 0 0 1-12.08-12.08H36.2a12.166 12.166 0 0 1-12.29 12.08"})),smile_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M24 4.1A19.9 19.9 0 1 1 4.1 24 19.766 19.766 0 0 1 24 4.1M24 0a24 24 0 1 0 16.97 7.03A24.006 24.006 0 0 0 24 0"}),(0,o.createElement)("path",{d:"M24 37.641a14.635 14.635 0 0 1-12.576-7.034 1.5 1.5 0 1 1 2.558-1.567 11.76 11.76 0 0 0 20.036 0 1.5 1.5 0 1 1 2.558 1.567A14.638 14.638 0 0 1 24 37.641"}),(0,o.createElement)("path",{d:"M35.355 17.962c0 2.49-1.45 4.53-3.25 4.53s-3.28-2.04-3.28-4.53c0-2.51 1.48-4.52 3.28-4.52 1.77 0 3.25 2.01 3.25 4.52"}),(0,o.createElement)("path",{d:"M19.175 17.962c0 2.49-1.48 4.53-3.28 4.53s-3.25-2.04-3.25-4.53c0-2.51 1.44-4.52 3.25-4.52s3.28 2.01 3.28 4.52"}))),smile_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,o.createElement)("path",{d:"M40.96 7.03A23.992 23.992 0 1 0 48 24a23.928 23.928 0 0 0-7.04-16.97m-8.859 6.43c1.769 0 3.25 2.01 3.25 4.52 0 2.49-1.451 4.53-3.25 4.53s-3.281-2.04-3.281-4.53c0-2.51 1.481-4.52 3.281-4.52m-16.211 0c1.8 0 3.281 2.01 3.281 4.52 0 2.49-1.481 4.53-3.281 4.53s-3.25-2.04-3.25-4.53c0-2.51 1.44-4.52 3.25-4.52m20.791 17.22A14.737 14.737 0 0 1 24 37.78a14.754 14.754 0 0 1-12.69-7.1 1.622 1.622 0 0 1-.19-1.25 1.6 1.6 0 0 1 .731-.99 1.687 1.687 0 0 1 1.26-.18 1.545 1.545 0 0 1 .979.73 11.645 11.645 0 0 0 19.821 0 1.57 1.57 0 0 1 1.01-.75 1.533 1.533 0 0 1 1.229.21 1.553 1.553 0 0 1 .72.97 1.641 1.641 0 0 1-.189 1.26"})),share_line:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 49.04 47.56"},(0,o.createElement)("path",{stroke:"rgba(0,0,0,0)",strokeMiterlimit:"10",d:"M12.959 43.4a8.527 8.527 0 0 1-8.527-14.745 21.412 21.412 0 0 1-.071-1.763 20.16 20.16 0 0 1 11.64-18.264 8.527 8.527 0 0 1 17.035-.01 20.194 20.194 0 0 1 11.638 18.274c0 .6-.024 1.189-.071 1.761A8.528 8.528 0 0 1 36.078 43.4a20.121 20.121 0 0 1-23.119 0Zm11.564-.447a15.859 15.859 0 0 0 8.388-2.373 8.53 8.53 0 0 1 7.088-13.28q.285 0 .571.019.005-.211.005-.425a16.1 16.1 0 0 0-8.4-14.116 8.53 8.53 0 0 1-15.318.007 16.062 16.062 0 0 0-8.4 14.109q0 .213.005.425.287-.019.573-.019a8.53 8.53 0 0 1 7.087 13.286 15.885 15.885 0 0 0 8.401 2.371Zm11.634-9.339a4.432 4.432 0 0 0 1.62 6.048 4.374 4.374 0 0 0 2.206.595 4.447 4.447 0 0 0 3.842-2.217 4.428 4.428 0 0 0-3.826-6.64 4.448 4.448 0 0 0-3.842 2.214Zm-29.325-1.62a4.421 4.421 0 1 0 2.207-.6 4.358 4.358 0 0 0-2.207.6Zm17.685-18.538a4.428 4.428 0 1 0-4.427-4.428 4.433 4.433 0 0 0 4.427 4.428Z"})),share:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 42.16"},(0,o.createElement)("path",{d:"M30.478 30.796a5.339 5.339 0 0 0-2.867.85l-12.319-8.39a7.556 7.556 0 0 0 .319-2.23 7.133 7.133 0 0 0-.637-2.973l11.787-8.071a5.362 5.362 0 0 0 3.611 1.274A5.665 5.665 0 0 0 36 5.628 5.574 5.574 0 0 0 30.478 0a5.665 5.665 0 0 0-5.628 5.628 4.409 4.409 0 0 0 .318 1.7l-11.894 8.071a7.619 7.619 0 0 0-5.416-2.23 7.859 7.859 0 0 0 0 15.717 7.571 7.571 0 0 0 5.947-2.762l11.576 7.859a5.042 5.042 0 0 0-.638 2.549 5.629 5.629 0 1 0 5.735-5.735"})),apple_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39.1 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M37.851 16.352a10.875 10.875 0 0 0-5.2 9.149 10.585 10.585 0 0 0 6.445 9.71 25.175 25.175 0 0 1-3.3 6.815c-2.055 2.958-4.2 5.912-7.467 5.912s-4.107-1.9-7.876-1.9c-3.674 0-4.981 1.959-7.968 1.959s-5.071-2.737-7.468-6.1A29.422 29.422 0 0 1 0 25.997C0 16.661 6.07 11.71 12.044 11.71c3.175 0 5.821 2.084 7.814 2.084 1.9 0 4.855-2.209 8.467-2.209a11.323 11.323 0 0 1 9.523 4.764"}),(0,o.createElement)("path",{d:"M29.162.78a10.4 10.4 0 0 1-9.774 10.385c-.02-.251-.03-.521-.03-.781A10.387 10.387 0 0 1 29.132-.003c.02.25.03.52.03.78"}))),android_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 41.4 48"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M7.689 34.989a3.728 3.728 0 0 0 3.717 3.717h1.24v6.2a3.1 3.1 0 1 0 6.195 0v-6.2h3.718v6.2a3.1 3.1 0 1 0 6.195 0v-6.2h1.239a3.728 3.728 0 0 0 3.718-3.717V16.4H7.689Z"}),(0,o.createElement)("path",{d:"M38.3 15.529a3.1 3.1 0 0 0-3.1 3.1v12.389a3.1 3.1 0 1 0 6.2 0V18.627a3.1 3.1 0 0 0-3.1-3.1"}),(0,o.createElement)("path",{d:"M3.1 15.529a3.1 3.1 0 0 0-3.1 3.1v12.389a3.1 3.1 0 1 0 6.2 0V18.627a3.1 3.1 0 0 0-3.1-3.1"}),(0,o.createElement)("path",{d:"M27.742 3.979 29.414.917a.62.62 0 0 0-1.087-.594l-1.658 3.034a12.942 12.942 0 0 0-11.939 0L13.073.323a.62.62 0 0 0-1.087.594l1.672 3.062a12.989 12.989 0 0 0-5.969 10.93h26.022a12.989 12.989 0 0 0-5.969-10.93m-12.618 6.593a1.239 1.239 0 1 1 1.239-1.239 1.239 1.239 0 0 1-1.239 1.239m11.152 0a1.239 1.239 0 1 1 1.239-1.239 1.239 1.239 0 0 1-1.239 1.239"}))),google_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47.04 48"},(0,o.createElement)("path",{d:"M24 19.625v8.907h13.227a11.731 11.731 0 0 1-4.907 7.786 14.2 14.2 0 0 1-8.32 2.4 14.447 14.447 0 0 1-13.653-9.973 14.764 14.764 0 0 1-.8-4.747 15.523 15.523 0 0 1 .773-4.746A14.507 14.507 0 0 1 24 9.278a13.3 13.3 0 0 1 9.28 3.574l6.773-6.614A23.061 23.061 0 0 0 24-.002a24 24 0 0 0 0 48 22.873 22.873 0 0 0 15.893-5.813c4.534-4.187 7.147-10.347 7.147-17.653a20.536 20.536 0 0 0-.507-4.907Z"})),messenger:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 45.9 46"},(0,o.createElement)("path",{d:"M45.878 21.53a22.829 22.829 0 0 0-11.4-18.668A24.873 24.873 0 0 0 29.601.83c-8-2.207-17.84 0-23.634 6.161a22.752 22.752 0 0 0-3.4 25.841 18.3 18.3 0 0 0 3.954 5.242A3.676 3.676 0 0 1 7.9 40.833c0 1.287-.368 3.678.736 4.69 1.1 1.1 3.035 0 4.23-.552a7.059 7.059 0 0 1 5.426-.828 25.827 25.827 0 0 0 7.541.276 22.567 22.567 0 0 0 17.38-11.4 21.2 21.2 0 0 0 2.667-11.5m-14.1 2.964ZM30.632 26.155a6.715 6.715 0 0 1-1.584 2.2 3.2 3.2 0 0 1-4.137.088c-1.672-1.232-3.344-2.464-5.016-3.784a1.454 1.454 0 0 0-1.761 0c-2.288 1.76-4.576 3.432-6.864 5.192a1.048 1.048 0 0 1-1.5-1.408c1.849-2.9 3.7-5.9 5.545-8.8.264-.44.616-.88.88-1.408a3.172 3.172 0 0 1 2.817-1.584 3.526 3.526 0 0 1 2.024.7c1.584.968 3.08 2.376 4.664 3.52l.792.528c.969.352 2.025-.792 2.729-1.32 1.232-.968 2.464-1.848 3.7-2.816.616-.44 1.144-.88 1.76-1.32a1.08 1.08 0 0 1 1.409.088.966.966 0 0 1 .176 1.32Z"})),microsoft_solid:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 42 42"},(0,o.createElement)("g",null,(0,o.createElement)("path",{d:"M19.853 0v19.853H0V2.744A2.744 2.744 0 0 1 2.745 0Z"}),(0,o.createElement)("path",{d:"M0 22.146h19.853v19.853H2.745A2.745 2.745 0 0 1 0 39.254Z"}),(0,o.createElement)("path",{d:"M42 2.744v17.109H22.147V0h17.109A2.743 2.743 0 0 1 42 2.744"}),(0,o.createElement)("path",{d:"M22.147 22.146H42v17.108a2.744 2.744 0 0 1-2.744 2.745H22.147Z"}))),mail:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},(0,o.createElement)("path",{d:"M25.034 7.11h21.1c.6 0 1.2.1 1.7.3.4.2.5.3.1.6-1.9 1.8-3.8 3.6-5.8 5.4l-14.9 14.1c-1.1 1.3-2.9 1.4-4.2.4l-.4-.4-20.5-19.5c-.5-.4-.5-.4.2-.7.5-.1.9-.2 1.4-.2h21.3z"}),(0,o.createElement)("path",{d:"M48.134 42.41c-.6.3-1.2.5-1.9.4h-42.4c-.6 0-1.1-.1-1.6-.3-.4-.2-.4-.3-.1-.6l5.1-4.8c3.5-3.3 7-6.6 10.5-10 .3-.3.5-.3.8 0 1.3 1.3 2.6 2.5 4 3.8 1.3 1.5 3.6 1.6 5 .2.1-.1.2-.1.2-.2 1.3-1.3 2.7-2.5 4-3.8.2-.2.3-.2.6 0 5.2 5 10.5 10 15.8 15-.1.2 0 .2 0 .3zM.234 9.71c1.8 2.1 3.8 3.8 5.8 5.7 3.2 3.1 6.5 6.2 9.7 9.3.3.3.3.5 0 .7-4.8 4.5-9.6 9.1-14.4 13.7-.5.4-.8.9-1.1 1.4-.3-1.1-.3-30 0-30.8zM49.934 9.71c.1 10.2.1 20.4 0 30.6-.9-1-1.8-2-2.9-2.8-4.2-4-8.5-8.1-12.7-12.1-.3-.3-.3-.5 0-.8 4.8-4.6 9.6-9.1 14.4-13.7.4-.3.8-.8 1.2-1.2z"})),media_document:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},(0,o.createElement)("path",{d:"m12 2 4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z"})),...a,...i}},6834:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294),a=l(3245);const{__}=wp.i18n,i=e=>{const{setDevice:t,device:l}=e,i=e=>{t(e)};return(0,o.createElement)("div",{className:"ultp-responsive-device"},(0,o.createElement)("div",{className:"ultp-responsive-dropdown ultp-responsive-"+l},(0,o.createElement)("span",{onClick:()=>i("lg")},a.ZP.desktop),(0,o.createElement)("span",{className:"sm"==l?"ultp-responsive-active":"",onClick:()=>i("sm")},a.ZP.tablet),(0,o.createElement)("span",{className:"xs"==l?"ultp-responsive-active":"",onClick:()=>i("xs")},a.ZP.mobile)))}},5484:(e,t,l)=>{"use strict";l.d(t,{Z:()=>o});const o=[{n:"none",f:"None"},{n:"Arial",f:"sans-serif",v:[100,200,300,400,500,600,700,800,900]},{n:"Tahoma",f:"sans-serif",v:[100,200,300,400,500,600,700,800,900]},{n:"Verdana",f:"sans-serif",v:[100,200,300,400,500,600,700,800,900]},{n:"Helvetica",f:"sans-serif",v:[100,200,300,400,500,600,700,800,900]},{n:"Times New Roman",f:"sans-serif",v:[100,200,300,400,500,600,700,800,900]},{n:"Trebuchet MS",f:"sans-serif",v:[100,200,300,400,500,600,700,800,900]},{n:"Georgia",f:"sans-serif",v:[100,200,300,400,500,600,700,800,900]}]},8421:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var o=l(7294);const a=e=>{const{setSettings:t,unit:l,value:a}=e,i="object"==typeof l?l:["px","em","rem","%","vh","vw"];return(0,o.createElement)("div",{className:"ultp-field-unit-list"},(0,o.createElement)("span",{className:"ultp-unit-checked"},a||"px"),i.length>1&&(0,o.createElement)("div",{className:"ultp-field-unit-dropdown"},i.map(((e,l)=>(0,o.createElement)("span",{key:l,className:e==a?"ultp-unit-active":"",onClick:()=>{t(e,"unit")}},e)))))}},674:(e,t,l)=>{"use strict";l.d(t,{Z:()=>C});var o=l(7294),a=l(8949),i=l(448),n=l(7484),r=l(1525),s=l(2217),p=l(405),c=l(3245),u=l(7808),d=l(9558);const{__}=wp.i18n,{apiFetch:m,editSite:g,editPost:y,editor:b}=wp,{Fragment:v,useState:h,useEffect:f}=wp.element,{Dropdown:k}=wp.components,{useSelect:w,useDispatch:x}=wp.data,T={editorWidth:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},(0,o.createElement)("path",{d:"m46 22-8-7h-4v4l4 3H12l4-3v-4h-4l-8 7-1 3 1 3 8 7 2 1 2-1v-4l-4-3h26l-4 3v4l2 1 2-1 8-7 1-3-1-3zM2 50l-2-2V2l2-2 1 2v46l-1 2zm46 0-1-2V2l1-2 2 2v46l-2 2z"})),editorColor:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},(0,o.createElement)("path",{d:"M46 10C41 4 33 0 25 0a26 26 0 0 0-10 48s7 3 11 2c2-1 3-2 3-4l-2-5c0-2 1-4 3-4l9-1 6-3c7-6 6-17 1-23zM10 24c-3 0-5-2-5-5s2-5 5-5c2 0 5 3 5 5s-3 5-5 5zm8-10c-2 0-5-2-5-5s3-5 5-5c3 0 5 3 5 5s-2 5-5 5zm14 0c-3 0-5-2-5-5s2-5 5-5 5 3 5 5-2 5-5 5zm9 10c-2 0-5-2-5-5s2-5 5-5 5 3 5 5-2 5-5 5z"})),editorBreak:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},(0,o.createElement)("path",{d:"M46 0H17c-2 0-4 2-4 4v6h20c4 0 7 3 7 7v20h6c2 0 4-2 4-4V4c0-2-2-4-4-4z"}),(0,o.createElement)("path",{d:"M33 14H4c-2 0-4 1-4 3v29c0 2 2 4 4 4h29c2 0 4-2 4-4V17c0-2-2-4-4-4z"})),logo:(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 48.3"},(0,o.createElement)("path",{d:"M23 2c-3 1-5 3-5 6v9H8c-3 0-6 2-6 5l-2-2V3c0-2 1-3 3-3h17l3 2zm22 6v14H31a7 7 0 0 0-6-5h-3V8l1-2 2-1h17c2 0 3 1 3 3zm5 20v17c0 2-1 3-3 3H30l-3-2c3-1 5-3 5-6V26h17l1 2zm-22-5v17l-1 2-2 1H8c-2 0-3-1-3-3V23c0-2 1-3 3-3h17l1 1 2 1v1z"}))},S=e=>{const{children:t,title:l,icon:a,initOpen:i}=e,[n,r]=h(!!i);return(0,o.createElement)("div",{className:"ultp-section-accordion"},(0,o.createElement)("div",{className:"ultp-section-accordion-item ultp-global-accordion-item",onClick:()=>r(!n)},(0,o.createElement)("div",{className:"ultp-global-accordion-title"},a,l,n?(0,o.createElement)("span",{className:"ultp-section-arrow dashicons dashicons-arrow-down-alt2"}):(0,o.createElement)("span",{className:"ultp-section-arrow dashicons dashicons-arrow-up-alt2"}))),(0,o.createElement)("div",{className:"ultp-section-show "+(n?"":"is-hide")},n&&t))},P=()=>(0,o.createElement)("div",null,(0,o.createElement)("div",{className:"ultp-postx-settings-panel-title"},(0,o.createElement)("span",{title:"Go Back","arial-label":"Go Back",role:"button",onClick:()=>{const e=localStorage.getItem("ultp_prev_sel_block");e&&(wp.data.dispatch("core/block-editor").selectBlock().then((()=>{wp.data.dispatch("core/block-editor").selectBlock(e)})),localStorage.removeItem("ultp_prev_sel_block")),wp.data.dispatch("core/edit-post").openGeneralSidebar("edit-post/block")}},c.ZP.leftArrowLg),(0,o.createElement)("span",null,__("PostX Settings","ultimate-post")))),C=e=>{if(!g&&!y)return null;const{isSavingPost:t,isAutosavingPost:l,isDirty:C,isReady:E}=w((e=>{let t=!1;try{t=e("core/editor").__unstableIsEditorReady()}catch(l){try{t=e("core/editor").isCleanNewPost()||e("core/block-editor").getBlockCount()>0}catch(e){}}return{isSavingPost:e("core/editor").isSavingPost(),isAutosavingPost:e("core/editor").isAutosavingPost(),isDirty:e("core/editor").isEditedPostDirty(),isReady:t}})),{editPost:_}=x("core/editor");function L(){!C&&E&&_({makingPostDirty:""},{undoIgnore:!0})}const[I,U]=h({gbbodyBackground:{openColor:1,type:"color",color:"var(--postx_preset_Base_1_color)"},enablePresetColorCSS:!1,enablePresetTypoCSS:!1,enableDark:!1,globalCSS:""}),[B,M]=h(!1),[A,H]=h(!1),[N,j]=h(!1),[O,Z]=h("lg"),{editorType:R,editorWidth:D,breakpointSm:F,breakpointXs:z,gbbodyBackground:W,enablePresetColorCSS:G,enablePresetTypoCSS:V,enableDark:q}=I,[$,K]=h(!1),[J,Y]=h({rootCSS:"",Base_1_color:"#f4f4ff",Base_2_color:"#dddff8",Base_3_color:"#B4B4D6",Primary_color:"#3323f0",Secondary_color:"#4a5fff",Tertiary_color:"#FFFFFF",Contrast_3_color:"#545472",Contrast_2_color:"#262657",Contrast_1_color:"#10102e",Over_Primary_color:"#ffffff"}),[X,Q]=h({rootCSS:"",Primary_to_Secondary_to_Right_gradient:"linear-gradient(90deg, var(--postx_preset_Primary_color) 0%, var(--postx_preset_Secondary_color) 100%)",Primary_to_Secondary_to_Bottom_gradient:"linear-gradient(180deg, var(--postx_preset_Primary_color) 0%, var(--postx_preset_Secondary_color) 100%)",Secondary_to_Primary_to_Right_gradient:"linear-gradient(90deg, var(--postx_preset_Secondary_color) 0%, var(--postx_preset_Primary_color) 100%)",Secondary_to_Primary_to_Bottom_gradient:"linear-gradient(180deg, var(--postx_preset_Secondary_color) 0%, var(--postx_preset_Primary_color) 100%)",Cold_Evening_gradient:"linear-gradient(0deg, rgb(12, 52, 131) 0%, rgb(162, 182, 223) 100%, rgb(107, 140, 206) 100%, rgb(162, 182, 223) 100%)",Purple_Division_gradient:"linear-gradient(0deg, rgb(112, 40, 228) 0%, rgb(229, 178, 202) 100%)",Over_Sun_gradient:"linear-gradient(60deg, rgb(171, 236, 214) 0%, rgb(251, 237, 150) 100%)",Morning_Salad_gradient:"linear-gradient(-255deg, rgb(183, 248, 219) 0%, rgb(80, 167, 194) 100%)",Fabled_Sunset_gradient:"linear-gradient(-270deg, rgb(35, 21, 87) 0%, rgb(68, 16, 122) 29%, rgb(255, 19, 97) 67%, rgb(255, 248, 0) 100%)"}),[ee,te]=h({Heading_typo:{openTypography:1,transform:"capitalize",family:"Helvetica",weight:600},Body_and_Others_typo:{openTypography:1,transform:"lowercase",family:"Helvetica",weight:400},presetTypoCSS:"",body_typo:{openTypography:1,size:{lg:"16",unit:"px"}},paragraph_1_typo:{openTypography:1,size:{lg:"12",unit:"px"}},paragraph_2_typo:{openTypography:1,size:{lg:"12",unit:"px"}},paragraph_3_typo:{openTypography:1,size:{lg:"12",unit:"px"}},heading_h1_typo:{size:{lg:"42",unit:"px"}},heading_h2_typo:{size:{lg:"36",unit:"px"}},heading_h3_typo:{size:{lg:"30",unit:"px"}},heading_h4_typo:{size:{lg:"24",unit:"px"}},heading_h5_typo:{size:{lg:"20",unit:"px"}},heading_h6_typo:{size:{lg:"16",unit:"px"}}}),le=e=>"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")",oe=(e={})=>{let t="";if("fullscreen"!=e.editorType&&"custom"!=e.editorType||(t="body.block-editor-page #editor .wp-block-post-content > .block-editor-block-list__block.wp-block:not(:is(.alignfull, .alignwide), :has( .block-editor-inner-blocks  .block-editor-block-list__block.wp-block)){ max-width: "+("fullscreen"==e.editorType?"100%":(e.editorWidth||1200)+"px")+";}"),null===window.document.getElementById("ultp-block-global")){let e=document.createElement("style");e.type="text/css",e.id="ultp-block-global",e.styleSheet?e.styleSheet.cssText=t:e.innerHTML=t,window.document.getElementsByTagName("head")[0].appendChild(e)}else window.document.getElementById("ultp-block-global").innerHTML=t;L()};f((()=>{(async()=>{m({path:"/ultp/v1/action_option",method:"POST",data:{type:"get"}}).then((e=>{if(e.success){let t=Object.assign({},I,e.data);t={...t,globalCSS:(0,i.AJ)("globalCSS",t)},U(t),de(t.globalCSS,"wpxpo-global-style-inline-css"),localStorage.setItem("ultpGlobal"+ultp_data.blog,JSON.stringify(t)),oe(t)}}))})(),(async()=>{j(!0),(0,i.x2)("get","ultpPresetColors","",(e=>{if(e.data){let t={...J,...e.data};t={...t,rootCSS:ce(t,"")},(0,i.Jj)("ultpPresetColors",t),Y(t),j(!1),e.data.length<1&&(0,i.x2)("set","ultpPresetColors",t)}}))})(),(async()=>{(0,i.x2)("get","ultpPresetGradients","",(e=>{if(e.data){let t={...X,...e.data};t={...t,rootCSS:ce(t,"gradient")},(0,i.Jj)("ultpPresetGradients",t),Q(t),e.data.length<1&&(0,i.x2)("set","ultpPresetGradients",t)}}))})(),(async()=>{(0,i.x2)("get","ultpPresetTypos","",(e=>{if(e.data){let t={...ee,...e.data};t={...t,presetTypoCSS:ue(t)},(0,i.Jj)("ultpPresetTypos",t),te(t),e.data.length<1&&(0,i.x2)("set","ultpPresetTypos",t)}}))})()}),[]);const ae=(0,i.AJ)("typoStacks"),ie=(0,i.AJ)("presetTypoKeys"),ne=(0,i.AJ)("colorStacks"),re=(0,i.AJ)("presetColorKeys"),se=()=>{B&&(H(!0),(0,i.x2)("set","ultpPresetColors",J),(0,i.x2)("set","ultpPresetGradients",X),(0,i.x2)("set","ultpPresetTypos",ee),m({method:"POST",path:"/ultp/v1/action_option",data:{type:"set",data:I}}).then((e=>{M(!1),H(!1)})))},pe=(e,t,l)=>{M(!0),e.indexOf("presetColor")>-1&&"object"==typeof t&&(t=le(t));let o={...I,[e]:t};if("enableDark"==e&&!l){let e={...J,Base_1_color:J.Contrast_1_color,Base_2_color:J.Contrast_2_color,Base_3_color:J.Contrast_3_color,Contrast_1_color:J.Base_1_color,Contrast_2_color:J.Base_2_color,Contrast_3_color:J.Base_3_color};e={...e,rootCSS:ce(e,"")},Y(e),t&&(o={...o,gbbodyBackground:{...W,openColor:1,type:"color",color:"var(--postx_preset_Base_1_color)"}})}const a=(0,i.AJ)("globalCSS",o);o={...o,globalCSS:a},U(o),localStorage.setItem("ultpGlobal"+ultp_data.blog,JSON.stringify(o)),de(a,"wpxpo-global-style-inline-css"),"editorType"!=e&&"editorWidth"!=e||oe(o),L()};f((()=>{!t||l||A||se()}),[t,l,se,A]);const ce=(e={},t)=>{const l="gradient"==t?"":"#026fe0",o="gradient"==t?"ultp-preset-gradient-style-inline-css":"ultp-preset-colors-style-inline-css",a=(0,i.AJ)("styleCss",e,l);return de(a,o),L(),a},ue=(e={})=>{const t=(0,i.AJ)("typoCSS",e);return de(t,"ultp-preset-typo-style-inline-css"),L(),t},de=(e="{}",t="")=>{window.document.getElementById(t)&&(window.document.getElementById(t).innerHTML=e);const l=window.document.getElementsByName("editor-canvas");l&&l[0]?.contentDocument&&l[0]?.contentDocument.getElementById(t)&&(l[0].contentDocument.getElementById(t).innerHTML=e),L()},me=b?b.PluginSidebar:g?g.PluginSidebar:null;return(0,o.createElement)(v,null,(0,o.createElement)(me,{icon:T.logo,name:"postx-settings",title:(0,o.createElement)(P,null)},(0,o.createElement)("div",{className:"ultp-preset-save-wrapper"},(0,o.createElement)("button",{className:`ultp-preset-save-btn ${A?" s_loading":""} ${B?" active":""}`,onClick:se},"Save changes ",A&&c.ZP.refresh)),(0,o.createElement)("div",{className:"ultp-preset-options-tab"},(0,o.createElement)("style",null," ",(0,i.AJ)("font_load_all","",!1)),(0,o.createElement)(p.Z,{label:__("Override Theme Style & Color","ultimate-post"),value:G,onChange:e=>pe("enablePresetColorCSS",e)}),(0,o.createElement)("div",{className:"ultp-editor-dark-key-container "+(q?"dark-active":"")},(0,o.createElement)("div",{className:"light-label"},"Light Mode"),(0,o.createElement)(p.Z,{label:__("Dark Mode","ultimate-post"),value:q,onChange:e=>pe("enableDark",e)})),(0,o.createElement)("div",{className:"ultp-global-current-content seleted",onClick:()=>K(!$)},(0,o.createElement)("div",{className:"ultp-preset-typo-show"},(0,o.createElement)("span",{className:"",style:{color:J.Contrast_1_color,fontFamily:ee.Heading_typo.family,fontWeight:ee.Heading_typo.weight}},"A"),(0,o.createElement)("span",{className:"",style:{color:J.Contrast_2_color,fontFamily:ee.Body_and_Others_typo.family,fontWeight:ee.Body_and_Others_typo.weight}},"a")),(0,o.createElement)("div",{className:"ultp-preset-color-show show-settings"},re.map(((e,t)=>["Base_3_color","Primary_color","Secondary_color","Contrast_3_color"].includes(e)&&(N?(0,o.createElement)(a.Z,{key:t,type:"custom_size",c_s:{size1:20,unit1:"px",size2:20,unit2:"px",br:20}}):(0,o.createElement)("span",{key:t,className:"ultp-global-color",style:{backgroundColor:J[e]}})))))),(0,o.createElement)("div",{className:"ultp-color-field-tab"},(0,o.createElement)(v,null,(0,o.createElement)(k,{open:$,className:"ultp-range-control",popoverProps:{placement:"top-start"},contentClassName:"ultp-editor-preset-color-dropdown components-dropdown__content",focusOnMount:!0,renderToggle:({onToggle:e,onClose:t})=>(0,o.createElement)("div",{className:"preset-choose",onClick:()=>K(!$)},"Choose Style ",(0,o.createElement)("div",null,c.ZP.collapse_bottom_line)),renderContent:({onClose:e})=>(0,o.createElement)("div",{className:"ultp-global-preset-choose-popup"},ne.map(((t,l)=>(0,o.createElement)("div",{key:l,className:"ultp-global-current-content",onClick:()=>{e(),(e=>{pe("enableDark",!1,!0);const t={};re.forEach(((l,o)=>{t[l]=ne[e][o]}));let l={...J,...t};if(l={...l,rootCSS:ce(l,"")},Y(l),e<ae.length){const t={};ie.forEach(((l,o)=>{t[l]={...ee[l]},t[l].family=ae[e][o].family,t[l].type=ae[e][o].type,t[l].weight=ae[e][o].weight}));let l={...ee,...t};l={...l,presetTypoCSS:ue(l)},te(l)}})(l)},style:{background:t[0]}},(0,o.createElement)("div",{className:"ultp-preset-typo-show",style:{color:t[2]}},ae[l]?.map(((e,l)=>(0,o.createElement)("span",{key:l},(0,o.createElement)("span",{key:l,className:"",style:{color:t[l+7],fontFamily:e.family,fontWeight:e.weight}},0==l?"A":"a"))))),(0,o.createElement)("div",{className:"ultp-preset-color-show"},t.map(((e,t)=>![1,2,6,8,9].includes(t+1)&&(0,o.createElement)("span",{key:t,className:"ultp-global-color",style:{backgroundColor:e}}))))))))})))),(0,o.createElement)("div",{className:"ultp-preset-color-tabs"},N?(0,o.createElement)(v,null,(0,o.createElement)("div",{className:"ultp-global-color-label"},(0,o.createElement)("div",{className:"ultp-global-color-label-content"},"Color Palette"),(0,o.createElement)("div",{className:"ultp-color-field-tab"},(0,o.createElement)("div",{className:"active"},"Solid"),(0,o.createElement)("div",null,"Gradient"))),(0,o.createElement)("div",{className:"ultp-global-color-preset"},Array(9).fill(1).map(((e,t)=>(0,o.createElement)(a.Z,{key:t,type:"custom_size",c_s:{size1:23,unit1:"px",size2:23,unit2:"px",br:23}}))))):(0,o.createElement)(u.Z,{presetColors:J,setSaveNotice:M,setPresetColors:Y,presetGradients:X,setPresetGradients:Q,_getColor:le,setGlobalColor:ce}),(0,o.createElement)("div",{className:"ultp-editor-background-setting-container"},(0,o.createElement)("div",{className:"ultp-editor-background-setting-label"},"Background"),(0,o.createElement)("div",{className:"ultp-editor-background-setting-content"},(0,o.createElement)("div",{style:(0,i.AJ)("bgCSS",W),className:"ultp-editor-background-demo"}),(0,o.createElement)(n.Z,{label:"",value:W,image:!0,video:!1,extraClass:"",customGradient:[],gbbodyBackground:!0,onChange:e=>{pe("gbbodyBackground",e)}})))),(0,o.createElement)(S,{initOpen:!0,title:__("Typography","ultimate-post")},(0,o.createElement)(d.Z,{device:O,setDevice:Z,setSaveNotice:M,presetTypos:ee,setPresetTypos:te,setGlobalTypo:ue,enablePresetTypoCSS:V,setValue:pe})),(0,o.createElement)(S,{title:__("Editor Width","ultimate-post"),icon:T.editorColor},(0,o.createElement)(s.Z,{value:R||"",keys:"editorType",label:__("Editor Width","ultimate-post"),options:[{label:"Choose option",value:""},{label:"Theme Default",value:"default"},{label:"Full Screen",value:"fullscreen"},{label:"Custom Size",value:"custom"}],beside:!1,onChange:e=>pe("editorType",e)}),"custom"==R&&(0,o.createElement)(r.Z,{value:D||1200,min:500,max:3e3,placeholder:"1200",onChange:e=>pe("editorWidth",e)})),(0,o.createElement)(S,{title:__("Breakpoints","ultimate-post"),icon:T.editorBreak},(0,o.createElement)(r.Z,{value:F||991,min:600,max:1200,step:1,label:__("Tablet (Max Width)","ultimate-post"),onChange:e=>pe("breakpointSm",e)}),(0,o.createElement)(r.Z,{value:z||767,min:300,max:1e3,step:1,label:__("Mobile (Max Width)","ultimate-post"),onChange:e=>pe("breakpointXs",e)}))))}},7808:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7294),a=l(448),i=l(6687),n=l(7763);const{useState:r,Fragment:s}=wp.element,{__}=wp.i18n,{Dropdown:p,Tooltip:c,GradientPicker:u}=wp.components,d=e=>{const{presetColors:t,setPresetColors:l,presetGradients:d,setPresetGradients:m,_getColor:g,setGlobalColor:y,setSaveNotice:b}=e,[v,h]=r(""),[f,k]=r(""),[w,x]=r(!1),T=(e,o,a,i)=>{b(!0);let n="gradient"==i?{...d}:{...t};const r="gradient"==i?m:l,s="gradient"==i?"_gradient":"_color";if("delete"==e)delete n[o];else if("colorlabel"==e){o=o.replaceAll(" ","_")+s;const e={};for(const t in n)e[t==a?o:t]=n[t];n={...e}}else"object"==typeof o&&"gradient"!=i&&(o=g(o)),n={...n,[e]:o};n={...n,rootCSS:y(n,i)},r(n)},S=e=>"object"==typeof e?"linear"==e.type?"linear-gradient("+e.direction+"deg, "+e.color1+" "+e.start+"%, "+e.color2+" "+e.stop+"%)":"radial-gradient( circle at "+e.radial+" , "+e.color1+" "+e.start+"%,"+e.color2+" "+e.stop+"%)":e||{},P=(e,t,l,i)=>{const r=(0,a.AJ)("gradient"==i?"presetGradientKeys":"presetColorKeys"),s="gradient"==i?"_gradient":"_color";return"gradient"!=i&&r.push("Over_Primary_color"),(0,o.createElement)("div",{className:"ultp-editor-preset-typo-lists ultp-preset-color-label"},(0,o.createElement)("div",{className:"typo-label-container"},(0,o.createElement)("div",{className:"typo-label-demo"},(0,o.createElement)("div",null,"Name: "),r.includes(e)?(0,o.createElement)("div",{className:"typo-label"},e.replace(s,"").replaceAll("_"," ")):(0,o.createElement)("input",{className:"typo-label",defaultValue:e.replace(s,"").replaceAll("_"," "),onBlur:t=>{h(t.target.value.replaceAll(" ","_")+s),T("colorlabel",t.target.value,l?v:e,i)},onClick:e=>e.stopPropagation()})),!r.includes(e)&&(0,o.createElement)("div",{className:"color-delete",onClick:l=>{l.stopPropagation(),T("delete",e,"",i),t()}},n.Z.delete)))};return(0,o.createElement)("div",null,(0,o.createElement)("div",{className:"ultp-global-color-label"},(0,o.createElement)("div",{className:"ultp-global-color-label-content"},"Color Palette"),(0,o.createElement)("div",{className:"ultp-color-field-tab"},(0,o.createElement)("div",{className:w?"":"active",onClick:()=>x(!1)},"Solid"),(0,o.createElement)("div",{className:w?"active":"",onClick:()=>x(!0)},"Gradient"))),w?(0,o.createElement)("div",{className:"ultp-global-color-preset"},Object.keys(d).map(((e,t)=>(0,o.createElement)(s,{key:t},"rootCSS"!=e&&(0,o.createElement)(p,{className:"ultp-range-control",contentClassName:"ultp-editor-preset-gradient-dropdown components-dropdown__content",popoverProps:{placement:"bottom-start"},focusOnMount:!0,renderToggle:({onToggle:t,onClose:l})=>(0,o.createElement)(c,{position:"top",text:e.replace("_gradient","").replaceAll("_"," ")},(0,o.createElement)("span",{className:"ultp-global-color",onClick:()=>{!["Primary_to_Secondary_to_Right_gradient","Primary_to_Secondary_to_Bottom_gradient","Secondary_to_Primary_to_Right_gradient","Secondary_to_Primary_to_Bottom_gradient"].includes(e)&&t()},style:{background:d[e]}})),renderContent:({onClose:t})=>(0,o.createElement)(s,null,(0,o.createElement)("div",{className:"ultp-common-popup ultp-color-popup ultp-color-container"},(0,o.createElement)(u,{clearable:!1,__nextHasNoMargin:!0,value:"object"==typeof d[e]?S(d[e]):d[e],onChange:t=>{T(e,S(t),"","gradient")}})),P(e,t,"","gradient"))})))),(0,o.createElement)(s,null,(0,o.createElement)(p,{className:"ultp-range-control",contentClassName:"ultp-editor-preset-gradient-dropdown components-dropdown__content",popoverProps:{placement:"bottom-start"},focusOnMount:!0,renderToggle:({onToggle:e,onClose:t})=>(0,o.createElement)("span",{className:"ultp-global-color-add",onClick:()=>{e();const t=String.fromCharCode(97+Math.floor(26*Math.random()));T(`Custom_${Object.keys(d).length-5}${t}_gradient`,"linear-gradient(113deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%)","","gradient"),k("linear-gradient(113deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%)"),h(`Custom_${Object.keys(d).length-5}${t}_gradient`)}},n.Z.plus),renderContent:({onClose:e})=>(0,o.createElement)(s,null,(0,o.createElement)("div",{className:"ultp-common-popup ultp-color-popup"},(0,o.createElement)(u,{className:"ultp-common-popup ultp-color-popup ultp-color-container",clearable:!1,value:f||"linear-gradient(113deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%)",onChange:e=>{k(S(e)),T(v,e,"","gradient")}})),P(v,e,"save","gradient"))}))):(0,o.createElement)("div",{className:"ultp-global-color-preset"},Object.keys(t).map(((e,l)=>(0,o.createElement)(s,{key:l},"rootCSS"!=e&&(0,o.createElement)(p,{className:"ultp-range-control",contentClassName:"ultp-editor-preset-color-dropdown components-dropdown__content",popoverProps:{placement:"bottom-start"},focusOnMount:!0,renderToggle:({onToggle:l,onClose:a})=>(0,o.createElement)(c,{position:"top",text:e.replace("_color","").replaceAll("_"," ")},(0,o.createElement)("span",{className:"ultp-global-color",onClick:()=>l(),style:{backgroundColor:t[e]}})),renderContent:({onClose:l})=>(0,o.createElement)("div",null,(0,o.createElement)(i.Z,{presetSetting:!0,value:t[e],onChange:t=>T(e,t,"","")}),P(e,l,"",""))})))),(0,o.createElement)(s,null,(0,o.createElement)(p,{className:"ultp-range-control",contentClassName:"ultp-editor-preset-color-dropdown components-dropdown__content",popoverProps:{placement:"bottom-start"},focusOnMount:!0,renderToggle:({onToggle:e,onClose:l})=>(0,o.createElement)("span",{className:"ultp-global-color-add",onClick:()=>{e();const l=String.fromCharCode(97+Math.floor(26*Math.random()));T(`Custom_${Object.keys(t).length-9}${l}_color`,"#000","","color"),k("#000"),h(`Custom_${Object.keys(t).length-9}${l}_color`)}},n.Z.plus),renderContent:({onClose:e})=>(0,o.createElement)("div",null,(0,o.createElement)(i.Z,{presetSetting:!0,value:f||"#000",onChange:e=>{"object"==typeof e&&(e=g(e)),k(e),T(v,e,"","")}}),P(v,e,"save",""))}))))}},9558:(e,t,l)=>{"use strict";l.d(t,{Z:()=>d});var o=l(7294),a=l(448),i=l(7928),n=l(405),r=l(7106),s=l(7763);const{Fragment:p}=wp.element,{Dropdown:c}=wp.components,{__}=wp.i18n,u=(0,a.AJ)("multipleTypos"),d=e=>{const{presetTypos:t,setPresetTypos:l,device:d,setDevice:m,setGlobalTypo:g,enablePresetTypoCSS:y,setValue:b,setSaveNotice:v}=e,h=(e,o,a,i)=>{v(!0);let n={...t};if("delete"==e)delete n[a];else if(["size","height"].includes(e))n={...n,[a]:{...t[a],[e]:o}};else if("all"==e)u[a].forEach((e=>{o={...o,size:t[e].size},n={...n,[e]:o}}));else if("typolabel"==e){a=a.replaceAll(" ","_")+"_typo";const e={};for(const t in n)e[t==i?a:t]=n[t];n={...e}}else n={...n,[a]:o};n={...n,presetTypoCSS:g(n)},l(n)},f=(e,l,n)=>(0,o.createElement)(p,{key:n},(0,o.createElement)(c,{className:"ultp-editor-dropdown",contentClassName:"ultp-editor-typo-content ultp-editor-preset-dropdown components-dropdown__content",popoverProps:{placement:"top-start"},focusOnMount:!0,renderToggle:({onToggle:l})=>(0,o.createElement)("div",{className:"ultp-global-label ultp-field-typo",onClick:()=>l()},(e=>{const l=[...(0,a.AJ)("presetTypoKeys"),"presetTypoCSS"],i="_typo";return(0,o.createElement)("div",{className:"ultp-editor-preset-typo-lists"},(0,o.createElement)("div",{className:"typo-label-container"},(0,o.createElement)("div",{className:"typo-label-demo"},(0,o.createElement)("div",{className:"typo-demo",style:{fontFamily:t[e].family}},"Aa"),l.includes(e)?(0,o.createElement)("div",{className:"typo-label"},e.replace(i,"").replaceAll("_"," ")):(0,o.createElement)("input",{type:"text",className:"typo-label",value:e.replace(i,"").replaceAll("_"," "),onChange:t=>{h("typolabel","",t.target.value,e)},onClick:e=>e.stopPropagation()}))),(0,o.createElement)("div",{className:"ultp-editor-typo-actions"},(0,o.createElement)("div",{className:"typo-edit"},s.Z.edit),!l.includes(e)&&(0,o.createElement)("div",{className:"typo-delete",onClick:t=>{t.stopPropagation(),h("delete","",e)}},s.Z.delete)))})(e)),renderContent:({onClose:a})=>(0,o.createElement)("div",{className:"ultp-global-typos"},(0,o.createElement)(r.Z,{presetSetting:!0,presetSettingParent:"all"==l,key:n,value:t[e],label:"",device:d,setDevice:e=>{m(e)},onChange:t=>h("parent",t,e),onDeviceChange:e=>{}}),"all"==l&&(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-separator ultp-typo-separator"},(0,o.createElement)("div",null,(0,o.createElement)("span",{className:"typo_title"},"Font Size & Line Height"))),"all"==l&&u[e].map(((e,l)=>(0,o.createElement)("div",{key:l,className:"ultp-preset-typo-seperate-setiings"},(0,o.createElement)("div",{className:"ultp-field-wrap ultp-field-separator ultp-typo-separator"},(0,o.createElement)("div",{className:"typo-left"},(0,o.createElement)("span",{className:"typo_title"},e.replace("_typo","").replaceAll("_"," ")))),(0,o.createElement)("div",{key:l,className:"ultp-typo-container ultp-typ-family"},(0,o.createElement)("div",{className:"ultp-typo-section"},(0,o.createElement)(i.Z,{min:1,max:300,step:1,unit:["px","em","rem"],responsive:!0,label:"Font Size",value:t[e].size||"",device:d,setDevice:m,onChange:t=>h("size",t,e)})),(0,o.createElement)("div",{className:"ultp-typo-section"},(0,o.createElement)(i.Z,{min:1,max:300,step:1,responsive:!0,device:d,setDevice:m,unit:["px","em","rem"],label:"Line Height",value:t[e].height||"",onChange:t=>h("height",t,e)})))))))}));return(0,o.createElement)("div",{className:"ultp-editor-global-typo-container"},(0,o.createElement)(n.Z,{label:__("Override Theme Typography","ultimate-post"),value:y,onChange:e=>b("enablePresetTypoCSS",e)}),(0,o.createElement)("div",{className:"ultp-editor-global-typo-section"},Object.keys(u).map(((e,t)=>f(e,"all",t))),Object.keys(t).map(((e,t)=>![...u.Body_and_Others_typo,...u.Heading_typo,...(0,a.AJ)("presetTypoKeys"),"presetTypoCSS"].includes(e)&&f(e,"single",t)))),(0,o.createElement)("span",{className:"ultp-global-typo-add",onClick:()=>{h("",{openTypography:1,family:"Arial",type:"sans-serif",weight:100},`Custom_${Object.keys(t).length-12}${String.fromCharCode(97+Math.floor(26*Math.random()))}_typo`,"")}},(0,o.createElement)("span",{className:"typo-add"},s.Z.plus),"Add Item"))}},7025:(e,t,l)=>{"use strict";l.d(t,{CH:()=>H,DX:()=>S,Dg:()=>P,FL:()=>C,FW:()=>x,IG:()=>_,M5:()=>m,NH:()=>T,Pm:()=>v,Rt:()=>E,Ti:()=>n,Vn:()=>w,ZQ:()=>i,a2:()=>B,gT:()=>A,nn:()=>h,oA:()=>U,ob:()=>L,os:()=>I,p2:()=>p,rl:()=>k,t2:()=>r,zC:()=>M});var o=l(7294),a=l(3049);const{__}=wp.i18n,i={general:!1,query_builder:!1,heading:!1,title:!1,meta:!1,"taxonomy-/-category":!1,tax:!1,image:!1,video:!1,wrap:!1,excerpt:!1,filter:!1,pagination:!1,"read-more":!1,separator:!1,dc_field:!1,dc_group:!1,arrow:!1,dot:!1},n={postsList:[],loading:!0,error:!1,section:{...i,general:!0},toolbarSettings:"",selectedDC:""},r=(e,t,l)=>{t.error&&l({...t,error:!1}),t.loading||l({...t,loading:!0}),wp.apiFetch({path:"/ultp/fetch_posts",method:"POST",data:(0,a.Ld)(e)}).then((e=>{l({...t,postsList:e,loading:!1})})).catch((e=>{l({...t,loading:!1,error:!0})}))},s="https://www.wpxpo.com/postx/pricing/?utm_source=db-postx-editor&utm_medium=quick-query&utm_campaign=postx-dashboard",p=(0,o.createElement)(o.Fragment,null,"AJAX Pagination must be used with Advanced Filter.",(0,o.createElement)("br",null),(0,o.createElement)("strong",null,"Remove Advance Filter first to use non-AJAX pagination")),c=["pagiAlign","pagiArrowSize","pagiBgColor","pagiBorder","pagiColor","pagiHoverBorder","pagiHoverColor","pagiHoverRadius","pagiHoverShadow","pagiHoverbg","pagiMargin","pagiPadding","pagiRadius","pagiShadow","pagiTypo","paginationNav","paginationText","paginationType"],u=[{value:"popular_post_1_day_view",label:__("Trending Today","ultimate-post"),pro:!0,link:s},{value:"popular_post_7_days_view",label:__("This Week’s Popular Posts","ultimate-post"),pro:!0,link:s},{value:"popular_post_30_days_view",label:__("Top Posts of the Month","ultimate-post"),pro:!0,link:s},{value:"popular_post_all_times_view",label:__("All-Time Favorites","ultimate-post"),pro:!0,link:s},{value:"random_post",label:__("Random Posts","ultimate-post"),pro:!0,link:s},{value:"random_post_7_days",label:__("Random Posts (7 Days)","ultimate-post"),pro:!0,link:s},{value:"random_post_30_days",label:__("Random Posts (30 Days)","ultimate-post"),pro:!0,link:s},{value:"latest_post_published",label:__("Latest Posts - Published Date","ultimate-post"),pro:!0,link:s},{value:"latest_post_modified",label:__("Latest Posts - Last Modified Date","ultimate-post"),pro:!0,link:s},{value:"oldest_post_published",label:__("Oldest Posts - Published Date","ultimate-post"),pro:!0,link:s},{value:"oldest_post_modified",label:__("Oldest Posts - Last Modified Date","ultimate-post"),pro:!0,link:s},{value:"alphabet_asc",label:__("Alphabetical ASC","ultimate-post"),pro:!0,link:s},{value:"alphabet_desc",label:__("Alphabetical DESC","ultimate-post"),pro:!0,link:s},{value:"sticky_posts",label:__("Sticky Post","ultimate-post"),pro:!0,link:s},{value:"most_comment",label:__("Most Comments","ultimate-post"),pro:!0,link:s},{value:"most_comment_1_day",label:__("Most Comments (1 Day)","ultimate-post"),pro:!0,link:s},{value:"most_comment_7_days",label:__("Most Comments (7 Days)","ultimate-post"),pro:!0,link:s},{value:"most_comment_30_days",label:__("Most Comments (30 Days)","ultimate-post"),pro:!0,link:s}],d=["post-grid","post-list","post-module"],m=e=>{if(e.startsWith("ultimate-post/")){const[,t]=e.split("/");return d.some((e=>t.startsWith(e)))}return!1},g=e=>{const{getBlocks:t,getBlockRootClientId:l}=wp.data.select("core/block-editor"),o=l(e);if(e){const e=t(o).filter((e=>"ultimate-post/advanced-filter"===e.name));return e[0]?e[0]:null}return null},y=e=>{const{getBlocks:t,getBlockRootClientId:l}=wp.data.select("core/block-editor"),o=l(e);if(e){const e=t(o).filter((e=>"ultimate-post/post-pagination"===e.name));return e[0]?e[0]:null}return null},b=(e,t)=>{const{getBlocks:l}=wp.data.select("core/block-editor");return l(e).filter((e=>m(e.name)))},v=(e,t)=>{const{getBlock:l,getBlockRootClientId:o}=wp.data.select("core/block-editor"),{selectBlock:a,replaceBlock:i}=wp.data.dispatch("core/block-editor"),{createBlock:n,cloneBlock:r}=wp.blocks;if(!g(e)){const s=l(t||o(e)),p=r(l(e)),c=n("ultimate-post/advanced-filter",{});i(e,s&&"ultimate-post/post-grid-parent"===s.name?[c,p]:n("ultimate-post/post-grid-parent",{},[c,p])).then((()=>{a(c.clientId)}))}},h=e=>{const{removeBlock:t,selectBlock:l}=wp.data.dispatch("core/block-editor"),o=g(e);o&&t(o.clientId).then((()=>{l(e)}))},f=e=>{if(!e)return;const t={};return c.forEach((l=>{void 0!==e.attributes[l]&&(t[l]=e.attributes[l])})),t};function k(e,t){const{getBlock:l,getBlockRootClientId:o}=wp.data.select("core/block-editor"),{replaceBlock:a}=wp.data.dispatch("core/block-editor"),{createBlock:i,cloneBlock:n}=wp.blocks;if(!y(e)){const r=l(t||o(e)),s=l(e),p=n(s),c=i("ultimate-post/post-pagination",f(s));r&&"ultimate-post/post-grid-parent"===r.name?a(e,[p,c]).then((()=>{document.querySelector('[data-block="'+c.clientId+'"]')?.scrollIntoView({behavior:"smooth"})})):a(e,i("ultimate-post/post-grid-parent",{},[p,c])).then((()=>{document.querySelector('[data-block="'+c.clientId+'"]')?.scrollIntoView({behavior:"smooth"})}))}}function w(e){const{removeBlock:t,selectBlock:l}=wp.data.dispatch("core/block-editor"),o=y(e);o&&t(o.clientId).then((()=>{l(e)}))}function x(e,t,l={}){let o=function(e,t={}){const{useEntityRecords:l}=wp.coreData,{queryOrder:o}=t;switch(e){case"tags":return l("taxonomy","post_tag",{per_page:-1});case"category":return l("taxonomy","category",{per_page:-1});case"author":return l("root","user",{per_page:-1});case"order":return{hasResolved:!0,records:o&&"desc"!==o?[{id:"asc",name:"ASC"},{id:"desc",name:"DESC"}]:[{id:"desc",name:"DESC"},{id:"asc",name:"ASC"}]};case"order_by":return{hasResolved:!0,records:[{id:"date",name:"Created Date"},{id:"modified",name:"Date Modified"},{id:"title",name:"Title"},{id:"menu_order",name:"Menu Order"},{id:"rand",name:"Random"},{id:"comment_count",name:"Number of Comments"}]};case"adv_sort":return{hasResolved:!0,records:u.map((e=>({id:e.value,name:e.label})))};default:return null}}(e,l);const a=function(e,t){const l=new Map;return["order","order_by"].includes(e)||l.set("_all",{label:t}),l}(e,t);return null===o?["none",a]:o.hasResolved?o.hasResolved&&!o.records?["none",a]:o.hasResolved&&"ERROR"===o.status?["error",a]:("author"===e?o.records.forEach((e=>{if(e.roles&&e.roles.includes("author")){const t=e.name;a.set(String(e.id),{label:t})}})):"custom_tax"===e?o.records.forEach((e=>{a.set(String(e.slug),{label:e.labels.name})})):o.records.forEach((e=>{a.set(String(e.id),{label:e.name})})),["success",a]):["loading",a]}function T(e){return 0===e.length?[]:e.filter((e=>e.attributes.selectedLabel)).map((e=>({[e.clientId]:e.attributes.selectedLabel})))}function S(e){return e.toLowerCase().replace(/\b(\w)/g,(e=>e.toUpperCase()))}function P(e){const{updateBlockAttributes:t}=wp.data.dispatch("core/block-editor");t(e,{selectedValue:"_all",selectedLabel:""})}const C=e=>{let t=[];return e.forEach((e=>{t.push(e),e.innerBlocks&&e.innerBlocks.length>0&&(t=t.concat(C(e.innerBlocks)))})),t};function E(e){function t(e){const t=document.getElementById("ultp-sidebar-"+e);t?(t.classList.add("ultp-sidebar-highlight"),t.style.scrollMarginTop="51px",t.scrollIntoView({behavior:"smooth"}),setTimeout((function(){t?.classList.remove("ultp-sidebar-highlight")}),2e3)):console.warn("section not found: "+e)}e=e.replace(/ /g,"-").toLowerCase(),setTimeout((()=>{try{t(e)}catch{setTimeout((()=>t(e)),1500)}}),500)}function _(e,t){const{updateBlockAttributes:l}=wp.data.dispatch("core/block-editor");b(e).forEach((e=>{l(e.clientId,t)}))}function L(e){localStorage.setItem("ultp_selected_settings_section",e)}function I(e){localStorage.setItem("ultp_selected_toolbar",e)}function U(){"true"!==localStorage.getItem("ultp_settings_reset_disabled")&&(localStorage.removeItem("ultp_selected_settings_section"),localStorage.removeItem("ultp_selected_toolbar"),localStorage.removeItem("ultp_settings_save_state"),localStorage.removeItem("ultp_prev_sel_block"),localStorage.removeItem("ultp_settings_active_tab"))}function B(e,t){localStorage.setItem("ultp_settings_active_tab",e+"###"+t)}function M(e){if("true"===localStorage.getItem("ultp_settings_save_state")){const t=localStorage.getItem("ultp_settings_active_tab");if(t){const[l,o]=t.split("###");return l===e?o:void 0}}}function A(e,t){if("true"===localStorage.getItem("ultp_settings_save_state")){const l=localStorage.getItem("ultp_selected_settings_section");l&&e(l);const o=localStorage.getItem("ultp_selected_toolbar");o&&t(o),U()}}function H(e,t,l,o){let a=null;e&&e["post-grid-parent/postBlockClientId"];const i=g(l.clientId);t&&null===i&&(l.setAttributes({advFilterEnable:!1}),h(l.clientId));const n=y(l.clientId);o&&null===n&&(l.setAttributes({advPaginationEnable:!1}),w(l.clientId))}},4324:(e,t,l)=>{"use strict";l.d(t,{S:()=>r});var o=l(3049);const{useEffect:a}=wp.element,{getBlockAttributes:i,getBlockRootClientId:n}=wp.data.select("core/block-editor"),r=(e={})=>{const{blockId:t,clientId:l,currentPostId:r,setAttributes:s,changePostId:p,checkRef:c}=e;a((()=>{const e=l.substr(0,6),a=0!=c?i(n(l)):"";t?t&&t!=e&&(a?.hasOwnProperty("ref")||s({blockId:e})):s({blockId:e}),0!=p&&(0,o.qi)(s,a,r,l)}),[l])}},2376:(e,t,l)=>{"use strict";l.d(t,{Z:()=>n});const{useEffect:o,useState:a,useRef:i}=wp.element;function n(){const e=i(),[t,l]=a(!1);return o((()=>{const t=t=>{!e.current||e.current.contains(t.target)||((e,t)=>{let l=t.parentNode;for(;null!==l;){if(l===e)return!0;l=l.parentNode}return!1})(e.current,t.target)||l(!1)};return document.addEventListener("click",t,!0),()=>{document.removeEventListener("click",t,!0)}}),[]),{elementRef:e,isSelected:t,setIsSelected:l}}},9902:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});const{useSelect:o,useDispatch:a}=wp.data,{useEffect:i}=wp.element,n={Desktop:"lg",Tablet:"sm",Mobile:"xs",lg:"Desktop",sm:"Tablet",xs:"Mobile"},r=wp.data.select("core/edit-site")?"core/edit-site":"core/edit-post";function s(){if(document.querySelector(".widgets-php")||document.querySelector("body.wp-customizer"))return[localStorage.getItem("ultpDevice")||"lg",e=>{if(localStorage.getItem("ultpDevice")!=e){localStorage.setItem("ultpDevice",e);const t=wp.data?.select("core/block-editor")?.getSelectedBlock();wp.data?.dispatch("core/block-editor")?.clearSelectedBlock(),setTimeout((()=>{t?.clientId&&wp.data.dispatch("core/block-editor")?.selectBlock(t.clientId)}),100)}}];let e;const{clearSelectedBlock:t,selectBlock:l}=a("core/block-editor"),i=o((e=>e("core/block-editor").getSelectedBlock),[]),{setPreviewDevice:s}=a("core/editor");e=s;const{__experimentalSetPreviewDeviceType:p}=a(r);e||(e=p);const c=o((e=>{let t;const{getDeviceType:l}=e("core/editor");if(t=l,!t){const{__experimentalGetPreviewDeviceType:l}=e(r);t=l}return n[t()]}),[]);return[c,o=>{const a=i();(["Desktop","lg"].includes(o)||["Desktop","lg"].includes(c))&&c!==o&&a?.clientId&&!wp.data.select("core/edit-site")?(localStorage.setItem("ultp_settings_save_state","true"),localStorage.setItem("ultp_settings_reset_disabled","true"),t(),e(n[o]),localStorage.setItem("ultpDevice",o.length<3?c:n[o]),setTimeout((()=>{l(a.clientId),setTimeout((()=>{localStorage.removeItem("ultp_settings_reset_disabled")}),500)}),500)):e(n[o])}]}},8640:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var o=l(7294);const{useState:a,useRef:i,useEffect:n}=wp.element;function r({onClick:e,hideStyleButton:t}){const l=i(null),a=e=>{l.current&&!l.current.contains(e.target)&&t()};return n((()=>(document.addEventListener("click",a,!0),()=>{document.removeEventListener("click",a,!0)})),[]),(0,o.createElement)("span",{ref:l,onClick:e,className:"ultp-ux-style-btn dashicons dashicons-admin-customizer"})}function s(e){const[t,l]=a(!1);return{showStyleButton:()=>{l(!0)},StyleButton:t?(0,o.createElement)(r,{hideStyleButton:()=>{l(!1)},onClick:e}):null}}},7763:(e,t,l)=>{"use strict";l.d(t,{Z:()=>i});var o=l(7294);const a={};a.left=(0,o.createElement)("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"})),a.center=(0,o.createElement)("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"})),a.right=(0,o.createElement)("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"})),a.spacing=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},(0,o.createElement)("path",{stroke:"#1E1E1E",strokeWidth:"1.5",d:"m10 8-3.3 3.3a1 1 0 0 0 0 1.4L10 16m4-8 3.3 3.3a1 1 0 0 1 0 1.4L14 16m-7.59-4H17.6M20 4v16M4 4v16"})),a.updateLink=(0,o.createElement)("svg",{style:{height:"20px",width:"20px"},xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 24 24"},(0,o.createElement)("path",{fill:"#070707","fill-rule":"evenodd",d:"M12.95 2.93a5.75 5.75 0 0 1 8.13 8.13v.01l-3 3a5.75 5.75 0 0 1-8.68-.62.75.75 0 0 1 1.2-.9 4.25 4.25 0 0 0 6.41.46l3-3a4.25 4.25 0 0 0-6.02-6l-1.71 1.7a.75.75 0 1 1-1.06-1.06l1.73-1.72Z","clip-rule":"evenodd"}),(0,o.createElement)("path",{fill:"#070707","fill-rule":"evenodd",d:"M7.99 8.6a5.75 5.75 0 0 1 6.61 1.95.75.75 0 1 1-1.2.9 4.25 4.25 0 0 0-6.41-.46l-3 3a4.25 4.25 0 0 0 6.01 6l1.71-1.7a.75.75 0 0 1 1.06 1.06l-1.72 1.72a5.75 5.75 0 0 1-8.13-8.13l.01-.01 3-3a5.75 5.75 0 0 1 2.06-1.32Z","clip-rule":"evenodd"})),a.addSubmenu=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16"},(0,o.createElement)("g",{fill:"#070707","fill-rule":"evenodd","clip-path":"url(#a)","clip-rule":"evenodd"},(0,o.createElement)("path",{d:"M.17 2C.17.99.99.17 2 .17h12c1.01 0 1.83.82 1.83 1.83v1.33c0 1.02-.82 1.84-1.83 1.84H2A1.83 1.83 0 0 1 .17 3.33V2ZM2 1.17a.83.83 0 0 0-.83.83v1.33c0 .46.37.84.83.84h12c.46 0 .83-.38.83-.84V2a.83.83 0 0 0-.83-.83H2ZM5.5 8c0-1.01.82-1.83 1.83-1.83h5.34c1 0 1.83.82 1.83 1.83v.67c0 1-.82 1.83-1.83 1.83H7.33A1.83 1.83 0 0 1 5.5 8.67V8Zm1.83-.83A.83.83 0 0 0 6.5 8v.67c0 .46.37.83.83.83h5.34c.46 0 .83-.37.83-.83V8a.83.83 0 0 0-.83-.83H7.33ZM5.5 13.33c0-1.01.82-1.83 1.83-1.83h5.34c1 0 1.83.82 1.83 1.83V14c0 1.01-.82 1.83-1.83 1.83H7.33A1.83 1.83 0 0 1 5.5 14v-.67Zm1.83-.83a.83.83 0 0 0-.83.83V14c0 .46.37.83.83.83h5.34c.46 0 .83-.37.83-.83v-.67a.83.83 0 0 0-.83-.83H7.33Z"}),(0,o.createElement)("path",{d:"M2.17 13V4.67h1V13c0 .1.07.17.16.17H6.5v1H3.33c-.64 0-1.16-.53-1.16-1.17Z"}),(0,o.createElement)("path",{d:"M2.17 7.83H6.5v1H2.17v-1Z"})),(0,o.createElement)("defs",null,(0,o.createElement)("clipPath",{id:"a"},(0,o.createElement)("path",{fill:"#fff",d:"M0 0h16v16H0z"})))),a.textTab=(0,o.createElement)("span",{className:"ultp-tab-button"},(0,o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M4 18V6C4 4.89543 4.89543 4 6 4H14.8639C15.3943 4 15.903 4.21071 16.2781 4.58579L19.4142 7.72191C19.7893 8.09698 20 8.60569 20 9.13612V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18Z",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,o.createElement)("path",{d:"M8 15H16",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,o.createElement)("path",{d:"M8 12H16",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,o.createElement)("path",{d:"M8 9H14",stroke:"#1E1E1E",strokeWidth:"1.5"})),(0,o.createElement)("span",null,"Text")),a.style=(0,o.createElement)("span",{className:"ultp-tab-button"},(0,o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M19.9753 10C20.1346 11.5 19.6219 12.5 18.6219 13.5C16.6219 15.5 12.5451 14.2091 11.73 15C10.9148 15.791 11.73 16.8594 12.7008 17.4873C14.2468 18.4873 13.7314 19.9873 12.2453 20.0001C7.69166 20.0391 4 16 4 12C4 7.58197 7.69149 4 12.2453 4C16.7991 4 19.7128 7.52818 19.9753 10Z",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,o.createElement)("circle",{cx:"16.25",cy:"9.25",r:"1.25",fill:"#1E1E1E"}),(0,o.createElement)("path",{d:"M14 7C14 7.69036 13.4404 8.25 12.75 8.25C12.0596 8.25 11.5 7.69036 11.5 7C11.5 6.30964 12.0596 5.75 12.75 5.75C13.4404 5.75 14 6.30964 14 7Z",fill:"#1E1E1E"}),(0,o.createElement)("path",{d:"M10 8.25C10 8.94036 9.44036 9.5 8.75 9.5C8.05964 9.5 7.5 8.94036 7.5 8.25C7.5 7.55964 8.05964 7 8.75 7C9.44036 7 10 7.55964 10 8.25Z",fill:"#1E1E1E"}),(0,o.createElement)("path",{d:"M8.5 12C8.5 12.6904 7.94036 13.25 7.25 13.25C6.55964 13.25 6 12.6904 6 12C6 11.3096 6.55964 10.75 7.25 10.75C7.94036 10.75 8.5 11.3096 8.5 12Z",fill:"#1E1E1E"})),(0,o.createElement)("span",null,"Style")),a.settings3=(0,o.createElement)("span",{className:"ultp-tab-button"},(0,o.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0733 7.98829L19.5027 6.9982C19.02 6.16044 17.9503 5.87144 17.1114 6.35213C16.7121 6.58737 16.2356 6.65411 15.787 6.53764C15.3384 6.42116 14.9546 6.13103 14.7201 5.73123C14.5693 5.47711 14.4882 5.18767 14.4852 4.89218C14.4988 4.41843 14.3201 3.95934 13.9897 3.61951C13.6593 3.27967 13.2055 3.08802 12.7316 3.08821H11.5821C11.1177 3.08821 10.6725 3.27323 10.345 3.60234C10.0175 3.93145 9.83459 4.37752 9.83682 4.84183C9.82306 5.80049 9.04195 6.57039 8.08319 6.57029C7.7877 6.56722 7.49826 6.48617 7.24414 6.33535C6.40523 5.85465 5.33553 6.14366 4.85284 6.98142L4.24033 7.98829C3.75822 8.825 4.04329 9.89403 4.87801 10.3796C5.42059 10.6928 5.75483 11.2718 5.75483 11.8983C5.75483 12.5248 5.42059 13.1037 4.87801 13.417C4.04435 13.8993 3.75897 14.9657 4.24033 15.7999L4.81927 16.7984C5.04543 17.2064 5.42489 17.5076 5.87369 17.6351C6.32248 17.7627 6.8036 17.7061 7.21058 17.478C7.61067 17.2445 8.08743 17.1806 8.5349 17.3003C8.98238 17.4201 9.36347 17.7136 9.59349 18.1157C9.74431 18.3698 9.82536 18.6592 9.82843 18.9547C9.82843 19.9232 10.6136 20.7083 11.5821 20.7083H12.7316C13.6968 20.7083 14.4806 19.9283 14.4852 18.9631C14.4829 18.4973 14.667 18.05 14.9963 17.7206C15.3257 17.3913 15.773 17.2073 16.2388 17.2095C16.5336 17.2174 16.8218 17.2981 17.0779 17.4444C17.9146 17.9265 18.9836 17.6415 19.4692 16.8067L20.0733 15.7999C20.3071 15.3985 20.3713 14.9205 20.2516 14.4717C20.1319 14.0228 19.8382 13.6402 19.4356 13.4086C19.033 13.1769 18.7393 12.7943 18.6196 12.3455C18.4999 11.8967 18.5641 11.4186 18.7979 11.0173C18.95 10.7518 19.1701 10.5317 19.4356 10.3796C20.2653 9.89429 20.5497 8.83151 20.0733 7.99668V7.98829Z",stroke:"#1E1E1E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.createElement)("path",{d:"M12.1606 14.3147C13.4952 14.3147 14.5771 13.2329 14.5771 11.8983C14.5771 10.5637 13.4952 9.4818 12.1606 9.4818C10.826 9.4818 9.74414 10.5637 9.74414 11.8983C9.74414 13.2329 10.826 14.3147 12.1606 14.3147Z",stroke:"#1E1E1E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),(0,o.createElement)("span",null,"Settings")),a.add=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:22,height:24,viewBox:"0 0 22 24",fill:"none"},(0,o.createElement)("g",{clipPath:"url(#clip0_16_9344)"},(0,o.createElement)("path",{d:"M15.7131 0.87241C16.6876 0.87241 17.4896 1.67503 17.4896 2.66957V17.6401C17.4896 18.626 16.6962 19.4373 15.7131 19.4373H2.63896C1.66445 19.4373 0.862407 18.6347 0.862407 17.6401V2.66957C0.862407 1.68375 1.65582 0.87241 2.63896 0.87241H15.7131ZM15.7131 0H2.63896C1.1815 0 0 1.1952 0 2.66957V17.6401C0 19.1145 1.1815 20.3097 2.63896 20.3097H15.7131C17.1705 20.3097 18.352 19.1145 18.352 17.6401V2.66957C18.352 1.1952 17.1705 0 15.7131 0Z",fill:"black"}),(0,o.createElement)("path",{d:"M19.2921 10.2683H11.1337C9.63817 10.2683 8.42578 11.4948 8.42578 13.0077V21.2607C8.42578 22.7736 9.63817 24 11.1337 24H19.2921C20.7877 24 22.0001 22.7736 22.0001 21.2607V13.0077C22.0001 11.4948 20.7877 10.2683 19.2921 10.2683Z",fill:"black"}),(0,o.createElement)("path",{d:"M15.7047 13.9934H14.7129V20.2835H15.7047V13.9934Z",fill:"white"}),(0,o.createElement)("path",{d:"M18.3264 16.6282H12.1084V17.6314H18.3264V16.6282Z",fill:"white"})),(0,o.createElement)("defs",null,(0,o.createElement)("clipPath",{id:"clip0_16_9344"},(0,o.createElement)("rect",{width:22,height:24,fill:"white"})))),a.setting=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},(0,o.createElement)("path",{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"})),a.styleIcon=(0,o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{fill:"white"}},(0,o.createElement)("path",{d:"M19.9753 10C20.1346 11.5 19.6219 12.5 18.6219 13.5C16.6219 15.5 12.5451 14.2091 11.73 15C10.9148 15.791 11.73 16.8594 12.7008 17.4873C14.2468 18.4873 13.7314 19.9873 12.2453 20.0001C7.69166 20.0391 4 16 4 12C4 7.58197 7.69149 4 12.2453 4C16.7991 4 19.7128 7.52818 19.9753 10Z",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,o.createElement)("circle",{cx:"16.25",cy:"9.25",r:"1.25",fill:"#1E1E1E"}),(0,o.createElement)("path",{d:"M14 7C14 7.69036 13.4404 8.25 12.75 8.25C12.0596 8.25 11.5 7.69036 11.5 7C11.5 6.30964 12.0596 5.75 12.75 5.75C13.4404 5.75 14 6.30964 14 7Z",fill:"#1E1E1E"}),(0,o.createElement)("path",{d:"M10 8.25C10 8.94036 9.44036 9.5 8.75 9.5C8.05964 9.5 7.5 8.94036 7.5 8.25C7.5 7.55964 8.05964 7 8.75 7C9.44036 7 10 7.55964 10 8.25Z",fill:"#1E1E1E"}),(0,o.createElement)("path",{d:"M8.5 12C8.5 12.6904 7.94036 13.25 7.25 13.25C6.55964 13.25 6 12.6904 6 12C6 11.3096 6.55964 10.75 7.25 10.75C7.94036 10.75 8.5 11.3096 8.5 12Z",fill:"#1E1E1E"})),a.chatgpt=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:"#10a37f"},width:"25",height:"25.06",viewBox:"0 0 25 25.06"},(0,o.createElement)("path",{"data-name":"Path 146",d:"M24.795 12.941a6.153 6.153 0 0 0-1.519-2.7A6.07 6.07 0 0 0 22.8 5.1a6.327 6.327 0 0 0-6.88-2.917A6.28 6.28 0 0 0 5.139 4.471 6.223 6.223 0 0 0 .846 7.45a6.137 6.137 0 0 0 .862 7.358 6.07 6.07 0 0 0 .479 5.138 6.281 6.281 0 0 0 6.88 2.91A6.278 6.278 0 0 0 19.851 20.6a6.23 6.23 0 0 0 4.293-2.979 6.092 6.092 0 0 0 .651-4.682m-4.888 5.947v-6.22a.639.639 0 0 0-.285-.621L13.913 8.82l2.061-1.17L20.8 10.4a4.636 4.636 0 0 1 2.209 2.854 4.566 4.566 0 0 1-.475 3.517 4.662 4.662 0 0 1-2.185 1.943c-.146.063-.3.122-.446.178M5.083 6.178v6.2a.624.624 0 0 0 .279.622l5.708 3.226L9.011 17.4l-4.852-2.752a4.639 4.639 0 0 1-2.21-2.854 4.562 4.562 0 0 1 .473-3.514 4.687 4.687 0 0 1 1.784-1.736 4.551 4.551 0 0 1 .877-.367m11.268.023a.714.714 0 0 0-.707 0L9.855 9.5V7.1l4.92-2.748a4.79 4.79 0 0 1 6.485 1.721 4.574 4.574 0 0 1 .616 2.648c-.014.19-.039.393-.07.58zm-3.859 3.47 2.637 1.5v2.756l-2.637 1.457-2.631-1.5v-2.741zM8.8 6.067a.684.684 0 0 0-.3.624v6.4l-2.082-1.137V6.587a1.017 1.017 0 0 0 0-.112 4.75 4.75 0 0 1 7.364-3.911 6.33 6.33 0 0 1 .547.412zm-5.614 9.692 5.448 3.1a.713.713 0 0 0 .707 0l5.8-3.294v2.4l-4.927 2.729a4.79 4.79 0 0 1-6.485-1.713 4.573 4.573 0 0 1-.588-2.917c.013-.1.031-.2.05-.3m13 3.226a.647.647 0 0 0 .3-.627v-6.4l2.07 1.137v5.367a.637.637 0 0 0 0 .112 4.75 4.75 0 0 1-7.441 3.851 7.315 7.315 0 0 1-.467-.356z",transform:"translate(0 .001)"})),a.fs_comment=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50.003",viewBox:"0 0 50 50.003"},(0,o.createElement)("path",{id:"Path_2150","data-name":"Path 2150",d:"M25,11.6c-21.64,0-25,2.79-25,20.8C0,46.131,1.963,51.017,12.476,52.567V61.6l10.646-8.4c.611.005,1.235.008,1.878.008,21.65,0,25-2.8,25-20.81S46.65,11.6,25,11.6m0,18.04a2.765,2.765,0,1,1-2.76,2.76A2.768,2.768,0,0,1,25,29.642m-9.53,0a2.765,2.765,0,1,1-2.76,2.76,2.768,2.768,0,0,1,2.76-2.76m19.06,5.53A2.765,2.765,0,1,1,37.3,32.4a2.768,2.768,0,0,1-2.77,2.77",transform:"translate(0 -11.602)",fill:"#037FFF"})),a.fs_comment_selected=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"70",height:"70",viewBox:"0 0 70 70"},(0,o.createElement)("g",{id:"Group_4357","data-name":"Group 4357",transform:"translate(-221.11 2002)"},(0,o.createElement)("path",{id:"Path_2154","data-name":"Path 2154",d:"M172.35,30.8a2.765,2.765,0,1,1-2.77-2.76,2.77,2.77,0,0,1,2.77,2.76",transform:"translate(77 -2002)",fill:"#037FFF"}),(0,o.createElement)("path",{id:"Path_2155","data-name":"Path 2155",d:"M181.88,30.8a2.765,2.765,0,1,1-2.77-2.76,2.77,2.77,0,0,1,2.77,2.76",transform:"translate(77 -2002)",fill:"#037FFF"}),(0,o.createElement)("path",{id:"Path_2156","data-name":"Path 2156",d:"M191.41,30.8a2.765,2.765,0,1,1-2.77-2.76,2.77,2.77,0,0,1,2.77,2.76",transform:"translate(77 -2002)",fill:"#037FFF"}),(0,o.createElement)("path",{id:"Path_2157","data-name":"Path 2157",d:"M204.65,0H153.58a9.468,9.468,0,0,0-9.47,9.46V60.54A9.468,9.468,0,0,0,153.58,70h51.07a9.46,9.46,0,0,0,9.46-9.46V9.46A9.46,9.46,0,0,0,204.65,0M179.11,51.61c-.64,0-1.26,0-1.87-.01L166.59,60V50.96c-10.51-1.55-12.48-6.43-12.48-20.16,0-18.01,3.36-20.8,25-20.8s25,2.79,25,20.8-3.35,20.81-25,20.81",transform:"translate(77 -2002)",fill:"#037FFF"}))),a.fs_suggestion=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50.001",height:"49.997",viewBox:"0 0 50.001 49.997"},(0,o.createElement)("g",{id:"Group_4358","data-name":"Group 4358",transform:"translate(-137.503 1994.592)"},(0,o.createElement)("path",{id:"Path_2151","data-name":"Path 2151",d:"M104.722,20.306H89.545V24.08a4.274,4.274,0,0,1-4.267,4.267H76.261a4.218,4.218,0,0,1-1.812-.424,4.272,4.272,0,0,1-4.107,3.166h-6.1V51.623A5.773,5.773,0,0,0,70.021,57.4h34.7a5.78,5.78,0,0,0,5.782-5.782V26.1a5.789,5.789,0,0,0-5.782-5.793M90.13,47.791H76.835a1.692,1.692,0,0,1,0-3.384H90.13a1.692,1.692,0,0,1,0,3.384m7.778-7.915H76.835a1.692,1.692,0,0,1,0-3.384H97.908a1.692,1.692,0,0,1,0,3.384",transform:"translate(77 -2002)",fill:"#037FFF"}),(0,o.createElement)("path",{id:"Path_2152","data-name":"Path 2152",d:"M86.1,24.077V15.065a.827.827,0,0,0-.827-.827H80.619a.827.827,0,0,1-.742-1.193l2.2-4.443a.827.827,0,0,0-.741-1.194h-2a.827.827,0,0,0-.741.461l-3.062,6.2a.83.83,0,0,0-.086.366v9.646a.827.827,0,0,0,.827.827h9.012a.827.827,0,0,0,.827-.827",transform:"translate(77 -2002)",fill:"#037FFF"}),(0,o.createElement)("path",{id:"Path_2153","data-name":"Path 2153",d:"M71.169,26.82V17.808a.827.827,0,0,0-.827-.827H65.684a.827.827,0,0,1-.742-1.193l2.2-4.443a.827.827,0,0,0-.741-1.194H64.392a.827.827,0,0,0-.741.461l-3.062,6.2a.83.83,0,0,0-.086.366V26.82a.827.827,0,0,0,.827.827h9.012a.827.827,0,0,0,.827-.827",transform:"translate(77 -2002)",fill:"#037FFF"}))),a.fs_suggestion_selected=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"70",height:"70",viewBox:"0 0 70 70"},(0,o.createElement)("path",{id:"Path_2158","data-name":"Path 2158",d:"M329.38,0H278.3a9.46,9.46,0,0,0-9.46,9.46V60.54A9.46,9.46,0,0,0,278.3,70h51.08a9.466,9.466,0,0,0,9.46-9.46V9.46A9.466,9.466,0,0,0,329.38,0M293.77,17.03a.779.779,0,0,1,.09-.37l3.06-6.2a.834.834,0,0,1,.74-.46h2.01a.833.833,0,0,1,.74,1.2l-2.2,4.44a.825.825,0,0,0,.74,1.19h4.66a.828.828,0,0,1,.83.83v9.01a.828.828,0,0,1-.83.83H294.6a.828.828,0,0,1-.83-.83ZM278.84,29.41V19.77a.946.946,0,0,1,.08-.37l3.06-6.19a.82.82,0,0,1,.75-.46h2a.825.825,0,0,1,.74,1.19l-2.19,4.44a.826.826,0,0,0,.74,1.2h4.66a.824.824,0,0,1,.82.82v9.01a.826.826,0,0,1-.82.83h-9.02a.826.826,0,0,1-.82-.83m50,24.81A5.783,5.783,0,0,1,323.06,60H288.35a5.77,5.77,0,0,1-5.78-5.78V33.68h6.11a4.26,4.26,0,0,0,4.1-3.16,4.257,4.257,0,0,0,1.81.42h9.02a4.274,4.274,0,0,0,4.27-4.27V22.9h15.18a5.791,5.791,0,0,1,5.78,5.79Zm-12.6-15.13H295.17a1.69,1.69,0,1,0,0,3.38h21.07a1.69,1.69,0,1,0,0-3.38M308.46,47H295.17a1.7,1.7,0,0,0,0,3.39h13.29a1.7,1.7,0,0,0,0-3.39",transform:"translate(-268.84)",fill:"#037FFF"})),a.grid_col1=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22"},(0,o.createElement)("g",{transform:"translate(-770 -381)"},(0,o.createElement)("rect",{width:"10",height:"10",transform:"translate(770 381)"}),(0,o.createElement)("rect",{width:"10",height:"10",transform:"translate(770 393)"}),(0,o.createElement)("rect",{width:"10",height:"10",transform:"translate(782 381)"}),(0,o.createElement)("rect",{width:"10",height:"10",transform:"translate(782 393)"}))),a.grid_col2=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22"},(0,o.createElement)("g",{transform:"translate(-858 -381)"},(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(858 381)"}),(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(858 389)"}),(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(858 397)"}),(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(866 381)"}),(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(866 389)"}),(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(866 397)"}),(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(874 381)"}),(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(874 389)"}),(0,o.createElement)("rect",{width:"6",height:"6",transform:"translate(874 397)"}))),a.grid_col3=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22"},(0,o.createElement)("g",{transform:"translate(-909 -381)"},(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(909 381)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(909 387)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(909 393)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(909 399)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(915 381)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(915 387)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(915 393)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(915 399)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(921 381)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(921 387)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(921 393)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(921 399)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(927 381)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(927 387)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(927 393)"}),(0,o.createElement)("rect",{width:"4",height:"4",transform:"translate(927 399)"}))),a.rocketPro=(0,o.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M10.7991 7.20004C9.69681 7.20004 8.7993 6.30253 8.7993 5.20024C8.7993 4.09795 9.69681 3.20044 10.7991 3.20044C11.9014 3.20044 12.7989 4.09795 12.7989 5.20024C12.7989 6.30253 11.9014 7.20004 10.7991 7.20004ZM10.7991 4.00036C10.1376 4.00036 9.59922 4.53871 9.59922 5.20024C9.59922 5.86177 10.1376 6.40012 10.7991 6.40012C11.4606 6.40012 11.999 5.86177 11.999 5.20024C11.999 4.53871 11.4606 4.00036 10.7991 4.00036ZM0.400132 15.9992C0.335857 15.9993 0.272494 15.984 0.215433 15.9544C0.158371 15.9248 0.109297 15.8819 0.0723848 15.8292C0.0354726 15.7766 0.0118133 15.7159 0.00341887 15.6521C-0.00497556 15.5884 0.00214312 15.5236 0.0241696 15.4632C1.25525 12.0788 2.54952 10.3621 3.87019 10.3621C4.30615 10.3621 4.7133 10.5493 5.08207 10.9173C5.66441 11.4996 5.68521 12.0796 5.60042 12.4635C5.33324 13.6698 3.62941 14.8513 0.536919 15.976C0.49303 15.9917 0.446764 15.9998 0.400132 16V15.9992ZM3.87099 11.1612C3.47503 11.1612 3.00867 11.5084 2.52312 12.1651C2.04557 12.8107 1.56562 13.7306 1.09286 14.9065C2.16076 14.4769 3.01907 14.041 3.65181 13.6066C4.50533 13.0203 4.7581 12.5667 4.81969 12.2899C4.88129 12.0132 4.7821 11.7484 4.51652 11.4828C4.30055 11.2668 4.08937 11.162 3.87019 11.162L3.87099 11.1612Z",fill:"white"}),(0,o.createElement)("path",{d:"M15.5986 0.00079992C13.5228 0.00079992 11.6734 0.352765 10.1 1.0471C8.80329 1.61984 7.693 2.42296 6.79949 3.43566C6.63311 3.62444 6.47872 3.81562 6.33554 4.0076C5.64601 4.05319 4.94048 4.32757 4.23655 4.82352C3.64061 5.24268 3.04227 5.82342 2.45673 6.54894C1.47282 7.76802 0.868084 8.9703 0.842486 9.0207C0.800011 9.10558 0.789106 9.2028 0.81172 9.29498C0.834335 9.38716 0.888995 9.4683 0.96593 9.52388C1.04287 9.57947 1.13706 9.60588 1.23168 9.5984C1.3263 9.59092 1.41518 9.55003 1.48242 9.48305C1.48642 9.47905 1.86878 9.10309 2.52072 8.73433C3.05826 8.43036 3.88698 8.07279 4.88928 8.0096C5.14286 8.65833 5.86838 9.43426 6.21635 9.78222C6.56431 10.1302 7.34024 10.8557 7.98897 11.1093C7.92578 12.1116 7.56821 12.9403 7.26425 13.4779C6.89468 14.1306 6.51952 14.5121 6.51632 14.5153C6.45032 14.5828 6.41026 14.6714 6.40318 14.7655C6.3961 14.8596 6.42247 14.9532 6.47763 15.0298C6.5328 15.1064 6.61322 15.1611 6.70473 15.1842C6.79625 15.2073 6.89297 15.1973 6.97787 15.1561C7.02827 15.1305 8.23055 14.5257 9.44963 13.5418C10.1752 12.9563 10.7559 12.358 11.1751 11.762C11.671 11.0573 11.9446 10.3526 11.991 9.66303C12.1822 9.52065 12.3733 9.36626 12.5629 9.19908C13.5756 8.30557 14.3787 7.19528 14.9515 5.89861C15.6458 4.32597 15.9978 2.47575 15.9978 0.39996V0H15.5978L15.5986 0.00079992ZM2.48552 7.84641C3.24785 6.74013 4.41333 5.36826 5.7268 4.93711C5.20765 5.84661 4.93888 6.68173 4.84209 7.21128C4.02236 7.26546 3.22145 7.48132 2.48552 7.84641ZM8.15376 13.5114C8.51883 12.7761 8.73444 11.9757 8.78809 11.1565C9.31684 11.0597 10.1528 10.7909 11.0615 10.2726C10.6295 11.5836 9.25845 12.7491 8.15296 13.5114H8.15376ZM12.0342 8.59994C10.3703 10.0678 8.64731 10.3998 8.39933 10.3998C8.39773 10.3998 8.23375 10.3966 7.79219 10.0854C7.48422 9.86861 7.12506 9.55984 6.78269 9.21748C6.44033 8.87511 6.13156 8.51595 5.91478 8.20798C5.60361 7.76642 5.60041 7.60244 5.60041 7.60084C5.60041 7.35286 5.93238 5.62984 7.40023 3.966C9.15686 1.9758 11.8454 0.887111 15.1947 0.806319C15.1139 4.15558 14.026 6.84411 12.035 8.60074L12.0342 8.59994Z",fill:"white"})),a.subtract=(0,o.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M5 12H19",stroke:"#070707",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),a.rightMark=(0,o.createElement)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)("path",{d:"M1 5L5 9L13 1",stroke:"#5ECA70",strokeWidth:"1.5"})),a.plus=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M12 19.8c-.4 0-.8-.3-.8-.8v-6.2H5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6.2V5c0-.4.3-.8.8-.8s.8.3.8.8v6.2H19c.4 0 .8.3.8.8s-.3.8-.8.8h-6.2V19c0 .4-.4.8-.8.8z"})),a.delete=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M18.2 6.5H16c-.4 0-.8-.3-1-.7l-.3-1c-.1-.4-.5-.7-1-.7h-3.5c-.4 0-.8.3-1 .7l-.2 1c-.1.4-.5.7-1 .7H5.8c-.5 0-.8.3-.8.7s.3.8.8.8h12.5c.4 0 .7-.3.7-.8s-.3-.7-.8-.7zM12.5 16.5c0 .3-.2.5-.5.5s-.5-.2-.5-.5V9H6l1.3 9.3c.1 1 1 1.7 2 1.7h5.5c1 0 1.8-.7 2-1.7L18 9h-5.5v7.5z"})),a.edit=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M19.3 18.1h-5.9c-.4 0-.8.3-.8.8s.3.8.8.8h5.9c.4 0 .8-.3.8-.8s-.4-.8-.8-.8zM16.2 11c1.5-1.9 1.5-2 1.6-2 .4-.6.5-1.2.3-1.9-.1-.7-.6-1.2-1.1-1.5 0 0-1.3-1-1.4-1.1-1.1-.9-2.7-.7-3.6.4l-7.7 9.6c-.3.4-.5 1.1-.3 1.7l.7 2.8c.1.3.4.6.7.6h3c.6 0 1.2-.3 1.6-.8 3.2-4.1 5.1-6.4 6.2-7.8zm-1.5-5.3s1.4 1.1 1.5 1.2c.2.1.4.4.5.6.1.3 0 .5-.1.7 0 .1-.4.6-1.1 1.3L12.3 7l.9-1.2c.4-.4 1-.5 1.5-.1zM8.8 17.8c-.1.1-.3.2-.5.2H5.9l-.5-2.2c0-.2 0-.4.1-.5l5.8-7.2 3.2 2.5c-1.7 2.2-4.1 5.3-5.7 7.2z"})),a.duplicate=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},(0,o.createElement)("path",{fill:"#070707",fillRule:"evenodd",d:"M11 9.75c-.69 0-1.25.56-1.25 1.25v9c0 .69.56 1.25 1.25 1.25h9c.69 0 1.25-.56 1.25-1.25v-9c0-.69-.56-1.25-1.25-1.25h-9ZM8.25 11A2.75 2.75 0 0 1 11 8.25h9A2.75 2.75 0 0 1 22.75 11v9A2.75 2.75 0 0 1 20 22.75h-9A2.75 2.75 0 0 1 8.25 20v-9Z",clipRule:"evenodd"}),(0,o.createElement)("path",{fill:"#070707",fillRule:"evenodd",d:"M4 2.75A1.25 1.25 0 0 0 2.75 4v9A1.25 1.25 0 0 0 4 14.25h1a.75.75 0 0 1 0 1.5H4A2.75 2.75 0 0 1 1.25 13V4A2.75 2.75 0 0 1 4 1.25h9A2.75 2.75 0 0 1 15.75 4v1a.75.75 0 0 1-1.5 0V4A1.25 1.25 0 0 0 13 2.75H4Z",clipRule:"evenodd"}));const i=a},319:(e,t,l)=>{"use strict";l.d(t,{$6:()=>r,gH:()=>u}),l(7025);const{createReduxStore:o,register:a,controls:i}=wp.data,n={customFields:{options:{acfFields:[],acfMsg:"",mbFields:[],mbfMsg:"",podsFields:[],podsMsg:"",cMetaFields:[],cMetaMsg:""},hasResolved:!1,error:""},postTypes:[],cfValue:{},siteInfo:{},postInfo:{},authorInfo:{},link:{}},r="ultimate-post/store",s={setCustomFields:e=>({type:"SET_CF",customFields:e}),setCFValue:(e,t,l)=>({type:"SET_CF_VALUE",post_id:e,key:t,value:l}),setSiteInfo:(e,t)=>({type:"SET_SITE_INFO",key:e,value:t}),setPostInfo:(e,t,l)=>({type:"SET_POST_INFO",post_id:e,key:t,value:l}),setAuthorInfo:(e,t,l)=>({type:"SET_AUTHOR_INFO",post_id:e,key:t,value:l}),setPostTypes:e=>({type:"SET_POST_TYPES",postTypes:e}),setLink:(e,t,l)=>({type:"SET_LINK",post_id:e,key:t,value:l}),fetchFromAPI:e=>({type:"FETCH_FROM_API",options:e})},p={*getCustomFields(e={}){try{const t=yield s.fetchFromAPI({path:"ultp/v2/get_custom_fields",method:"POST",data:e});return s.setCustomFields({options:{acfFields:t.data.acf.fields||[],acfMsg:t.data.acf.message||"",cMetaFields:t.data.custom_metas.fields||[],cMetaMsg:t.data.custom_metas.message||"",mbFields:t.data.mb.fields||[],mbMsg:t.data.mb.message||"",podsFields:t.data.pods.fields||[],podsMsg:t.data.pods.message||""},hasResolved:!0,error:""})}catch(e){return s.setCustomFields({...n.customFields,error:e.message})}},*getCFValue(e,t){try{const l=yield s.fetchFromAPI({path:"ultp/v2/get_dynamic_content",method:"POST",data:{post_id:e,key:t,data_type:"cf"}});return s.setCFValue(e,t,l.data)}catch(e){console.log(e)}},*getPostTypes(){try{const e=yield s.fetchFromAPI({path:"ultp/v2/get_dynamic_content",method:"POST",data:{data_type:"post_types"}});return s.setPostTypes(e.data)}catch(e){console.log(e)}},*getSiteInfo(e){try{const t=yield s.fetchFromAPI({path:"ultp/v2/get_dynamic_content",method:"POST",data:{key:e,data_type:"site_info"}});return s.setSiteInfo(e,t.data)}catch(e){console.log(e)}},*getLink(e,t){try{const l=yield s.fetchFromAPI({path:"ultp/v2/get_dynamic_content",method:"POST",data:{post_id:e,key:t,data_type:"link"}});return s.setLink(e,t,l.data)}catch(e){console.log(e)}},*getPostInfo(e,t){try{const l=yield s.fetchFromAPI({path:"ultp/v2/get_dynamic_content",method:"POST",data:{post_id:e,key:t,data_type:"post_info"}});return s.setPostInfo(e,t,l.data)}catch(e){console.log(e)}},*getAuthorInfo(e,t){try{const l=yield s.fetchFromAPI({path:"ultp/v2/get_dynamic_content",method:"POST",data:{post_id:e,key:t,data_type:"author_info"}});return s.setAuthorInfo(e,t,l.data)}catch(e){console.log(e)}}},c={...i,FETCH_FROM_API:e=>wp.apiFetch(e.options)};a(o(r,{reducer:(e=n,t)=>{switch(t.type){case"SET_CF":return{...e,customFields:t.customFields};case"SET_CF_VALUE":return{...e,cfValue:{...e.cfValue,[t.post_id]:{...e.cfValue[t.post_id],[t.key]:t.value}}};case"SET_SITE_INFO":return{...e,siteInfo:{...e.siteInfo,[t.key]:t.value}};case"SET_POST_INFO":return{...e,postInfo:{...e.postInfo,[t.post_id]:{...e.postInfo[t.post_id],[t.key]:t.value}}};case"SET_AUTHOR_INFO":return{...e,authorInfo:{...e.authorInfo,[t.post_id]:{...e.authorInfo[t.post_id],[t.key]:t.value}}};case"SET_POST_TYPES":return{...e,postTypes:t.postTypes};case"SET_LINK":return{...e,link:{...e.link,[t.post_id]:{...e.link[t.post_id],[t.key]:t.value}}};default:return e}},actions:s,selectors:{getCustomFields:e=>e.customFields,getCFValue(e,t,l){var o;return null!==(o=e.cfValue?.[t]?.[l])&&void 0!==o?o:""},getSiteInfo(e,t){var l;return null!==(l=e.siteInfo?.[t])&&void 0!==l?l:""},getPostInfo(e,t,l){var o;return null!==(o=e.postInfo?.[t]?.[l])&&void 0!==o?o:""},getAuthorInfo(e,t,l){var o;return null!==(o=e.authorInfo?.[t]?.[l])&&void 0!==o?o:""},getPostTypes:e=>e.postTypes,getLink(e,t,l){var o;return null!==(o=e.link?.[t]?.[l])&&void 0!==o?o:""}},resolvers:p,controls:c}));const{invalidateResolution:u,invalidateResolutionForStoreSelector:d}=wp.data.dispatch(r)},4184:(e,t)=>{var l;!function(){"use strict";var o={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var i=typeof l;if("string"===i||"number"===i)e.push(l);else if(Array.isArray(l)){if(l.length){var n=a.apply(null,l);n&&e.push(n)}}else if("object"===i){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var r in l)o.call(l,r)&&l[r]&&e.push(r)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(l=function(){return a}.apply(t,[]))||(e.exports=l)}()},439:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(8081),a=l.n(o),i=l(3645),n=l.n(i)()(a());n.push([e.id,".toastMessages{display:flex;flex-direction:column;gap:10px;padding:10px;position:fixed;right:400px;z-index:1001;top:70px}.toast{position:absolute}.toaster{position:fixed;visibility:hidden;width:345px;background-color:#fefefe;height:76px;border-radius:4px;box-shadow:0px 0px 4px #9f9f9f;display:flex;align-items:center}.toaster span{display:block}.toaster .itmCenter{font-size:14px}.toaster .itmLast{padding:0 15px;margin-left:auto;height:100%;display:flex;align-items:center;border-left:1px solid #f2f2f2}.toaster .itmLast:hover{cursor:pointer;background-color:#f2f2f2}.toaster.show{visibility:visible;-webkit-animation:fadeinmessage .7s;animation:fadeinmessage .7s}@keyframes fadeinmessage{from{right:0;opacity:0}to{right:65px;opacity:1}}.circle{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:#7ac142;fill:none;animation:strokemessage .6s cubic-bezier(0.65, 0, 0.45, 1) forwards}.animation{width:45px;height:45px;border-radius:50%;display:block;stroke-width:2;margin:10px;stroke:#fff;stroke-miterlimit:10;box-shadow:inset 0px 0px 0px #7ac142;animation:fillmessage .4s ease-in-out .4s forwards,scalemessage .3s ease-in-out .9s both;margin-right:10px}.check{transform-origin:50% 50%;stroke-dasharray:48;stroke-dashoffset:48;animation:strokemessage .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards}.cross{stroke:red;fill:red}@keyframes strokemessage{100%{stroke-dashoffset:0}}@keyframes scalemessage{0%,100%{transform:none}50%{transform:scale3d(1.1, 1.1, 1)}}@keyframes fillmessage{100%{box-shadow:inset 0px 0px 0px 30px #7ac142}}",""]);const r=n},1211:(e,t,l)=>{"use strict";l.d(t,{Z:()=>r});var o=l(8081),a=l.n(o),i=l(3645),n=l.n(i)()(a());n.push([e.id,'.ultp_skeleton__image{height:300px;width:300px;border-radius:4px}.ultp_skeleton__circle{height:300px;width:300px;border-radius:50%}.ultp_skeleton__title{height:20px;width:100%;border-radius:4px}.ultp_skeleton__button{height:40px;width:90px;border-radius:4px}.ultp_frequency{position:relative;background-color:#e2e2e2;overflow:hidden}.ultp_frequency.loop{margin-bottom:10px}.ultp_frequency.loop:last-child{margin-bottom:0}.ultp_frequency::after{display:block;content:"";position:absolute;width:100%;height:100%;transform:translateX(-100%);background:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent));background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);animation:loadings .8s infinite}.skeletonOverflow{overflow:hidden}@keyframes loadings{100%{transform:translateX(100%)}}',""]);const r=n},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var l="",o=void 0!==t[5];return t[4]&&(l+="@supports (".concat(t[4],") {")),t[2]&&(l+="@media ".concat(t[2]," {")),o&&(l+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),l+=e(t),o&&(l+="}"),t[2]&&(l+="}"),t[4]&&(l+="}"),l})).join("")},t.i=function(e,l,o,a,i){"string"==typeof e&&(e=[[null,e,void 0]]);var n={};if(o)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(n[s]=!0)}for(var p=0;p<e.length;p++){var c=[].concat(e[p]);o&&n[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),l&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=l):c[2]=l),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),t.push(c))}},t}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},2988:(e,t,l)=>{var o=l(1755),a=l(6665).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var l=this;this.listener=function(e){l.mql=e.currentTarget||e,l.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new o(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;a(t,(function(l,o){if(l.equals(e))return l.destroy(),!t.splice(o,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){a(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";a(this.handlers,(function(t){t[e]()}))}},e.exports=i},8177:(e,t,l)=>{var o=l(2988),a=l(6665),i=a.each,n=a.isFunction,r=a.isArray;function s(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}s.prototype={constructor:s,register:function(e,t,l){var a=this.queries,s=l&&this.browserIsIncapable;return a[e]||(a[e]=new o(e,s)),n(t)&&(t={match:t}),r(t)||(t=[t]),i(t,(function(t){n(t)&&(t={match:t}),a[e].addHandler(t)})),this},unregister:function(e,t){var l=this.queries[e];return l&&(t?l.removeHandler(t):(l.clear(),delete this.queries[e])),this}},e.exports=s},1755:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},6665:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var l=0,o=e.length;l<o&&!1!==t(e[l],l);l++);}}},4974:(e,t,l)=>{var o=l(8177);e.exports=new o},973:(e,t,l)=>{var o=l(1169),a=function(e){var t="",l=Object.keys(e);return l.forEach((function(a,i){var n=e[a];(function(e){return/[height|width]$/.test(e)})(a=o(a))&&"number"==typeof n&&(n+="px"),t+=!0===n?a:!1===n?"not "+a:"("+a+": "+n+")",i<l.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(l,o){t+=a(l),o<e.length-1&&(t+=", ")})),t):a(e)}},1296:(e,t,l)=>{var o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,n=/^0o[0-7]+$/i,r=parseInt,s="object"==typeof l.g&&l.g&&l.g.Object===Object&&l.g,p="object"==typeof self&&self&&self.Object===Object&&self,c=s||p||Function("return this")(),u=Object.prototype.toString,d=Math.max,m=Math.min,g=function(){return c.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var l=i.test(e);return l||n.test(e)?r(e.slice(2),l?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,l){var o,a,i,n,r,s,p=0,c=!1,u=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var l=o,i=a;return o=a=void 0,p=t,n=e.apply(i,l)}function f(e){var l=e-s;return void 0===s||l>=t||l<0||u&&e-p>=i}function k(){var e=g();if(f(e))return w(e);r=setTimeout(k,function(e){var l=t-(e-s);return u?m(l,i-(e-p)):l}(e))}function w(e){return r=void 0,v&&o?h(e):(o=a=void 0,n)}function x(){var e=g(),l=f(e);if(o=arguments,a=this,s=e,l){if(void 0===r)return function(e){return p=e,r=setTimeout(k,t),c?h(e):n}(s);if(u)return r=setTimeout(k,t),h(s)}return void 0===r&&(r=setTimeout(k,t)),n}return t=b(t)||0,y(l)&&(c=!!l.leading,i=(u="maxWait"in l)?d(b(l.maxWait)||0,t):i,v="trailing"in l?!!l.trailing:v),x.cancel=function(){void 0!==r&&clearTimeout(r),p=0,o=s=a=r=void 0},x.flush=function(){return void 0===r?n:w(g())},x}},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},l=0;l<10;l++)t["_"+String.fromCharCode(l)]=l;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var i,n,r=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var p in i=Object(arguments[s]))l.call(i,p)&&(r[p]=i[p]);if(t){n=t(i);for(var c=0;c<n.length;c++)o.call(i,n[c])&&(r[n[c]]=i[n[c]])}}return r}},8205:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var o=n(l(7294)),a=n(l(4184)),i=l(5518);function n(e){return e&&e.__esModule?e:{default:e}}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},s.apply(this,arguments)}function p(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,o)}return l}function c(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?p(Object(l),!0).forEach((function(t){u(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):p(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function u(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var l=0;l<t.length;l++){var o=t[l];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,t,l){return t&&m(e.prototype,t),l&&m(e,l),e}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var l,o=h(e);if(t){var a=h(this).constructor;l=Reflect.construct(o,arguments,a)}else l=o.apply(this,arguments);return function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,l)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var f=function(e){y(l,e);var t=v(l);function l(){return d(this,l),t.apply(this,arguments)}return g(l,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var l={key:"0","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.default.cloneElement(this.props.prevArrow,c(c({},l),i)):o.default.createElement("button",s({key:"0",type:"button"},l)," ","Previous")}}]),l}(o.default.PureComponent);t.PrevArrow=f;var k=function(e){y(l,e);var t=v(l);function l(){return d(this,l),t.apply(this,arguments)}return g(l,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,i.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var l={key:"1","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.default.cloneElement(this.props.nextArrow,c(c({},l),n)):o.default.createElement("button",s({key:"1",type:"button"},l)," ","Next")}}]),l}(o.default.PureComponent);t.NextArrow=k},3492:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=(o=l(7294))&&o.__esModule?o:{default:o},i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return a.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return a.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=i},6329:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var o=n(l(7294)),a=n(l(4184)),i=l(5518);function n(e){return e&&e.__esModule?e:{default:e}}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function s(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,o)}return l}function p(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function c(e,t){for(var l=0;l<t.length;l++){var o=t[l];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(y,e);var t,l,n,m,g=(n=y,m=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(n);if(m){var l=d(this).constructor;e=Reflect.construct(t,arguments,l)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function y(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),g.apply(this,arguments)}return t=y,l=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,l=t.onMouseEnter,n=t.onMouseOver,r=t.onMouseLeave,c=t.infinite,u=t.slidesToScroll,d=t.slidesToShow,m=t.slideCount,g=t.currentSlide,y=(e={slideCount:m,slidesToScroll:u,slidesToShow:d,infinite:c}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,b={onMouseEnter:l,onMouseOver:n,onMouseLeave:r},v=[],h=0;h<y;h++){var f=(h+1)*u-1,k=c?f:(0,i.clamp)(f,0,m-1),w=k-(u-1),x=c?w:(0,i.clamp)(w,0,m-1),T=(0,a.default)({"slick-active":c?g>=x&&g<=k:g===x}),S={message:"dots",index:h,slidesToScroll:u,currentSlide:g},P=this.clickHandler.bind(this,S);v=v.concat(o.default.createElement("li",{key:h,className:T},o.default.cloneElement(this.props.customPaging(h),{onClick:P})))}return o.default.cloneElement(this.props.appendDots(v),function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?s(Object(l),!0).forEach((function(t){p(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):s(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}({className:this.props.dotsClass},b))}}],l&&c(t.prototype,l),y}(o.default.PureComponent);t.Dots=m},6066:(e,t,l)=>{"use strict";var o;t.Z=void 0;var a=((o=l(5798))&&o.__esModule?o:{default:o}).default;t.Z=a},6948:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},8517:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var o=d(l(7294)),a=d(l(6948)),i=d(l(1296)),n=d(l(4184)),r=l(5518),s=l(4740),p=l(6329),c=l(8205),u=d(l(1033));function d(e){return e&&e.__esModule?e:{default:e}}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},g.apply(this,arguments)}function y(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,o)}return l}function b(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?y(Object(l),!0).forEach((function(t){w(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):y(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function v(e,t){for(var l=0;l<t.length;l++){var o=t[l];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function w(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(T,e);var t,l,d,y,x=(d=T,y=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(d);if(y){var l=k(this).constructor;e=Reflect.construct(t,arguments,l)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?f(e):t}(this,e)});function T(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,T),w(f(t=x.call(this,e)),"listRefHandler",(function(e){return t.list=e})),w(f(t),"trackRefHandler",(function(e){return t.track=e})),w(f(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,r.getHeight)(e)+"px"}})),w(f(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,r.getOnDemandLazySlides)(b(b({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var l=b({listRef:t.list,trackRef:t.track},t.props);t.updateState(l,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new u.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),w(f(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),w(f(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var l=(0,r.getOnDemandLazySlides)(b(b({},t.props),t.state));l.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(l)}})),t.props.onLazyLoad&&t.props.onLazyLoad(l))}t.adaptHeight();var a=b(b({listRef:t.list,trackRef:t.track},t.props),t.state),i=t.didPropsChange(e);i&&t.updateState(a,i,(function(){t.state.currentSlide>=o.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:o.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),w(f(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,i.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),w(f(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var l=b(b({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(l,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),w(f(t),"updateState",(function(e,l,a){var i=(0,r.initializedState)(e);e=b(b(b({},e),i),{},{slideIndex:i.currentSlide});var n=(0,r.getTrackLeft)(e);e=b(b({},e),{},{left:n});var s=(0,r.getTrackCSS)(e);(l||o.default.Children.count(t.props.children)!==o.default.Children.count(e.children))&&(i.trackStyle=s),t.setState(i,a)})),w(f(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,l=0,a=[],i=(0,r.getPreClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length})),n=(0,r.getPostClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){a.push(t.props.style.width),e+=t.props.style.width}));for(var s=0;s<i;s++)l+=a[a.length-1-s],e+=a[a.length-1-s];for(var p=0;p<n;p++)e+=a[p];for(var c=0;c<t.state.currentSlide;c++)l+=a[c];var u={width:e+"px",left:-l+"px"};if(t.props.centerMode){var d="".concat(a[t.state.currentSlide],"px");u.left="calc(".concat(u.left," + (100% - ").concat(d,") / 2 ) ")}return{trackStyle:u}}var m=o.default.Children.count(t.props.children),g=b(b(b({},t.props),t.state),{},{slideCount:m}),y=(0,r.getPreClones)(g)+(0,r.getPostClones)(g)+m,v=100/t.props.slidesToShow*y,h=100/y,f=-h*((0,r.getPreClones)(g)+t.state.currentSlide)*v/100;return t.props.centerMode&&(f+=(100-h*v/100)/2),{slideWidth:h+"%",trackStyle:{width:v+"%",left:f+"%"}}})),w(f(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],l=e.length,o=0;Array.prototype.forEach.call(e,(function(e){var a=function(){return++o&&o>=l&&t.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=a,e.onerror=function(){a(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),w(f(t),"progressiveLazyLoad",(function(){for(var e=[],l=b(b({},t.props),t.state),o=t.state.currentSlide;o<t.state.slideCount+(0,r.getPostClones)(l);o++)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}for(var a=t.state.currentSlide-1;a>=-(0,r.getPreClones)(l);a--)if(t.state.lazyLoadedList.indexOf(a)<0){e.push(a);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),w(f(t),"slideHandler",(function(e){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=t.props,a=o.asNavFor,i=o.beforeChange,n=o.onLazyLoad,s=o.speed,p=o.afterChange,c=t.state.currentSlide,u=(0,r.slideHandler)(b(b(b({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!l})),d=u.state,m=u.nextState;if(d){i&&i(c,d.currentSlide);var g=d.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));n&&g.length>0&&n(g),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),p&&p(c),delete t.animationEndCallback),t.setState(d,(function(){a&&t.asNavForIndex!==e&&(t.asNavForIndex=e,a.innerSlider.slideHandler(e)),m&&(t.animationEndCallback=setTimeout((function(){var e=m.animating,l=function(e,t){if(null==e)return{};var l,o,a=function(e,t){if(null==e)return{};var l,o,a={},i=Object.keys(e);for(o=0;o<i.length;o++)l=i[o],t.indexOf(l)>=0||(a[l]=e[l]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)l=i[o],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}(m,["animating"]);t.setState(l,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),p&&p(d.currentSlide),delete t.animationEndCallback}))}),s))}))}})),w(f(t),"changeSlide",(function(e){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=b(b({},t.props),t.state),a=(0,r.changeSlide)(o,e);if((0===a||a)&&(!0===l?t.slideHandler(a,l):t.slideHandler(a),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var i=t.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}})),w(f(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),w(f(t),"keyHandler",(function(e){var l=(0,r.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==l&&t.changeSlide({message:l})})),w(f(t),"selectHandler",(function(e){t.changeSlide(e)})),w(f(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),w(f(t),"enableBodyScroll",(function(){window.ontouchmove=null})),w(f(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var l=(0,r.swipeStart)(e,t.props.swipe,t.props.draggable);""!==l&&t.setState(l)})),w(f(t),"swipeMove",(function(e){var l=(0,r.swipeMove)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));l&&(l.swiping&&(t.clickable=!1),t.setState(l))})),w(f(t),"swipeEnd",(function(e){var l=(0,r.swipeEnd)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(l){var o=l.triggerSlideHandler;delete l.triggerSlideHandler,t.setState(l),void 0!==o&&(t.slideHandler(o),t.props.verticalSwiping&&t.enableBodyScroll())}})),w(f(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),w(f(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),w(f(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),w(f(t),"slickGoTo",(function(e){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},l)}),0))})),w(f(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,r.canGoNext)(b(b({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),w(f(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var l=t.state.autoplaying;if("update"===e){if("hovered"===l||"focused"===l||"paused"===l)return}else if("leave"===e){if("paused"===l||"focused"===l)return}else if("blur"===e&&("paused"===l||"hovered"===l))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),w(f(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var l=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==l&&"playing"!==l||t.setState({autoplaying:"focused"}):"playing"===l&&t.setState({autoplaying:"hovered"})})),w(f(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),w(f(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),w(f(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),w(f(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),w(f(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),w(f(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),w(f(t),"render",(function(){var e,l,a,i=(0,n.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),u=b(b({},t.props),t.state),d=(0,r.extractObject)(u,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),m=t.props.pauseOnHover;if(d=b(b({},d),{},{onMouseEnter:m?t.onTrackOver:null,onMouseLeave:m?t.onTrackLeave:null,onMouseOver:m?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var y=(0,r.extractObject)(u,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=t.props.pauseOnDotsHover;y=b(b({},y),{},{clickHandler:t.changeSlide,onMouseEnter:v?t.onDotsLeave:null,onMouseOver:v?t.onDotsOver:null,onMouseLeave:v?t.onDotsLeave:null}),e=o.default.createElement(p.Dots,y)}var h=(0,r.extractObject)(u,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);h.clickHandler=t.changeSlide,t.props.arrows&&(l=o.default.createElement(c.PrevArrow,h),a=o.default.createElement(c.NextArrow,h));var f=null;t.props.vertical&&(f={height:t.state.listHeight});var k=null;!1===t.props.vertical?!0===t.props.centerMode&&(k={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(k={padding:t.props.centerPadding+" 0px"});var w=b(b({},f),k),x=t.props.touchMove,T={className:"slick-list",style:w,onClick:t.clickHandler,onMouseDown:x?t.swipeStart:null,onMouseMove:t.state.dragging&&x?t.swipeMove:null,onMouseUp:x?t.swipeEnd:null,onMouseLeave:t.state.dragging&&x?t.swipeEnd:null,onTouchStart:x?t.swipeStart:null,onTouchMove:t.state.dragging&&x?t.swipeMove:null,onTouchEnd:x?t.touchEnd:null,onTouchCancel:t.state.dragging&&x?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},S={className:i,dir:"ltr",style:t.props.style};return t.props.unslick&&(T={className:"slick-list"},S={className:i}),o.default.createElement("div",S,t.props.unslick?"":l,o.default.createElement("div",g({ref:t.listRefHandler},T),o.default.createElement(s.Track,g({ref:t.trackRefHandler},d),t.props.children)),t.props.unslick?"":a,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=b(b({},a.default),{},{currentSlide:t.props.initialSlide,slideCount:o.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var l=t.ssrInit();return t.state=b(b({},t.state),l),t}return t=T,(l=[{key:"didPropsChange",value:function(e){for(var t=!1,l=0,a=Object.keys(this.props);l<a.length;l++){var i=a[l];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==m(e[i])&&"function"!=typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||o.default.Children.count(this.props.children)!==o.default.Children.count(e.children)}}])&&v(t.prototype,l),T}(o.default.Component);t.InnerSlider=x},5798:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(l(7294)),a=l(8517),i=s(l(973)),n=s(l(3492)),r=l(5518);function s(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},c.apply(this,arguments)}function u(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,o)}return l}function d(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?u(Object(l),!0).forEach((function(t){v(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):u(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function m(e,t){for(var l=0;l<t.length;l++){var o=t[l];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function v(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var h=(0,r.canUseDOM)()&&l(4974),f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(k,e);var t,l,s,u,f=(s=k,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(s);if(u){var l=b(this).constructor;e=Reflect.construct(t,arguments,l)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?y(e):t}(this,e)});function k(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,k),v(y(t=f.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),v(y(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),v(y(t),"slickNext",(function(){return t.innerSlider.slickNext()})),v(y(t),"slickGoTo",(function(e){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,l)})),v(y(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),v(y(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=k,(l=[{key:"media",value:function(e,t){h.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(l,o){var a;a=0===o?(0,i.default)({minWidth:0,maxWidth:l}):(0,i.default)({minWidth:t[o-1]+1,maxWidth:l}),(0,r.canUseDOM)()&&e.media(a,(function(){e.setState({breakpoint:l})}))}));var l=(0,i.default)({minWidth:t.slice(-1)[0]});(0,r.canUseDOM)()&&this.media(l,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){h.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,l=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===l.state.breakpoint})))[0].settings?"unslick":d(d(d({},n.default),this.props),t[0].settings):d(d({},n.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var i=o.default.Children.toArray(this.props.children);i=i.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var r=[],s=null,p=0;p<i.length;p+=e.rows*e.slidesPerRow){for(var u=[],m=p;m<p+e.rows*e.slidesPerRow;m+=e.slidesPerRow){for(var g=[],y=m;y<m+e.slidesPerRow&&(e.variableWidth&&i[y].props.style&&(s=i[y].props.style.width),!(y>=i.length));y+=1)g.push(o.default.cloneElement(i[y],{key:100*p+10*m+y,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));u.push(o.default.createElement("div",{key:10*p+m},g))}e.variableWidth?r.push(o.default.createElement("div",{key:p,style:{width:s}},u)):r.push(o.default.createElement("div",{key:p},u))}if("unslick"===e){var b="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:b},i)}return r.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(a.InnerSlider,c({style:this.props.style,ref:this.innerSliderRefHandler},e),r)}}])&&m(t.prototype,l),k}(o.default.Component);t.default=f},4740:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var o=n(l(7294)),a=n(l(4184)),i=l(5518);function n(e){return e&&e.__esModule?e:{default:e}}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},s.apply(this,arguments)}function p(e,t){for(var l=0;l<t.length;l++){var o=t[l];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function m(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,o)}return l}function g(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?m(Object(l),!0).forEach((function(t){y(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):m(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function y(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var b=function(e){var t,l,o,a,i;return o=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(a=Math.floor(e.slidesToShow/2),l=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-a-1&&i<=e.currentSlide+a&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":l,"slick-cloned":o,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},v=function(e,t){return e.key||t},h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,l,n,m,h=(n=f,m=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(n);if(m){var l=d(this).constructor;e=Reflect.construct(t,arguments,l)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}(this,e)});function f(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);for(var t=arguments.length,l=new Array(t),o=0;o<t;o++)l[o]=arguments[o];return y(u(e=h.call.apply(h,[this].concat(l))),"node",null),y(u(e),"handleRef",(function(t){e.node=t})),e}return t=f,(l=[{key:"render",value:function(){var e=function(e){var t,l=[],n=[],r=[],s=o.default.Children.count(e.children),p=(0,i.lazyStartIndex)(e),c=(0,i.lazyEndIndex)(e);return o.default.Children.forEach(e.children,(function(u,d){var m,y={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};m=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?u:o.default.createElement("div",null);var h=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:d})),f=m.props.className||"",k=b(g(g({},e),{},{index:d}));if(l.push(o.default.cloneElement(m,{key:"original"+v(m,d),"data-index":d,className:(0,a.default)(k,f),tabIndex:"-1","aria-hidden":!k["slick-active"],style:g(g({outline:"none"},m.props.style||{}),h),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})),e.infinite&&!1===e.fade){var w=s-d;w<=(0,i.getPreClones)(e)&&s!==e.slidesToShow&&((t=-w)>=p&&(m=u),k=b(g(g({},e),{},{index:t})),n.push(o.default.cloneElement(m,{key:"precloned"+v(m,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(k,f),"aria-hidden":!k["slick-active"],style:g(g({},m.props.style||{}),h),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))),s!==e.slidesToShow&&((t=s+d)<c&&(m=u),k=b(g(g({},e),{},{index:t})),r.push(o.default.cloneElement(m,{key:"postcloned"+v(m,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(k,f),"aria-hidden":!k["slick-active"],style:g(g({},m.props.style||{}),h),onClick:function(t){m.props&&m.props.onClick&&m.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})))}})),e.rtl?n.concat(l,r).reverse():n.concat(l,r)}(this.props),t=this.props,l={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},l),e)}}])&&p(t.prototype,l),f}(o.default.PureComponent);t.Track=h},5518:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=s,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var o,a=(o=l(7294))&&o.__esModule?o:{default:o};function i(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,o)}return l}function n(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?i(Object(l),!0).forEach((function(t){r(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):i(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function r(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function s(e,t,l){return Math.max(t,Math.min(e,l))}var p=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=p;var c=function(e){for(var t=[],l=u(e),o=d(e),a=l;a<o;a++)e.lazyLoadedList.indexOf(a)<0&&t.push(a);return t};t.getOnDemandLazySlides=c,t.getRequiredLazySlides=function(e){for(var t=[],l=u(e),o=d(e),a=l;a<o;a++)t.push(a);return t};var u=function(e){return e.currentSlide-m(e)};t.lazyStartIndex=u;var d=function(e){return e.currentSlide+g(e)};t.lazyEndIndex=d;var m=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=m;var g=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=g;var y=function(e){return e&&e.offsetWidth||0};t.getWidth=y;var b=function(e){return e&&e.offsetHeight||0};t.getHeight=b;var v=function(e){var t,l,o,a,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,l=e.startY-e.curY,o=Math.atan2(l,t),(a=Math.round(180*o/Math.PI))<0&&(a=360-Math.abs(a)),a<=45&&a>=0||a<=360&&a>=315?"left":a>=135&&a<=225?"right":!0===i?a>=35&&a<=135?"up":"down":"vertical"};t.getSwipeDirection=v;var h=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=h,t.extractObject=function(e,t){var l={};return t.forEach((function(t){return l[t]=e[t]})),l},t.initializedState=function(e){var t,l=a.default.Children.count(e.children),o=e.listRef,i=Math.ceil(y(o)),r=e.trackRef&&e.trackRef.node,s=Math.ceil(y(r));if(e.vertical)t=i;else{var p=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(p*=i/100),t=Math.ceil((i-p)/e.slidesToShow)}var u=o&&b(o.querySelector('[data-index="0"]')),d=u*e.slidesToShow,m=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(m=l-1-e.initialSlide);var g=e.lazyLoadedList||[],v=c(n(n({},e),{},{currentSlide:m,lazyLoadedList:g})),h={slideCount:l,slideWidth:t,listWidth:i,trackWidth:s,currentSlide:m,slideHeight:u,listHeight:d,lazyLoadedList:g=g.concat(v)};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h},t.slideHandler=function(e){var t=e.waitForAnimate,l=e.animating,o=e.fade,a=e.infinite,i=e.index,r=e.slideCount,p=e.lazyLoad,u=e.currentSlide,d=e.centerMode,m=e.slidesToScroll,g=e.slidesToShow,y=e.useCSS,b=e.lazyLoadedList;if(t&&l)return{};var v,f,k,w=i,x={},C={},E=a?i:s(i,0,r-1);if(o){if(!a&&(i<0||i>=r))return{};i<0?w=i+r:i>=r&&(w=i-r),p&&b.indexOf(w)<0&&(b=b.concat(w)),x={animating:!0,currentSlide:w,lazyLoadedList:b,targetSlide:w},C={animating:!1,targetSlide:w}}else v=w,w<0?(v=w+r,a?r%m!=0&&(v=r-r%m):v=0):!h(e)&&w>u?w=v=u:d&&w>=r?(w=a?r:r-1,v=a?0:r-1):w>=r&&(v=w-r,a?r%m!=0&&(v=0):v=r-g),!a&&w+g>=r&&(v=r-g),f=P(n(n({},e),{},{slideIndex:w})),k=P(n(n({},e),{},{slideIndex:v})),a||(f===k&&(w=v),f=k),p&&(b=b.concat(c(n(n({},e),{},{currentSlide:w})))),y?(x={animating:!0,currentSlide:v,trackStyle:S(n(n({},e),{},{left:f})),lazyLoadedList:b,targetSlide:E},C={animating:!1,currentSlide:v,trackStyle:T(n(n({},e),{},{left:k})),swipeLeft:null,targetSlide:E}):x={currentSlide:v,trackStyle:T(n(n({},e),{},{left:k})),lazyLoadedList:b,targetSlide:E};return{state:x,nextState:C}},t.changeSlide=function(e,t){var l,o,a,i,r=e.slidesToScroll,s=e.slidesToShow,p=e.slideCount,c=e.currentSlide,u=e.targetSlide,d=e.lazyLoad,m=e.infinite;if(l=p%r!=0?0:(p-c)%r,"previous"===t.message)i=c-(a=0===l?r:s-l),d&&!m&&(i=-1==(o=c-a)?p-1:o),m||(i=u-r);else if("next"===t.message)i=c+(a=0===l?r:l),d&&!m&&(i=(c+r)%p+l),m||(i=u+r);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,m){var g=L(n(n({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===g?i-=p:i<t.currentSlide&&"right"===g&&(i+=p)}}else"index"===t.message&&(i=Number(t.index));return i},t.keyHandler=function(e,t,l){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?l?"next":"previous":39===e.keyCode?l?"previous":"next":""},t.swipeStart=function(e,t,l){return"IMG"===e.target.tagName&&p(e),!t||!l&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var l=t.scrolling,o=t.animating,a=t.vertical,i=t.swipeToSlide,r=t.verticalSwiping,s=t.rtl,c=t.currentSlide,u=t.edgeFriction,d=t.edgeDragged,m=t.onEdge,g=t.swiped,y=t.swiping,b=t.slideCount,f=t.slidesToScroll,k=t.infinite,w=t.touchObject,x=t.swipeEvent,S=t.listHeight,C=t.listWidth;if(!l){if(o)return p(e);a&&i&&r&&p(e);var E,_={},L=P(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var I=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!r&&!y&&I>10)return{scrolling:!0};r&&(w.swipeLength=I);var U=(s?-1:1)*(w.curX>w.startX?1:-1);r&&(U=w.curY>w.startY?1:-1);var B=Math.ceil(b/f),M=v(t.touchObject,r),A=w.swipeLength;return k||(0===c&&("right"===M||"down"===M)||c+1>=B&&("left"===M||"up"===M)||!h(t)&&("left"===M||"up"===M))&&(A=w.swipeLength*u,!1===d&&m&&(m(M),_.edgeDragged=!0)),!g&&x&&(x(M),_.swiped=!0),E=a?L+A*(S/C)*U:s?L-A*U:L+A*U,r&&(E=L+A*U),_=n(n({},_),{},{touchObject:w,swipeLeft:E,trackStyle:T(n(n({},t),{},{left:E}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)||w.swipeLength>10&&(_.swiping=!0,p(e)),_}},t.swipeEnd=function(e,t){var l=t.dragging,o=t.swipe,a=t.touchObject,i=t.listWidth,r=t.touchThreshold,s=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,d=t.scrolling,m=t.onSwipe,g=t.targetSlide,y=t.currentSlide,b=t.infinite;if(!l)return o&&p(e),{};var h=s?c/r:i/r,f=v(a,s),x={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return x;if(!a.swipeLength)return x;if(a.swipeLength>h){var T,C;p(e),m&&m(f);var E=b?y:g;switch(f){case"left":case"up":C=E+w(t),T=u?k(t,C):C,x.currentDirection=0;break;case"right":case"down":C=E-w(t),T=u?k(t,C):C,x.currentDirection=1;break;default:T=E}x.triggerSlideHandler=T}else{var _=P(t);x.trackStyle=S(n(n({},t),{},{left:_}))}return x};var f=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,l=e.infinite?-1*e.slidesToShow:0,o=e.infinite?-1*e.slidesToShow:0,a=[];l<t;)a.push(l),l=o+e.slidesToScroll,o+=Math.min(e.slidesToScroll,e.slidesToShow);return a};t.getNavigableIndexes=f;var k=function(e,t){var l=f(e),o=0;if(t>l[l.length-1])t=l[l.length-1];else for(var a in l){if(t<l[a]){t=o;break}o=l[a]}return t};t.checkNavigable=k;var w=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var l,o=e.listRef,a=o.querySelectorAll&&o.querySelectorAll(".slick-slide")||[];if(Array.from(a).every((function(o){if(e.vertical){if(o.offsetTop+b(o)/2>-1*e.swipeLeft)return l=o,!1}else if(o.offsetLeft-t+y(o)/2>-1*e.swipeLeft)return l=o,!1;return!0})),!l)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(l.dataset.index-i)||1}return e.slidesToScroll};t.getSlideCount=w;var x=function(e,t){return t.reduce((function(t,l){return t&&e.hasOwnProperty(l)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=x;var T=function(e){var t,l;x(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var o=e.slideCount+2*e.slidesToShow;e.vertical?l=o*e.slideHeight:t=_(e)*e.slideWidth;var a={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";a=n(n({},a),{},{WebkitTransform:i,transform:r,msTransform:s})}else e.vertical?a.top=e.left:a.left=e.left;return e.fade&&(a={opacity:1}),t&&(a.width=t),l&&(a.height=l),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a};t.getTrackCSS=T;var S=function(e){x(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=T(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=S;var P=function(e){if(e.unslick)return 0;x(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,l,o=e.slideIndex,a=e.trackRef,i=e.infinite,n=e.centerMode,r=e.slideCount,s=e.slidesToShow,p=e.slidesToScroll,c=e.slideWidth,u=e.listWidth,d=e.variableWidth,m=e.slideHeight,g=e.fade,y=e.vertical;if(g||1===e.slideCount)return 0;var b=0;if(i?(b=-C(e),r%p!=0&&o+p>r&&(b=-(o>r?s-(o-r):r%p)),n&&(b+=parseInt(s/2))):(r%p!=0&&o+p>r&&(b=s-r%p),n&&(b=parseInt(s/2))),t=y?o*m*-1+b*m:o*c*-1+b*c,!0===d){var v,h=a&&a.node;if(v=o+C(e),t=(l=h&&h.childNodes[v])?-1*l.offsetLeft:0,!0===n){v=i?o+C(e):o,l=h&&h.children[v],t=0;for(var f=0;f<v;f++)t-=h&&h.children[f]&&h.children[f].offsetWidth;t-=parseInt(e.centerPadding),t+=l&&(u-l.offsetWidth)/2}}return t};t.getTrackLeft=P;var C=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=C;var E=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=E;var _=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+E(e)};t.getTotalSlides=_;var L=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+I(e)?"left":"right":e.targetSlide<e.currentSlide-U(e)?"right":"left"};t.siblingDirection=L;var I=function(e){var t=e.slidesToShow,l=e.centerMode,o=e.rtl,a=e.centerPadding;if(l){var i=(t-1)/2+1;return parseInt(a)>0&&(i+=1),o&&t%2==0&&(i+=1),i}return o?0:t-1};t.slidesOnRight=I;var U=function(e){var t=e.slidesToShow,l=e.centerMode,o=e.rtl,a=e.centerPadding;if(l){var i=(t-1)/2+1;return parseInt(a)>0&&(i+=1),o||t%2!=0||(i+=1),i}return o?t-1:0};t.slidesOnLeft=U,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},2408:(e,t,l)=>{"use strict";var o=l(7418),a=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var n=60109,r=60110,s=60112;t.Suspense=60113;var p=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var u=Symbol.for;a=u("react.element"),i=u("react.portal"),t.Fragment=u("react.fragment"),t.StrictMode=u("react.strict_mode"),t.Profiler=u("react.profiler"),n=u("react.provider"),r=u("react.context"),s=u("react.forward_ref"),t.Suspense=u("react.suspense"),p=u("react.memo"),c=u("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,l=1;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function b(e,t,l){this.props=e,this.context=t,this.refs=y,this.updater=l||g}function v(){}function h(e,t,l){this.props=e,this.context=t,this.refs=y,this.updater=l||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var f=h.prototype=new v;f.constructor=h,o(f,b.prototype),f.isPureReactComponent=!0;var k={current:null},w=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,l){var o,i={},n=null,r=null;if(null!=t)for(o in void 0!==t.ref&&(r=t.ref),void 0!==t.key&&(n=""+t.key),t)w.call(t,o)&&!x.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=l;else if(1<s){for(var p=Array(s),c=0;c<s;c++)p[c]=arguments[c+2];i.children=p}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:a,type:e,key:n,ref:r,props:i,_owner:k.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var P=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function E(e,t,l,o,n){var r=typeof e;"undefined"!==r&&"boolean"!==r||(e=null);var s=!1;if(null===e)s=!0;else switch(r){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case i:s=!0}}if(s)return n=n(s=e),e=""===o?"."+C(s,0):o,Array.isArray(n)?(l="",null!=e&&(l=e.replace(P,"$&/")+"/"),E(n,t,l,"",(function(e){return e}))):null!=n&&(S(n)&&(n=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(n,l+(!n.key||s&&s.key===n.key?"":(""+n.key).replace(P,"$&/")+"/")+e)),t.push(n)),1;if(s=0,o=""===o?".":o+":",Array.isArray(e))for(var p=0;p<e.length;p++){var c=o+C(r=e[p],p);s+=E(r,t,l,c,n)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),p=0;!(r=e.next()).done;)s+=E(r=r.value,t,l,c=o+C(r,p++),n);else if("object"===r)throw t=""+e,Error(m(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function _(e,t,l){if(null==e)return e;var o=[],a=0;return E(e,o,"","",(function(e){return t.call(l,e,a++)})),o}function L(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var I={current:null};function U(){var e=I.current;if(null===e)throw Error(m(321));return e}var B={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:o};t.Children={map:_,forEach:function(e,t,l){_(e,(function(){t.apply(this,arguments)}),l)},count:function(e){var t=0;return _(e,(function(){t++})),t},toArray:function(e){return _(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error(m(143));return e}},t.Component=b,t.PureComponent=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,l){if(null==e)throw Error(m(267,e));var i=o({},e.props),n=e.key,r=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(r=t.ref,s=k.current),void 0!==t.key&&(n=""+t.key),e.type&&e.type.defaultProps)var p=e.type.defaultProps;for(c in t)w.call(t,c)&&!x.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==p?p[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=l;else if(1<c){p=Array(c);for(var u=0;u<c;u++)p[u]=arguments[u+2];i.children=p}return{$$typeof:a,type:e.type,key:n,ref:r,props:i,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:r,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:n,_context:e},e.Consumer=e},t.createElement=T,t.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return U().useCallback(e,t)},t.useContext=function(e,t){return U().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return U().useEffect(e,t)},t.useImperativeHandle=function(e,t,l){return U().useImperativeHandle(e,t,l)},t.useLayoutEffect=function(e,t){return U().useLayoutEffect(e,t)},t.useMemo=function(e,t){return U().useMemo(e,t)},t.useReducer=function(e,t,l){return U().useReducer(e,t,l)},t.useRef=function(e){return U().useRef(e)},t.useState=function(e){return U().useState(e)},t.version="17.0.2"},7294:(e,t,l)=>{"use strict";e.exports=l(2408)},1033:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>T});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var l=-1;return e.some((function(e,o){return e[0]===t&&(l=o,!0)})),l}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var l=e(this.__entries__,t),o=this.__entries__[l];return o&&o[1]},t.prototype.set=function(t,l){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=l:this.__entries__.push([t,l])},t.prototype.delete=function(t){var l=this.__entries__,o=e(l,t);~o&&l.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var l=0,o=this.__entries__;l<o.length;l++){var a=o[l];e.call(t,a[1],a[0])}},t}()}(),a="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==l.g&&l.g.Math===Math?l.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),n="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},r=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,p=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var l=!1,o=!1,a=0;function i(){l&&(l=!1,e()),o&&s()}function r(){n(i)}function s(){var e=Date.now();if(l){if(e-a<2)return;o=!0}else l=!0,o=!1,setTimeout(r,t);a=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,l=t.indexOf(e);~l&&t.splice(l,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,l=void 0===t?"":t;r.some((function(e){return!!~l.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var l=0,o=Object.keys(t);l<o.length;l++){var a=o[l];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},d=v(0,0,0,0);function m(e){return parseFloat(e)||0}function g(e){for(var t=[],l=1;l<arguments.length;l++)t[l-1]=arguments[l];return t.reduce((function(t,l){return t+m(e["border-"+l+"-width"])}),0)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return a?y(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,l=e.clientHeight;if(!t&&!l)return d;var o=u(e).getComputedStyle(e),a=function(e){for(var t={},l=0,o=["top","right","bottom","left"];l<o.length;l++){var a=o[l],i=e["padding-"+a];t[a]=m(i)}return t}(o),i=a.left+a.right,n=a.top+a.bottom,r=m(o.width),s=m(o.height);if("border-box"===o.boxSizing&&(Math.round(r+i)!==t&&(r-=g(o,"left","right")+i),Math.round(s+n)!==l&&(s-=g(o,"top","bottom")+n)),!function(e){return e===u(e).document.documentElement}(e)){var p=Math.round(r+i)-t,c=Math.round(s+n)-l;1!==Math.abs(p)&&(r-=p),1!==Math.abs(c)&&(s-=c)}return v(a.left,a.top,r,s)}(e):d}function v(e,t,l,o){return{x:e,y:t,width:l,height:o}}var h=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),f=function(e,t){var l,o,a,i,n,r,s,p=(o=(l=t).x,a=l.y,i=l.width,n=l.height,r="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(r.prototype),c(s,{x:o,y:a,width:i,height:n,top:a,right:o+i,bottom:n+a,left:o}),s);c(this,{target:e,contentRect:p})},k=function(){function e(e,t,l){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=l}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new h(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new f(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new o,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var l=p.getInstance(),o=new k(t,l,this);w.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}}));const T=void 0!==i.ResizeObserver?i.ResizeObserver:x},1169:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},2413:(e,t,l)=>{"use strict";var o=l(3379),a=l.n(o),i=l(7795),n=l.n(i),r=l(569),s=l.n(r),p=l(3565),c=l.n(p),u=l(9216),d=l.n(u),m=l(4589),g=l.n(m),y=l(439),b={};b.styleTagTransform=g(),b.setAttributes=c(),b.insert=s().bind(null,"head"),b.domAPI=n(),b.insertStyleElement=d(),a()(y.Z,b),y.Z&&y.Z.locals&&y.Z.locals},619:(e,t,l)=>{"use strict";var o=l(3379),a=l.n(o),i=l(7795),n=l.n(i),r=l(569),s=l.n(r),p=l(3565),c=l.n(p),u=l(9216),d=l.n(u),m=l(4589),g=l.n(m),y=l(1211),b={};b.styleTagTransform=g(),b.setAttributes=c(),b.insert=s().bind(null,"head"),b.domAPI=n(),b.insertStyleElement=d(),a()(y.Z,b),y.Z&&y.Z.locals&&y.Z.locals},3379:e=>{"use strict";var t=[];function l(e){for(var l=-1,o=0;o<t.length;o++)if(t[o].identifier===e){l=o;break}return l}function o(e,o){for(var i={},n=[],r=0;r<e.length;r++){var s=e[r],p=o.base?s[0]+o.base:s[0],c=i[p]||0,u="".concat(p," ").concat(c);i[p]=c+1;var d=l(u),m={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==d)t[d].references++,t[d].updater(m);else{var g=a(m,o);o.byIndex=r,t.splice(r,0,{identifier:u,updater:g,references:1})}n.push(u)}return n}function a(e,t){var l=t.domAPI(t);return l.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;l.update(e=t)}else l.remove()}}e.exports=function(e,a){var i=o(e=e||[],a=a||{});return function(e){e=e||[];for(var n=0;n<i.length;n++){var r=l(i[n]);t[r].references--}for(var s=o(e,a),p=0;p<i.length;p++){var c=l(i[p]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=s}}},569:e=>{"use strict";var t={};e.exports=function(e,l){var o=function(e){if(void 0===t[e]){var l=document.querySelector(e);if(window.HTMLIFrameElement&&l instanceof window.HTMLIFrameElement)try{l=l.contentDocument.head}catch(e){l=null}t[e]=l}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(l)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,l)=>{"use strict";e.exports=function(e){var t=l.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(l){!function(e,t,l){var o="";l.supports&&(o+="@supports (".concat(l.supports,") {")),l.media&&(o+="@media ".concat(l.media," {"));var a=void 0!==l.layer;a&&(o+="@layer".concat(l.layer.length>0?" ".concat(l.layer):""," {")),o+=l.css,a&&(o+="}"),l.media&&(o+="}"),l.supports&&(o+="}");var i=l.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,l)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},7462:(e,t,l)=>{"use strict";function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(e[o]=l[o])}return e},o.apply(this,arguments)}l.d(t,{Z:()=>o})}},t={};function l(o){var a=t[o];if(void 0!==a)return a.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,l),i.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nc=void 0,(()=>{"use strict";var e=l(7462),t=l(7294),o=l(5701),a=(l(9544),l(223),l(1184),l(2177),l(365),l(8844),l(9038),l(2756),l(1845),l(5930),l(2633),l(5715),l(4484),l(7879),l(7127),l(1693),l(6405),l(3674),l(4931),l(7549),l(2528),l(3053),l(2738),l(5816),l(4072),l(5109),l(1123),l(8910),l(2294),l(4764),l(3609),l(8578),l(400),l(1807),l(8871),l(6653),l(5391),l(2038),l(8866),l(4955),l(7004),l(1145),l(7216),l(5562),l(1565),l(3056),l(1544),l(3061),l(5574),l(1458),l(1818),l(9044),l(1182),l(3427),l(8425),l(6303),l(8913),l(4255),l(8111),l(1213),l(1366),l(1977),l(5207),l(5556),l(9735),l(5364)),i=l(3780),n=l(405),r=l(674),s=l(4285);const{__}=wp.i18n,{domReady:p}=wp,{updateCategory:c,unregisterBlockType:u}=wp.blocks,{subscribe:d,dispatch:m}=wp.data,{render:g}=wp.element,{registerPlugin:y}=wp.plugins,{addFilter:b}=wp.hooks,{InspectorControls:v}=wp.blockEditor;window.ultpDevice="lg",window.bindCssPostX=!1;let h=!1;c("ultimate-post",{icon:(0,t.createElement)("img",{className:"ultp-insert-box-popup",style:{height:"30px",marginTop:"-1px"},src:ultp_data.url+"assets/img/logo-sm.svg",alt:"PostX"})}),jQuery(document).on("click",".editor-entities-saved-states__save-button",(function(){h||(h=!0,(0,s.R)({handleBindCss:!0,preview:!1}),setTimeout((()=>{h=!1}),1e3))}));const f=()=>{setTimeout((()=>{jQuery(".edit-widgets-header__actions .components-button").click((()=>{let e=[];!1===window.bindCssPostX&&(jQuery(".block-editor-block-list__block").each((function(){jQuery(this).data("type").includes("ultimate-post/")&&e.push({id:jQuery(this).data("block"),name:jQuery(this).data("type")})})),e.length>0&&(0,s.V)(e))}))}),0)};p((function(){document.querySelector(".widgets-php")?f():document.querySelector(".block-editor-page")&&(d((()=>{const{isSavingPost:e,isAutosavingPost:t,isPreviewingPost:l,isEditedPostSaveable:o}=wp.data.select("core/editor");null!=wp.data.select("core/editor")&&(o()&&!l()&&(h=!1,window.bindCssPostX=!1),t()?l()&&0==window.bindCssPostX&&(window.bindCssPostX=!0,(0,s.R)({handleBindCss:!0,preview:!0})):e()&&0==window.bindCssPostX&&(window.bindCssPostX=!0,h=!0,(0,s.R)({handleBindCss:!1,preview:!1}))),jQuery('[aria-controls="ultp-postx-settings:postx-settings"] span[arial-label="Go Back"]').css("display","none")})),"yes"!=ultp_data.hide_import_btn&&(()=>{const e=d((()=>{let l;if(wp.data.select("core/edit-site")?(l=document.querySelector(".editor-header__toolbar"),l||(l=window.document.querySelector(".edit-site-header-edit-mode__center"))):(l=document.querySelector(".editor-header__toolbar"),l||(l=document.querySelector(".edit-post-header__toolbar")),l||(l=document.querySelector(".edit-post-header-toolbar"))),!l)return;const i=`<button id="UltpChatGPTButton" class="ultp-popup-button" aria-label="ChatGPT"><img class="ultp-popup-bar-image" src="${ultp_data.url+"assets/img/addons/ChatGPT.svg"}">${__("ChatGPT","ultimate-post")}</button>`;let n=document.createElement("div");n.className="toolbar-insert-layout";const r=`${"true"==ultp_data.settings.ultp_chatgpt?i:""}<button id="UltpInsertButton" class="ultp-popup-button" aria-label="Insert Layout">\n        <img class="ultp-popup-bar-image" src="${ultp_data.url+"assets/img/logo-sm.svg"}">\n                        ${["singular","archive","header","footer","404"].includes(ultp_data.archive)?__("Builder Library","ultimate-post"):__("Template Kits","ultimate-post")}\n                    </button>`;n.innerHTML=r,l.appendChild(n),document.getElementById("UltpInsertButton")?.addEventListener("click",(function(){let e=document.createElement("div");e.className="ultp-builder-modal ultp-blocks-layouts",document.body.appendChild(e),g((0,t.createElement)(o.Z,{isShow:!0}),e),document.body.classList.add("ultp-popup-open")})),document.getElementById("UltpChatGPTButton")?.addEventListener("click",(function(){let e=document.createElement("div");e.className="ultp-builder-modal ultp-blocks-layouts",document.body.appendChild(e),g((0,t.createElement)(a.Z,{isShow:!0,fromEditPostToolbar:!0}),e),document.body.classList.add("ultp-popup-open")})),e()}))})());const e={heading:"heading",image:"image",news_ticker:"news-ticker",post_grid_1:"post-grid-1",post_grid_2:"post-grid-2",post_grid_3:"post-grid-3",post_grid_4:"post-grid-4",post_grid_5:"post-grid-5",post_grid_6:"post-grid-6",post_grid_7:"post-grid-7",post_list_1:"post-list-1",post_list_2:"post-list-2",post_list_3:"post-list-3",post_list_4:"post-list-4",post_module_1:"post-module-1",post_module_2:"post-module-2",post_slider_1:"post-slider-1",post_slider_2:"post-slider-2",taxonomy:"ultp-taxonomy",wrapper:"wrapper",advanced_list:"advanced-list",button_group:"button-group",row:"row",advanced_search:"advanced-search",dark_light:"dark-light",social_icons:"social-icons",menu:"menu",star_ratings:"star-rating",accordion:"accordion"};Object.keys(e).forEach((t=>{ultp_data.settings?.hasOwnProperty(t)&&"yes"!=ultp_data.settings[t]&&u("ultimate-post/"+e[t])}));const l={builder_advance_post_meta:"advance-post-meta",builder_archive_title:"archive-title",builder_author_box:"author-box",builder_post_next_previous:"next-previous",builder_post_author_meta:"post-author-meta",builder_post_breadcrumb:"post-breadcrumb",builder_post_category:"post-category",builder_post_comment_count:"post-comment-count",builder_post_comments:"post-comments",builder_post_content:"post-content",builder_post_date_meta:"post-date-meta",builder_post_excerpt:"post-excerpt",builder_post_featured_image:"post-featured-image",builder_post_reading_time:"post-reading-time",builder_post_social_share:"post-social-share",builder_post_tag:"post-tag",builder_post_title:"post-title",builder_post_view_count:"post-view-count"};"ultp_builder"==ultp_data.post_type?Object.keys(l).forEach((e=>{ultp_data.settings?.hasOwnProperty(e)&&"yes"!=ultp_data.settings[e]&&u("ultimate-post/"+l[e])})):Object.keys(l).forEach((e=>{u("ultimate-post/"+l[e])})),ultp_data.settings?.hasOwnProperty("ultp_table_of_content")&&"true"!=ultp_data.settings.ultp_table_of_content&&u("ultimate-post/table-of-content")})),b("blocks.registerBlockType","ultimate-post/ultp-site-logo-attributes",(function(e){if("core/site-logo"==e.name){const t={ultpEnableDarkLogo:{type:"boolean",default:!1},ultpdarkLogo:{type:"object"}};e.attributes={...e.attributes,...t}}return e})),b("editor.BlockEdit","core/site-logo",(function(l){const o=[];return function(a){const{attributes:{ultpEnableDarkLogo:r,ultpdarkLogo:s,className:p},setAttributes:c}=a;if("core/site-logo"==a.name){const e=o.indexOf(a.clientId);r&&e<0?o.push(a.clientId):e>-1&&o.splice(e,1)}return[(0,t.createElement)(l,(0,e.Z)({key:a?.clientId},a)),a.isSelected&&"core/site-logo"==a.name&&(0,t.createElement)(v,null,(0,t.createElement)("div",{className:"ultp-dark-logo-control"},(0,t.createElement)(n.Z,{label:__("Enable Dark Mode Logo(PostX)","ultimate-post"),value:r,onChange:e=>{a.setAttributes({ultpEnableDarkLogo:e,className:e?(p||"")+" ultp-dark-logo":p?.replaceAll("ultp-dark-logo","")})}}),r&&(0,t.createElement)(i.Z,{label:__("Upload Dark Mode Image","ultimate-post"),multiple:!1,type:["image"],panel:!0,value:null!=s?s:{url:ultp_data.dark_logo},onChange:e=>{var t;t=e,wp.apiFetch({path:"/ultp/v2/init_site_dark_logo",method:"POST",data:{wpnonce:ultp_data.security,logo:t}}).then((e=>{})),c({ultpdarkLogo:t}),o.length&&m&&o.forEach((e=>{m("core/block-editor").updateBlockAttributes(e,{ultpdarkLogo:t})}))}})))]}}),0),y("ultp-postx-settings",{render:()=>(0,t.createElement)(r.Z,null)})})()})();

Youez - 2016 - github.com/yon3zu
LinuXploit