!function(){"use strict";var e,r={7005:function(e,r,n){var t=n(1609),o=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};r.jsx=function(e,r,n){var t,u={},s=null,l=null;for(t in void 0!==n&&(s=""+n),void 0!==r.key&&(s=""+r.key),void 0!==r.ref&&(l=r.ref),r)a.call(r,t)&&!c.hasOwnProperty(t)&&(u[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===u[t]&&(u[t]=r[t]);return{$$typeof:o,type:e,key:s,ref:l,props:u,_owner:i.current}}},9255:function(e,r,n){e.exports=n(7005)},2853:function(e,r,n){var t=window.wp.blocks,o=window.wp.primitives,a=n(9255),i=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})}),c=window.wp.i18n,u=window.wp.blockEditor,s=n(1609),l=n.n(s);function f(e){let{name:r,...n}=e;const[t,o]=(0,s.useState)(null),a=window?.scData?.plugin_url+"/dist/icon-assets";if((0,s.useEffect)((()=>{fetch(`${a}/${r}.svg`).then((e=>e.text())).then((e=>{const r=(new DOMParser).parseFromString(e,"image/svg+xml");o(r?.documentElement)})).catch(console.error)}),[r]),!t)return null;const i={...Array.from(t.attributes).reduce(((e,r)=>(e[r.name.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}))]=r.value,e)),{}),...n};return l().createElement(t.tagName,{...i,dangerouslySetInnerHTML:{__html:t.innerHTML}})}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},p.apply(null,arguments)}const d={arrow:(0,c.isRTL)()?"arrow-left":"arrow-right",chevron:(0,c.isRTL)()?"chevron-left":"chevron-right"};var v=JSON.parse('{"UU":"surecart/cart-order-bump-pagination-next"}');(0,t.registerBlockType)(v.UU,{icon:i,edit:e=>{let{context:r}=e;const n=(0,u.useBlockProps)(),t=r?.paginationArrow||"chevron",o=r?.paginationArrowSize||20,a=d[t];return React.createElement("div",p({},n,{role:"button",tabindex:"0",disabled:!0}),React.createElement(f,{name:a,width:o,height:o,className:"wp-block-surecart-cart-order-bump-pagination-next__icon","aria-hidden":!0}))},__experimentalLabel:()=>(0,c.__)("Next","surecart")})},1609:function(e){e.exports=window.React}},n={};function t(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,t),a.exports}t.m=r,e=[],t.O=function(r,n,o,a){if(!n){var i=1/0;for(l=0;l<e.length;l++){n=e[l][0],o=e[l][1],a=e[l][2];for(var c=!0,u=0;u<n.length;u++)(!1&a||i>=a)&&Object.keys(t.O).every((function(e){return t.O[e](n[u])}))?n.splice(u--,1):(c=!1,a<i&&(i=a));if(c){e.splice(l--,1);var s=o();void 0!==s&&(r=s)}}return r}a=a||0;for(var l=e.length;l>0&&e[l-1][2]>a;l--)e[l]=e[l-1];e[l]=[n,o,a]},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,{a:r}),r},t.d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},function(){var e={818:0,8326:0};t.O.j=function(r){return 0===e[r]};var r=function(r,n){var o,a,i=n[0],c=n[1],u=n[2],s=0;if(i.some((function(r){return 0!==e[r]}))){for(o in c)t.o(c,o)&&(t.m[o]=c[o]);if(u)var l=u(t)}for(r&&r(n);s<i.length;s++)a=i[s],t.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return t.O(l)},n=self.webpackChunk_surecart_blocks_next=self.webpackChunk_surecart_blocks_next||[];n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))}();var o=t.O(void 0,[8326],(function(){return t(2853)}));o=t.O(o)}();