admin-add-ons.asset.php
1 year ago
admin-add-ons.js
1 year ago
admin-onboarding-wizard-rtl.css
1 year ago
admin-onboarding-wizard.asset.php
1 year ago
admin-onboarding-wizard.css
1 year ago
admin-onboarding-wizard.js
1 year ago
admin-reports-rtl.css
1 year ago
admin-reports-widget-rtl.css
1 year ago
admin-reports-widget.asset.php
1 year ago
admin-reports-widget.css
1 year ago
admin-reports-widget.js
1 year ago
admin-reports.asset.php
1 year ago
admin-reports.css
1 year ago
admin-reports.js
1 year ago
admin-setup.asset.php
1 year ago
admin-setup.js
1 year ago
admin-shortcodes.asset.php
1 year ago
admin-shortcodes.js
1 year ago
admin-upsell-addons-page-rtl.css
1 year ago
admin-upsell-addons-page.asset.php
1 year ago
admin-upsell-addons-page.css
1 year ago
admin-upsell-addons-page.js
1 year ago
admin-upsell-sale-banner.asset.php
1 year ago
admin-upsell-sale-banner.js
1 year ago
admin-widgets.asset.php
1 year ago
admin-widgets.js
1 year ago
admin.asset.php
9 months ago
admin.js
9 months ago
donation-options.asset.php
1 year ago
donation-options.js
1 year ago
donor-dashboards-app-rtl.css
1 year ago
donor-dashboards-app.asset.php
8 months ago
donor-dashboards-app.css
1 year ago
donor-dashboards-app.js
8 months ago
donor-dashboards-block.asset.php
1 year ago
donor-dashboards-block.js
1 year ago
give-add-v2form-rtl.css
1 year ago
give-add-v2form.asset.php
1 year ago
give-add-v2form.css
1 year ago
give-add-v2form.js
1 year ago
give-admin-donation-forms-rtl.css
8 months ago
give-admin-donation-forms.asset.php
8 months ago
give-admin-donation-forms.css
8 months ago
give-admin-donation-forms.js
8 months ago
give-admin-donations-rtl.css
8 months ago
give-admin-donations.asset.php
8 months ago
give-admin-donations.css
8 months ago
give-admin-donations.js
8 months ago
give-admin-donors-rtl.css
8 months ago
give-admin-donors.asset.php
8 months ago
give-admin-donors.css
8 months ago
give-admin-donors.js
8 months ago
give-admin-event-tickets-details-rtl.css
8 months ago
give-admin-event-tickets-details.asset.php
8 months ago
give-admin-event-tickets-details.css
8 months ago
give-admin-event-tickets-details.js
8 months ago
give-admin-event-tickets-rtl.css
8 months ago
give-admin-event-tickets.asset.php
8 months ago
give-admin-event-tickets.css
8 months ago
give-admin-event-tickets.js
8 months ago
give-admin-subscriptions-rtl.css
8 months ago
give-admin-subscriptions.asset.php
8 months ago
give-admin-subscriptions.css
8 months ago
give-admin-subscriptions.js
8 months ago
give-classic-template.asset.php
1 year ago
give-classic-template.js
1 year ago
give-donation-forms-load-async-data.asset.php
1 year ago
give-donation-forms-load-async-data.js
1 year ago
give-donation-summary.asset.php
1 year ago
give-donation-summary.js
1 year ago
give-edit-v2form-rtl.css
1 year ago
give-edit-v2form.asset.php
1 year ago
give-edit-v2form.css
1 year ago
give-edit-v2form.js
1 year ago
give-log-list-table-app-rtl.css
8 months ago
give-log-list-table-app.asset.php
8 months ago
give-log-list-table-app.css
8 months ago
give-log-list-table-app.js
8 months ago
give-migrations-list-table-app-rtl.css
8 months ago
give-migrations-list-table-app.asset.php
8 months ago
give-migrations-list-table-app.css
8 months ago
give-migrations-list-table-app.js
8 months ago
give-sequoia-template.asset.php
1 year ago
give-sequoia-template.js
1 year ago
give-stripe-becs.asset.php
1 year ago
give-stripe-becs.js
1 year ago
give-stripe-sepa.asset.php
1 year ago
give-stripe-sepa.js
1 year ago
give-stripe.asset.php
1 year ago
give-stripe.js
1 year ago
give.asset.php
1 year ago
give.js
1 year ago
iframe-content.asset.php
1 year ago
iframe-content.js
1 year ago
orphaned-forms-list-table-rtl.css
8 months ago
orphaned-forms-list-table.asset.php
8 months ago
orphaned-forms-list-table.css
8 months ago
orphaned-forms-list-table.js
8 months ago
parent-page.asset.php
1 year ago
parent-page.js
1 year ago
payment-gateway.asset.php
1 year ago
payment-gateway.js
1 year ago
paypal-commerce.asset.php
1 year ago
paypal-commerce.js
1 year ago
plugin-deactivation-survey.asset.php
1 year ago
plugin-deactivation-survey.js
1 year ago
utils.asset.php
1 year ago
utils.js
1 year ago
welcome-banner-rtl.css
1 year ago
welcome-banner.asset.php
1 year ago
welcome-banner.css
1 year ago
welcome-banner.js
1 year ago
welcome-banner.js
1 lines
| 1 | (()=>{var e={32485:(e,n)=>{var t;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var t=arguments[n];if(t){var i=typeof t;if("string"===i||"number"===i)e.push(t);else if(Array.isArray(t)){if(t.length){var c=r.apply(null,t);c&&e.push(c)}}else if("object"===i){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var l in t)a.call(t,l)&&t[l]&&e.push(l)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(t=function(){return r}.apply(n,[]))||(e.exports=t)}()},5338:(e,n,t)=>{"use strict";var a=t(75795);n.H=a.createRoot,a.hydrateRoot},75795:e=>{"use strict";e.exports=window.ReactDOM}},n={};function t(a){var r=n[a];if(void 0!==r)return r.exports;var i=n[a]={exports:{}};return e[a](i,i.exports,t),i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var a in n)t.o(n,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var a={};(()=>{"use strict";t.d(a,{A:()=>w});const e=window.React,n=window.wp.i18n;var r=t(32485),i=t.n(r);function c({variant:n,caption:t,iconSrc:a,alt:r}){return(0,e.createElement)("div",{className:i()("givewp-welcome-banner-badge",{"givewp-welcome-banner-badge--primary":"primary"===n,"givewp-welcome-banner-badge--secondary":"secondary"===n})},(0,e.createElement)("img",{src:a,alt:r}),t)}function l({children:n}){return(0,e.createElement)("div",{className:"givewp-welcome-banner-row"},n)}function o({children:n,href:t}){return(0,e.createElement)("a",{href:t,className:"givewp-welcome-banner-link givewp-welcome-banner-link--internal"},n)}function s({children:n,href:t}){return(0,e.createElement)("a",{href:t,className:"givewp-welcome-banner-link givewp-welcome-banner-link--external",target:"_blank",rel:"noopener noreferrer"},n)}function m({assets:t}){return(0,e.createElement)("section",{className:"givewp-welcome-banner-left-content"},(0,e.createElement)(l,null,(0,e.createElement)("header",{className:"givewp-welcome-banner-row__header"},(0,e.createElement)("h1",null,(0,n.__)("What’s new in the Visual Form Builder","give")),(0,e.createElement)("p",null,(0,n.__)("GiveWP introduces an enhanced forms experience powered by the new Visual Donations Form Builder.","give")))),(0,e.createElement)(l,null,(0,e.createElement)("h2",null,(0,n.__)("Create a donation form","give")),(0,e.createElement)("p",null,(0,n.__)("This is powered by the new Visual Donation Form Builder","give")),(0,e.createElement)(o,{href:"/wp-admin/edit.php?post_type=give_forms&page=give-campaigns&new=campaign"},(0,n.__)("Try the new form builder","give"))),(0,e.createElement)(l,null,(0,e.createElement)("h2",null,(0,n.__)("New Updates","give")),(0,e.createElement)("p",null,(0,n.__)("The team is still working on some new features, add-on and payment gateway compatibility to make your form experience better.","give")),(0,e.createElement)(s,{href:"https://docs.givewp.com/welcome-docs"},(0,n.__)("Read documentation","give"))))}function u({title:n,description:t,children:a}){return(0,e.createElement)("div",{className:"givewp-welcome-banner-spotlight-container"},a,(0,e.createElement)("div",{className:"givewp-welcome-banner-spotlight-container__details"},(0,e.createElement)("h2",null,n),(0,e.createElement)("p",null,t)))}function p({src:n,fallbackImage:t}){const a=(0,e.useRef)(null),[r,i]=(0,e.useState)(!1),{assets:c}=w(),l=null==n||""===n||null===r||!n.endsWith(".mp4")&&!n.endsWith(".mov");return(0,e.createElement)("div",{className:"givewp-welcome-banner-video"},(0,e.createElement)("div",{className:"givewp-welcome-banner-video-container"},l?(0,e.createElement)("div",{className:"givewp-welcome-banner-video-fallback"},(0,e.createElement)("img",{className:"givewp-welcome-banner-video-fallback__image",src:t,alt:"/"})):(0,e.createElement)("video",{ref:a,src:n,loop:!0,muted:!0}),!l&&(0,e.createElement)("button",{className:"play-button",onClick:()=>{a.current.paused?(a.current.play(),i(!0)):(a.current.pause(),i(!1))}},r?(0,e.createElement)("img",{src:`${c}/pause-icon.svg`,alt:"Pause"}):(0,e.createElement)("img",{src:`${c}/play-icon.svg`,alt:"play"}))))}function d({assets:t}){return(0,e.createElement)("section",{className:"givewp-welcome-banner-right-content"},(0,e.createElement)("h2",null,(0,n.__)("Spotlight on awesome features","give")),(0,e.createElement)("div",{className:"givewp-welcome-banner-right-content__media-container"},(0,e.createElement)(u,{title:(0,e.createElement)(e.Fragment,null,(0,n.__)("Event tickets","give")," ",(0,e.createElement)("span",{className:"givewp-beta-icon"},"BETA")),description:(0,n.__)("Easily connect your events to your donation form. To enable this go to Settings > General > Beta Features and enable event tickets","give")},(0,e.createElement)(p,{src:`${t}/event-tickets.mp4`,fallbackImage:`${t}/event-tickets.min.png`})),(0,e.createElement)(u,{title:(0,n.__)("Design mode","give"),description:(0,n.__)("See exactly what your form looks like for potential donors using the “Design” tab of the builder. Changes are visible immediately.","give")},(0,e.createElement)(p,{src:`${t}/design-mode.mp4`,fallbackImage:`${t}/design-mode.min.png`}))))}function g(){const{showBanner:t,dismissBanner:a}=function(){const[n,t]=(0,e.useState)(!0);return{dismissBanner:async function(){const{nonce:e,action:n,root:a}=w(),r=`${a}/dismiss`;t(!1),await fetch(r,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":e},body:JSON.stringify({action:n})})},showBanner:n}}(),{assets:r}=w();if(t)return(0,e.createElement)("div",{className:"givewp-welcome-banner"},(0,e.createElement)("div",{className:"givewp-welcome-banner__dismiss-container"},(0,e.createElement)(c,{variant:"primary",caption:(0,n.__)("UPDATED","give"),iconSrc:`${r}/green-circle-check-icon.svg`,alt:"check-mark"}),(0,e.createElement)("button",{onClick:a},(0,e.createElement)("img",{src:`${r}/close-icon.svg`,alt:"dismiss"}))),(0,e.createElement)("div",{className:"givewp-welcome-banner__content-container"},(0,e.createElement)(m,{assets:r}),(0,e.createElement)(d,{assets:r})))}var v=t(5338);function w(){return window.WelcomeBanner}const f=document.getElementById("givewp-welcome-banner"),h=()=>(0,e.createElement)(e.StrictMode,null,(0,e.createElement)(g,null));f&&(document.querySelector(".wp-header-end").insertAdjacentElement("afterend",f),(0,v.H)(f).render((0,e.createElement)(h,null)))})()})(); |